Avoid use of libgcc_s and libgcc_eh when building glibc

Mike Frysinger vapier@gentoo.org
Wed Aug 15 15:30:00 GMT 2012


On Wednesday 15 August 2012 05:46:52 Joseph S. Myers wrote:
> On Tue, 14 Aug 2012, Khem Raj wrote:
> > if I change the order of stub library and libgcc then it works fine
> > may be it needs to be $(static-gnulib-arch) -lgcc
> > $(static-gnulib-arch) but below patch worked for me.
> 
> The issue you describe is supposed to be addressed by
> ports/sysdeps/arm/static-stubs.c (see
> <http://sourceware.org/ml/libc-ports/2012-07/msg00013.html> for more
> explanation) so you need to investigate why the symbols aren't being
> resolved by that file for you.

maybe Khem is using the gold linker which implies --as-needed which means an 
incorrect linking order could be the bug (as earlier items get discarded as 
unused) ?
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20120815/90cafcef/attachment.sig>


More information about the Libc-alpha mailing list