Trouble with -frepo -fnew-abi and unresolved symbols

Martin von Loewis martin@mira.isdn.cs.tu-berlin.de
Sat Sep 5 20:30:00 GMT 1998


> 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



More information about the Gcc mailing list