build failures with ct-ng
Lance Spaulding
lsjunk1@cableone.net
Fri Sep 5 14:25:00 GMT 2008
I'm running into the following error when I try to use crosstool-ng to
build for arm on a gentoo-based machine:
[INFO ] Installing GMP: done in 179.55s (at 13:22)
[INFO ] =================================================================
[INFO ] Installing MPFR
[EXTRA] Configuring MPFR
[DEBUG] ==> Executing:
'/root/crosstool.armhf/targets/src/mpfr-2.3.1/configure
--build=i686-pc-linux-gnu --host=i686-pc-linux-gnu
--prefix=/root/x-tools/arm-unknown-linux-gnueabi --enable-thread-safe
--disable-shared --enable-static
--with-gmp=/root/x-tools/arm-unknown-linux-gnueabi'
[ALL ] checking for a BSD-compatible install... /usr/bin/install -c
[ALL ] checking whether build environment is sane... yes
[ALL ] checking for gawk... gawk
[ALL ] checking whether make sets $(MAKE)... yes
[ERROR] configure: error: cannot run /bin/sh
/root/crosstool.armhf/targets/src/mpfr-2.3.1/config.sub
[ERROR] Build failed in step 'Installing MPFR'
[ERROR] Error happened in
'/root/crosstool.armhf/lib/ct-ng-1.2.2/scripts/functions' in function
'CT_DoExecLog' (line unknown, sorry)
[ERROR] called from
'/root/crosstool.armhf/lib/ct-ng-1.2.2/scripts/build/mpfr.sh' at line #
53 in function 'do_mpfr'
[ERROR] called from
'/root/crosstool.armhf/lib/ct-ng-1.2.2/scripts/crosstool.sh' at line #
508 in function 'main'
[ERROR] Look at '/root/x-tools/arm-unknown-linux-gnueabi/build.log'
for more info on this error.
[ERROR] (elapsed: 13:23.26)
I was able to build on gentoo earlier this summer so I suspect a
recent emerge caused the problems but I dont know what package is
broken. Anyone have any ideas why config.sub would be missing in
this directory or where to start looking?
Also on a seperate topic, is anyone currently able to build a 4.3.1 based ARM toolchain? I tried (on a suse-based machine) and it fails with the following error:
[ALL ] make[1]: Leaving directory `/root/crosstool.armhf/targets/arm-hard-linux-gnueabi/build/build-cc-core-shared/libdecnumber'
[DEBUG] ==> Executing: 'make -C gcc libgcc.mk'
[ALL ] make[1]: Entering directory `/root/crosstool.armhf/targets/arm-hard-linux-gnueabi/build/build-cc-core-shared/gcc'
[ERROR] make[1]: *** No rule to make target `libgcc.mk'. Stop.
[ALL ] make[1]: Leaving directory `/root/crosstool.armhf/targets/arm-hard-linux-gnueabi/build/build-cc-core-shared/gcc'
[ERROR] Build failed in step 'Installing shared core C compiler'
[ERROR] Error happened in '/root/crosstool.armhf/lib/ct-ng-1.2.2/scripts/functions' in function 'CT_DoExecLog' (line unknown, sorry)
[ERROR] called from '/root/crosstool.armhf/lib/ct-ng-1.2.2/scripts/build/cc_gcc.sh' at line # 180 in function 'do_cc_core_shared'
[ERROR] called from '/root/crosstool.armhf/lib/ct-ng-1.2.2/scripts/build/cc_gcc.sh' at line # 42 in function 'do_cc_core_pass_2'
[ERROR] called from '/root/crosstool.armhf/lib/ct-ng-1.2.2/scripts/crosstool.sh' at line # 508 in function 'main'
[ERROR] Look at '/usr/local/arm-hard-linux-gnueabi/build.log' for more info on this error.
[ERROR] (elapsed: 23:39.27)
Thanks in advance,
Lance
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list