This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Avoid use of libgcc_s and libgcc_eh when building glibc


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

Attachment: signature.asc
Description: This is a digitally signed message part.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]