This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Trouble with -frepo -fnew-abi and unresolved symbols
- To: matthias at ica1 dot uni-stuttgart dot de
- Subject: Re: Trouble with -frepo -fnew-abi and unresolved symbols
- From: Martin von Loewis <martin at mira dot isdn dot cs dot tu-berlin dot de>
- Date: Sat, 5 Sep 1998 20:32:32 +0200
- CC: egcs at cygnus dot com
- References: <199809041708.TAA27991@anaconda.ica1.uni-stuttgart.de>
> 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