This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Trouble with -frepo -fnew-abi and unresolved symbols


> With -fnew-abi symbols seem to be short enough (great). But now I have
> a problem with missing symbols.

It seems you didn't recompile libstdc++ with -fnew-abi. Two comments
might help:

1. You don't need all features of -fnew-abi; -fsquangle should be
   sufficient (this is the new mangling mechanism).
   Some of the symbols where missing because exception was in
   namespace std in some objects, and global in others.

2. You can turn it on by default with a single change in the source.
   In cp/decl2.c, say

int flag_do_squangling = 1;

You then don't need to pass any special flags during configuration or
compilation of application code. If you find the need to disable it
for a single compilation, you still can pass -fno-squangle.

Please report any bugs you find with squangling.

Hope this helps,
Martin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]