Hi folks,
I'm trying again the bootstrap of GCC on Arndale and it goes pretty well until it has to install libgcc that it just compiled.
When I build first time, I get an error while installing libgcc:
make[4]: Entering directory `/home/linaro/devel/gcc/build/objs/armv7l-unknown-linux-gnueabihf/libgcc' /bin/bash /home/linaro/devel/gcc/src/libgcc/../mkinstalldirs ../.././gcc (...) /bin/bash /home/linaro/devel/gcc/src/libgcc/../mkinstalldirs ../.././gcc; /usr/bin/install -c -m 644 ./libgcc_s.so.1 ../.././gcc/libgcc_s.so.1; rm -f ../.././gcc/libgcc_s.so; /usr/bin/install -c -m 644 ./libgcc_s.so ../.././gcc/libgcc_s.so Live child 0x01dec548 (install-shared) PID 4405 Reaping losing child 0x01dec548 PID 4405 make[4]: *** [install-shared] Error 1
Though, if I run that command by hand, it works...
I then re-ran make and the first point there is an error is on gmp:
This program built for arm-unknown-linux-gnueabihf Reading makefiles... Reading makefile `Makefile'... Reaping losing child 0x01866320 PID 4784 make[3]: *** [config.h] Error 1 Removing child 0x01866320 PID 4784 from chain. make[3]: Leaving directory `/home/linaro/devel/gcc/build/objs/gmp' Need a job token; we have children Duplicate the job FD Live child 0x00ae17f8 (all-stage1-libiberty) PID 4755 Live child 0x00be3508 (all-stage1-gmp) PID 4736 Reaping losing child 0x00be3508 PID 4736 make[2]: *** [all-stage1-gmp] Error 2 Removing child 0x00be3508 PID 4736 from chain. Released token for child 0x00be3508 (all-stage1-gmp). make[2]: *** Waiting for unfinished jobs.... Live child 0x00ae17f8 (all-stage1-libiberty) PID 4755
I can't notice anything wrong on gmp (all objects are there), other than a number of symlinks to a missing directory:
gmp-mparam.h -> /home/linaro/devel/gcc/src/gmp/mpn/generic/gmp-mparam.h
the directory "generic" doesn't exist, and lots of files in "mpn" also point there. Could be a red herring, though.
Any ideas?
cheers, --renato
PS: this doesn't look like an Arndale specific bug, so we might still be able to use them for GCC bootstrapping...
Sorry, I have no idea at the moment. Which sources are you using? Could you check from a GCC release known to build? (although even trunk is supposed to build correctly)
Christophe.
On 25 March 2013 14:26, Renato Golin renato.golin@linaro.org wrote:
Hi folks,
I'm trying again the bootstrap of GCC on Arndale and it goes pretty well until it has to install libgcc that it just compiled.
When I build first time, I get an error while installing libgcc:
make[4]: Entering directory `/home/linaro/devel/gcc/build/objs/armv7l-unknown-linux-gnueabihf/libgcc' /bin/bash /home/linaro/devel/gcc/src/libgcc/../mkinstalldirs ../.././gcc (...) /bin/bash /home/linaro/devel/gcc/src/libgcc/../mkinstalldirs ../.././gcc; /usr/bin/install -c -m 644 ./libgcc_s.so.1 ../.././gcc/libgcc_s.so.1; rm -f ../.././gcc/libgcc_s.so; /usr/bin/install -c -m 644 ./libgcc_s.so ../.././gcc/libgcc_s.so Live child 0x01dec548 (install-shared) PID 4405 Reaping losing child 0x01dec548 PID 4405 make[4]: *** [install-shared] Error 1
Though, if I run that command by hand, it works...
I then re-ran make and the first point there is an error is on gmp:
This program built for arm-unknown-linux-gnueabihf Reading makefiles... Reading makefile `Makefile'... Reaping losing child 0x01866320 PID 4784 make[3]: *** [config.h] Error 1 Removing child 0x01866320 PID 4784 from chain. make[3]: Leaving directory `/home/linaro/devel/gcc/build/objs/gmp' Need a job token; we have children Duplicate the job FD Live child 0x00ae17f8 (all-stage1-libiberty) PID 4755 Live child 0x00be3508 (all-stage1-gmp) PID 4736 Reaping losing child 0x00be3508 PID 4736 make[2]: *** [all-stage1-gmp] Error 2 Removing child 0x00be3508 PID 4736 from chain. Released token for child 0x00be3508 (all-stage1-gmp). make[2]: *** Waiting for unfinished jobs.... Live child 0x00ae17f8 (all-stage1-libiberty) PID 4755
I can't notice anything wrong on gmp (all objects are there), other than a number of symlinks to a missing directory:
gmp-mparam.h -> /home/linaro/devel/gcc/src/gmp/mpn/generic/gmp-mparam.h
the directory "generic" doesn't exist, and lots of files in "mpn" also point there. Could be a red herring, though.
Any ideas?
cheers, --renato
PS: this doesn't look like an Arndale specific bug, so we might still be able to use them for GCC bootstrapping...
linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain
On 25 March 2013 13:37, Christophe Lyon christophe.lyon@linaro.org wrote:
Sorry, I have no idea at the moment. Which sources are you using? Could you check from a GCC release known to build? (although even trunk is supposed to build correctly)
Trunk at some time a few weeks ago. :/ (commit 5f9b0c453c2e426afe451c003daa000cbc3174a4)
+2013-03-13 Paolo Carlini paolo.carlini@oracle.com + + * g++.dg/cpp0x/alias-decl-32.C: Remove redundant bits. +
If that helps anything...
I don't think the source is broken... My script to build is attached.
cheers, --renato
Please add "--with-float=hard" in your configure.
Best regards! -Zhenqiang
On 25 March 2013 22:18, Renato Golin renato.golin@linaro.org wrote:
On 25 March 2013 13:37, Christophe Lyon christophe.lyon@linaro.org wrote:
Sorry, I have no idea at the moment. Which sources are you using? Could you check from a GCC release known to build? (although even trunk is supposed to build correctly)
Trunk at some time a few weeks ago. :/ (commit 5f9b0c453c2e426afe451c003daa000cbc3174a4)
+2013-03-13 Paolo Carlini paolo.carlini@oracle.com
* g++.dg/cpp0x/alias-decl-32.C: Remove redundant bits.
If that helps anything...
I don't think the source is broken... My script to build is attached.
cheers, --renato
linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain
linaro-toolchain@lists.linaro.org