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: PowerPC32 .gnu.attributes in crt files


On Fri, 18 Feb 2011, Alan Modra wrote:

> This unfortunately results in crt1.o, crti.o etc. being marked as
> incompatible with soft float;  The linker warns when building any
> soft float binary, and because crt1.o is usually the first file
> linked, builds the binary with an incorrect attribute.  Up until now,
> I'd fixed my own system by simply stripping the attribute section from
> /usr/lib/*crt*.o, but a system update reminded me that I should really
> fix this upstream.

If you want to build soft-float binaries, you need a sysroot with a 
soft-float build of glibc; soft-float is also incompatible with the 
hard-float shared libc.  Do you really have a use case where you want to 
use glibc's crt*.o files but no other static or shared libraries from 
glibc?

-- 
Joseph S. Myers
joseph@codesourcery.com


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