Modify

Opened 7 years ago

Closed 7 years ago

Last modified 4 years ago

#8081 closed defect (duplicate)

Parallel build fails while building toolchain

Reported by: Jonathan Bennett <jbscience87@…> Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: toolchain Version: Trunk
Keywords: Parallel build Cc:

Description

This isn't a show-stopper, just an annoyance. after running 'make distclean' (or checking out a totally fresh copy of the source) 'Make -j5' fails. Running 'Make -j5' again succeeds. Here's the first error:

...
make[7]: Entering directory `/home/oneru/openwrt/trunk/build_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/binutils-2.19.1/libiberty/testsuite'
make[7]: Nothing to be done for `install'.
make[7]: Leaving directory `/home/oneru/openwrt/trunk/build_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/binutils-2.19.1/libiberty/testsuite'
make[6]: Leaving directory `/home/oneru/openwrt/trunk/build_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/binutils-2.19.1/libiberty'
make[5]: Nothing to be done for `install-target'.
make[5]: Leaving directory `/home/oneru/openwrt/trunk/build_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/binutils-2.19.1'
make[4]: Leaving directory `/home/oneru/openwrt/trunk/build_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/binutils-2.19.1'
cp -fpR /home/oneru/openwrt/trunk/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/bin/mipsel-openwrt-linux-uclibc-readelf /home/oneru/openwrt/trunk/staging_dir/host/bin/readelf
mkdir -p /home/oneru/openwrt/trunk/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/stamp
touch /home/oneru/openwrt/trunk/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/stamp/.binutils_installed
make[3]: Leaving directory `/home/oneru/openwrt/trunk/toolchain/binutils'
100%[===================================================================================================================>] 59,369,954  76.1K/s   in 13m 2s  

82% [==============================================================================================>                     ] 55,711,600   116K/s  eta 2m 48s  2010-10-14 14:33:00 (74.1 KB/s) - written to stdout [59369954]

mkdir -p /home/oneru/openwrt/trunk/build_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/gcc-4.3.3-initial
touch /home/oneru/openwrt/trunk/build_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/gcc-4.3.3-initial/.prepared
make[3]: Leaving directory `/home/oneru/openwrt/trunk/toolchain/gcc/initial'
100%[===================================================================================================================>] 59,369,954   116K/s   in 13m 37s 

94% [=============================================================================================================>      ] 56,338,800   114K/s  eta 45s     2010-10-14 14:33:34 (71.0 KB/s) - written to stdout [59369954]

cat: /home/oneru/openwrt/trunk/dl/gcc-4.3.3.tar.bz2.md5sum: No such file or directory
Could not generate md5sum
make[3]: *** [/home/oneru/openwrt/trunk/dl/gcc-4.3.3.tar.bz2] Error 1
make[3]: Leaving directory `/home/oneru/openwrt/trunk/toolchain/gcc/minimal'
make[2]: *** [toolchain/gcc/minimal/prepare] Error 2
make[2]: *** Waiting for unfinished jobs....
100%[===================================================================================================================>] 59,369,954  95.9K/s   in 14m 6s  

97% [================================================================================================================>   ] 66,242,400   207K/s  eta 20s     2010-10-14 14:34:03 (68.5 KB/s) - written to stdout [59369954]

cat: /home/oneru/openwrt/trunk/dl/gcc-4.3.3.tar.bz2.md5sum: No such file or directory
Could not generate md5sum
make[3]: *** [/home/oneru/openwrt/trunk/dl/gcc-4.3.3.tar.bz2] Error 1
make[3]: Leaving directory `/home/oneru/openwrt/trunk/toolchain/gcc/final'
make[2]: *** [toolchain/gcc/final/prepare] Error 2
100%[===================================================================================================================>] 67,666,872   302K/s   in 14m 12s 

2010-10-14 14:34:08 (77.6 KB/s) - written to stdout [67666872]

bzcat /home/oneru/openwrt/trunk/dl/linux-2.6.34.7.tar.bz2 | /bin/gtar -C /home/oneru/openwrt/trunk/build_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1 -xf -
rm -rf /home/oneru/openwrt/trunk/build_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/linux-2.6.34.7/patches; mkdir -p /home/oneru/openwrt/trunk/build_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/linux-2.6.34.7/patches
cp -fpR "/home/oneru/openwrt/trunk/target/linux/generic/files"/. /home/oneru/openwrt/trunk/build_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/linux-2.6.34.7/
find /home/oneru/openwrt/trunk/build_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/linux-2.6.34.7/ -name \*.rej -or -name \*.orig | xargs -r rm -f

Applying /home/oneru/openwrt/trunk/target/linux/generic/patches-2.6.34/006-squashfs_add_lzma.patch using plaintext: 
patching file fs/squashfs/Kconfig
patching file fs/squashfs/Makefile
patching file fs/squashfs/decompressor.c
patching file fs/squashfs/lzma_wrapper.c
patching file fs/squashfs/squashfs.h
...

As I said, it's only while building the toolchain, and only while using the -j5 option.

Attachments (0)

Change History (2)

comment:1 Changed 7 years ago by jow

  • Resolution set to duplicate
  • Status changed from new to closed

see #8596

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.