This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Make libgcc.a symbols .hidden
- From: Richard Henderson <rth at redhat dot com>
- To: Krister Walfridsson <cato at df dot lth dot se>
- Cc: Jakub Jelinek <jakub at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Sun, 3 Mar 2002 09:50:54 -0800
- Subject: Re: [PATCH] Make libgcc.a symbols .hidden
- References: <20020226184219.V2204@sunsite.ms.mff.cuni.cz> <Pine.SOL.4.32.0203031630310.17774-100000@igloo.df.lth.se>
On Sun, Mar 03, 2002 at 04:32:36PM +0100, Krister Walfridsson wrote:
> The .hidden changes to mklibgcc.in gives me nearly 1000 unexpected C++
> failures for i386-unknown-netbsdelf1.5ZA (and from reading the gcc-
> testresults list it looks like more targets have problems.)
>
> About 900 of the failures comes from crtbegin.o not finding
> __register_frame_info. I tried to fix this by not hiding symbols
> having "register_frame" in their name, but there are still > 100
> failures where the run-time link-editor complains that libstdc++.so.4
> has an undefined symbol _Unwind_RaiseException...
That would be very strange, since __register_frame_info and
_Unwind_RaiseException are in libgcc_eh.a, and all of the
symbols that are hidden are in libgcc.a.
You'll need to dig more to figure out what's up.
BTW, are you building a shared libgcc at all?
r~