gcc 4.5 and powerpc: cannot link
Titus von Boxberg
titus@v9g.de
Sun May 16 18:24:00 GMT 2010
All,
I'm trying to use CT-NG for creating a cross gcc4.5 for powerpc.
It fails when compiling the final compiler during configuration of libgomp,
complaining that the compiler cannot create executables.
------
configure:3680: /Users/titus/tmp/ctng-ppc/targets/powerpc-unknown-linux-gnu/build/build-cc/./gcc/xgcc -B/Users/titus/tmp/ctng-ppc/targets/powerpc-unknown-linux-gnu/build/build-cc/./gcc/ -B/Volumes/HD2/x-tools/powerpc-unknown-linux-gnu/powerpc-unknown-linux-gnu/bin/ -B/Volumes/HD2/x-tools/powerpc-unknown-linux-gnu/powerpc-unknown-linux-gnu/lib/ -isystem /Volumes/HD2/x-tools/powerpc-unknown-linux-gnu/powerpc-unknown-linux-gnu/include -isystem /Volumes/HD2/x-tools/powerpc-unknown-linux-gnu/powerpc-unknown-linux-gnu/sys-include -g -Os conftest.c >&5
/Users/titus/tmp/ctng-ppc/targets/powerpc-unknown-linux-gnu/build/build-cc/./gcc/crtend.o: In function `__do_global_ctors_aux':
crtstuff.c:(.text+0xc): undefined reference to `_savegpr_31'
collect2: ld returned 1 exit status
configure:3684: $? = 1
------
conftest.c contains only main() { return 0; }
It seems to me that I encounter this bug (with libgcc.a?)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43810
Is anyone already experienced with this and has a workaround or an explanation?
Thanks and regards
Titus
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list