This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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: [CT 0.28rc28]: undefined reference to `i_am_not_a_leaf'


/powerpc-405-linux-gnu/gcc-3.4.0-glibc-2.2.5/build-glibc/csu/crtn.o
/root/crosstool-0.28-rc28/build/powerpc-405-linux-gnu/gcc-3.4.0-glibc-2.2.5/build-glibc/linuxthreads/libpthread.so:
undefined reference to `i_am_not_a_leaf'

So I just added the "-fno-unit-at-a-time" parameter to the list, as well:
This is precisely what my patch intended to do, but not for *all*
source files, only for initfini.c.  I only misread your glibc version,
sorry. ;)

I've attempted to backport glibc-2.3.2-allow-gcc-3.4-nounit.patch to
apply to glibc 2.2.5, can you please try the following patches?

http://www.andric.com/cross/patches/glibc-2.2.5-allow-gcc-3.4-nounit.patch.bz2
http://www.andric.com/cross/patches/glibc-linuxthreads-2.2.5-allow-gcc-3.4-nounit.patch.bz2
The files were patched successfully - now I'll just have to wait on the compilation result...

Regards,
 Martin



------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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