Failure while building powerpc64-unknown-linux-gnu
venetis@mail.capsl.udel.edu
venetis@mail.capsl.udel.edu
Thu Jul 15 18:26:00 GMT 2010
Hello everyone,
I am trying to build a cross-chain for powerpc64-unknown-linux-gnu with
the versions of the tools for this architecture as described here:
http://ymorin.is-a-geek.org/projects/crosstool
(kernel 2.6.31.13, binutils 2.19.1, gcc 4.3.2, glibc 2.9)
I tried with crosstool-ng 1.7.0, 1.7.1 and from the current trunk. The
build of the cross-chain always stops at the same point when "Installing C
library". The build log says:
[ALL ] powerpc64-unknown-linux-gnu-ranlib
/opt/crosstool-ng/targets_powerpc64-unknown-linux-gnu/powerpc64-unknown-linux-gnu/build/build-libc/libc_pic.a
[ALL ] powerpc64-unknown-linux-gnu-gcc -nostdlib -nostartfiles
-r -o
/opt/crosstool-ng/targets_powerpc64-unknown-linux-gnu/powerpc64-unknown-linux-gnu/build/build-libc/elf/librtld.map.o
'-Wl,-('
/opt/crosstool-ng/targets_powerpc64-unknown-linux-gnu/powerpc64-unknown-linux-gnu/build/build-libc/elf/dl-allobjs.os
/opt/crosstool-ng/targets_powerpc64-unknown-linux-gnu/powerpc64-unknown-linux-gnu/build/build-libc/libc_pic.a
-lgcc '-Wl,-)'
-Wl,-Map,/opt/crosstool-ng/targets_powerpc64-unknown-linux-gnu/powerpc64-unknown-linux-gnu/build/build-libc/elf/librtld.mapT
[ALL ]
/opt/crosstool-ng/targets_powerpc64-unknown-linux-gnu/powerpc64-unknown-linux-gnu/build/gcc-core-shared/lib/gcc/powerpc64-unknown-linux-gnu/4.3.2/../../../../powerpc64-unknown-linux-gnu/bin/ld:
cannot find -lgcc
[ALL ] collect2: ld returned 1 exit status
[ERROR] make[3]: ***
[/opt/crosstool-ng/targets_powerpc64-unknown-linux-gnu/powerpc64-unknown-linux-gnu/build/build-libc/elf/librtld.map]
Error 1
[ALL ] make[3]: Leaving directory
`/opt/crosstool-ng/targets_powerpc64-unknown-linux-gnu/src/glibc-2.9/elf'
[ERROR] make[2]: *** [elf/subdir_lib] Error 2
[ALL ] make[2]: Leaving directory
`/opt/crosstool-ng/targets_powerpc64-unknown-linux-gnu/src/glibc-2.9'
[ERROR] make[1]: *** [all] Error 2
[ALL ] make[1]: Leaving directory
`/opt/crosstool-ng/targets_powerpc64-unknown-linux-gnu/powerpc64-unknown-linux-gnu/build/build-libc'
[ERROR] Build failed in step 'Installing C library'
[ERROR] Error happened in
'/root/Downloads/crosstool-ng-1.7.0/scripts/functions' in function
'CT_DoExecLog' (line unknown, sorry)
[ERROR] called from
'/root/Downloads/crosstool-ng-1.7.0/scripts/build/libc/glibc.sh' at line #
483 in function 'do_libc'
[ERROR] called from
'/root/Downloads/crosstool-ng-1.7enet.0/scripts/crosstool-NG.sh' at line #
578 in function 'main'
[ERROR] Look at
'/opt/crosstool-ng/powerpc64-unknown-linux-gnu/build.log' for more info on
this error.
The weird thing is that with the exact same configuration the 32-bit
cross-chain build without a problem (powerpc-unknown-linux-gnu).
The machine where I am trying to build the cross-chain runs the x86-64
version of Fedora 13.
Any hint what might be going wrong?
Ioannis E. Venetis
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list