------- Comment #3 from dv at vollmann dot ch  2010-07-24 13:35 -------
Subject: Re:  libgcc_s link command misses crtsavgpr_s
 and crtresgpr_s for powerpc

On 07/24/10 15:22, mikpe at it dot uu dot se wrote:
> ------- Comment #2 from mikpe at it dot uu dot se  2010-07-24 13:22 -------
> The build on some targets including powerpc is supposed to create libgcc_s.so
> as a linker script that inputs BOTH the real shared libgcc_s.so and the static
> libgcc.a, as some symbols are only defined in the static libgcc.  Please make
> sure that you're preserving this linker script when installing gcc.
> 
> If you want to backport PR41175 to 4.4 then you also need to backport
> config.gcc changes related to the powerpc linker script from r151568.
> 
> (ARM has the same issue.  No I'm not responsible for this misdesign.)
> 
> 
This is not an issue of the linker script, as the linker script
doesn't give a DSO (correctly) access to hidden symbols in another
library of the same group.
You relly need to link those objects into libgcc_s, as those symbols
aren't fit for calling through dynamic symbol lookup.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45053

Reply via email to