PowerPC32 .gnu.attributes in crt files
Joseph S. Myers
joseph@codesourcery.com
Thu Feb 17 18:06:00 GMT 2011
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
More information about the Libc-alpha
mailing list