#20212: toolchain build problems in trunk
-------------------------+------------------------
Reporter: christian@… | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone:
Component: toolchain | Version: Trunk
Keywords: |
-------------------------+------------------------
with a fresh debian and openwrt trunk@46506
{{{
foo@openwrt-debian:~/openwrt$ make -j1 V=s
make[1]: Entering directory '/home/foo/openwrt'
make[2]: Entering directory '/home/foo/openwrt'
+ mkdir -p /home/foo/openwrt/staging_dir/target-mips_34kc_musl-1.1.10
+ cd /home/foo/openwrt/staging_dir/target-mips_34kc_musl-1.1.10
+ mkdir -p bin lib include stamp
mkdir -p /home/foo/openwrt/build_dir/target-mips_34kc_musl-1.1.10/stamp
touch /home/foo/openwrt/staging_dir/target-mips_34kc_musl-1.1.10/.prepared
make[3]: Entering directory '/home/foo/openwrt/toolchain/gdb'
make[3]: Nothing to be done for 'prepare'.
make[3]: Leaving directory '/home/foo/openwrt/toolchain/gdb'
make[3]: Entering directory '/home/foo/openwrt/toolchain/gdb'
make[3]: Nothing to be done for 'compile'.
make[3]: Leaving directory '/home/foo/openwrt/toolchain/gdb'
make[3]: Entering directory '/home/foo/openwrt/toolchain/gdb'
make[3]: Nothing to be done for 'install'.
make[3]: Leaving directory '/home/foo/openwrt/toolchain/gdb'
make[3]: Entering directory '/home/foo/openwrt/toolchain/binutils'
make[3]: Nothing to be done for 'prepare'.
make[3]: Leaving directory '/home/foo/openwrt/toolchain/binutils'
make[3]: Entering directory '/home/foo/openwrt/toolchain/binutils'
make[3]: Nothing to be done for 'compile'.
make[3]: Leaving directory '/home/foo/openwrt/toolchain/binutils'
make[3]: Entering directory '/home/foo/openwrt/toolchain/binutils'
make[3]: Nothing to be done for 'install'.
make[3]: Leaving directory '/home/foo/openwrt/toolchain/binutils'
make[3]: Entering directory '/home/foo/openwrt/toolchain/gcc/minimal'
make[3]: Nothing to be done for 'prepare'.
make[3]: Leaving directory '/home/foo/openwrt/toolchain/gcc/minimal'
make[3]: Entering directory '/home/foo/openwrt/toolchain/gcc/minimal'
export SHELL="bash"; make CFLAGS="-O2
-I/home/foo/openwrt/staging_dir/host/include
-I/home/foo/openwrt/staging_dir/host/usr/include" CFLAGS_FOR_TARGET="-Os
-pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-
copts -Wno-error=unused-but-set-variable -msoft-float"
CXXFLAGS_FOR_TARGET="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc
-fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable
-msoft-float" -C /home/foo/openwrt/build_dir/toolchain-
mips_34kc_gcc-4.8-linaro_musl-1.1.10/gcc-linaro-4.8-2014.04-minimal all-
gcc all-target-libgcc
make[4]: Entering directory '/home/foo/openwrt/build_dir/toolchain-
mips_34kc_gcc-4.8-linaro_musl-1.1.10/gcc-linaro-4.8-2014.04-minimal'
make[5]: Entering directory '/home/foo/openwrt/build_dir/toolchain-
mips_34kc_gcc-4.8-linaro_musl-1.1.10/gcc-
linaro-4.8-2014.04-minimal/libiberty'
make[6]: Entering directory '/home/foo/openwrt/build_dir/toolchain-
mips_34kc_gcc-4.8-linaro_musl-1.1.10/gcc-
linaro-4.8-2014.04-minimal/libiberty/testsuite'
make[6]: Nothing to be done for 'all'.
make[6]: Leaving directory '/home/foo/openwrt/build_dir/toolchain-
mips_34kc_gcc-4.8-linaro_musl-1.1.10/gcc-
linaro-4.8-2014.04-minimal/libiberty/testsuite'
make[5]: Leaving directory '/home/foo/openwrt/build_dir/toolchain-
mips_34kc_gcc-4.8-linaro_musl-1.1.10/gcc-
linaro-4.8-2014.04-minimal/libiberty'
make[5]: Entering directory '/home/foo/openwrt/build_dir/toolchain-
mips_34kc_gcc-4.8-linaro_musl-1.1.10/gcc-linaro-4.8-2014.04-minimal/lto-
plugin'
make all-am
make[6]: Entering directory '/home/foo/openwrt/build_dir/toolchain-
mips_34kc_gcc-4.8-linaro_musl-1.1.10/gcc-linaro-4.8-2014.04-minimal/lto-
plugin'
make[6]: Leaving directory '/home/foo/openwrt/build_dir/toolchain-
mips_34kc_gcc-4.8-linaro_musl-1.1.10/gcc-linaro-4.8-2014.04-minimal/lto-
plugin'
make[5]: Leaving directory '/home/foo/openwrt/build_dir/toolchain-
mips_34kc_gcc-4.8-linaro_musl-1.1.10/gcc-linaro-4.8-2014.04-minimal/lto-
plugin'
make[5]: Entering directory '/home/foo/openwrt/build_dir/toolchain-
mips_34kc_gcc-4.8-linaro_musl-1.1.10/gcc-linaro-4.8-2014.04-minimal/intl'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/foo/openwrt/build_dir/toolchain-
mips_34kc_gcc-4.8-linaro_musl-1.1.10/gcc-linaro-4.8-2014.04-minimal/intl'
make[5]: Entering directory '/home/foo/openwrt/build_dir/toolchain-
mips_34kc_gcc-4.8-linaro_musl-1.1.10/gcc-linaro-4.8-2014.04-minimal/build-
x86_64-linux-gnu/libiberty'
make[6]: Entering directory '/home/foo/openwrt/build_dir/toolchain-
mips_34kc_gcc-4.8-linaro_musl-1.1.10/gcc-linaro-4.8-2014.04-minimal/build-
x86_64-linux-gnu/libiberty/testsuite'
make[6]: Nothing to be done for 'all'.
make[6]: Leaving directory '/home/foo/openwrt/build_dir/toolchain-
mips_34kc_gcc-4.8-linaro_musl-1.1.10/gcc-linaro-4.8-2014.04-minimal/build-
x86_64-linux-gnu/libiberty/testsuite'
make[5]: Leaving directory '/home/foo/openwrt/build_dir/toolchain-
mips_34kc_gcc-4.8-linaro_musl-1.1.10/gcc-linaro-4.8-2014.04-minimal/build-
x86_64-linux-gnu/libiberty'
make[5]: Entering directory '/home/foo/openwrt/build_dir/toolchain-
mips_34kc_gcc-4.8-linaro_musl-1.1.10/gcc-linaro-4.8-2014.04-minimal/build-
x86_64-linux-gnu/fixincludes'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/foo/openwrt/build_dir/toolchain-
mips_34kc_gcc-4.8-linaro_musl-1.1.10/gcc-linaro-4.8-2014.04-minimal/build-
x86_64-linux-gnu/fixincludes'
make[5]: Entering directory '/home/foo/openwrt/build_dir/toolchain-
mips_34kc_gcc-4.8-linaro_musl-1.1.10/gcc-linaro-4.8-2014.04-minimal/zlib'
true "AR_FLAGS=rc" "CC_FOR_BUILD=x86_64-linux-gnu-gcc" "CFLAGS=-O2
-I/home/foo/openwrt/staging_dir/host/include
-I/home/foo/openwrt/staging_dir/host/usr/include" "CXXFLAGS=-g -O2"
"CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=-Os -pipe -mno-branch-likely
-mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-
but-set-variable -msoft-float" "INSTALL=/usr/bin/install -c"
"INSTALL_DATA=/usr/bin/install -c -m 644"
"INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c"
"LDFLAGS=" "LIBCFLAGS=-O2 -I/home/foo/openwrt/staging_dir/host/include
-I/home/foo/openwrt/staging_dir/host/usr/include"
"LIBCFLAGS_FOR_TARGET=-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc
-fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable
-msoft-float" "MAKE=make" "MAKEINFO=/home/foo/openwrt/build_dir/toolchain-
mips_34kc_gcc-4.8-linaro_musl-1.1.10/gcc-linaro-4.8-2014.04/missing
makeinfo --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET="
"SHELL=/bin/bash" "EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS="
"exec_prefix=/home/foo/openwrt/staging_dir/toolchain-
mips_34kc_gcc-4.8-linaro_musl-1.1.10"
"infodir=/home/foo/openwrt/staging_dir/toolchain-
mips_34kc_gcc-4.8-linaro_musl-1.1.10/share/info"
"libdir=/home/foo/openwrt/staging_dir/toolchain-
mips_34kc_gcc-4.8-linaro_musl-1.1.10/lib"
"prefix=/home/foo/openwrt/staging_dir/toolchain-
mips_34kc_gcc-4.8-linaro_musl-1.1.10"
"tooldir=/home/foo/openwrt/staging_dir/toolchain-
mips_34kc_gcc-4.8-linaro_musl-1.1.10/mips-openwrt-linux-musl" "AR=x86_64
-linux-gnu-ar" "AS=x86_64-linux-gnu-as" "CC=x86_64-linux-gnu-gcc"
"CXX=x86_64-linux-gnu-g++" "LD=x86_64-linux-gnu-ld" "LIBCFLAGS=-O2
-I/home/foo/openwrt/staging_dir/host/include
-I/home/foo/openwrt/staging_dir/host/usr/include" "NM=x86_64-linux-gnu-nm"
"PICFLAG=" "RANLIB=x86_64-linux-gnu-ranlib" "DESTDIR=" DO=all multi-do #
make
make[5]: Leaving directory '/home/foo/openwrt/build_dir/toolchain-
mips_34kc_gcc-4.8-linaro_musl-1.1.10/gcc-linaro-4.8-2014.04-minimal/zlib'
make[5]: Entering directory '/home/foo/openwrt/build_dir/toolchain-
mips_34kc_gcc-4.8-linaro_musl-1.1.10/gcc-
linaro-4.8-2014.04-minimal/libbacktrace'
make all-am
make[6]: Entering directory '/home/foo/openwrt/build_dir/toolchain-
mips_34kc_gcc-4.8-linaro_musl-1.1.10/gcc-
linaro-4.8-2014.04-minimal/libbacktrace'
true DO=all multi-do # make
make[6]: Leaving directory '/home/foo/openwrt/build_dir/toolchain-
mips_34kc_gcc-4.8-linaro_musl-1.1.10/gcc-
linaro-4.8-2014.04-minimal/libbacktrace'
make[5]: Leaving directory '/home/foo/openwrt/build_dir/toolchain-
mips_34kc_gcc-4.8-linaro_musl-1.1.10/gcc-
linaro-4.8-2014.04-minimal/libbacktrace'
make[5]: Entering directory '/home/foo/openwrt/build_dir/toolchain-
mips_34kc_gcc-4.8-linaro_musl-1.1.10/gcc-
linaro-4.8-2014.04-minimal/libcpp'
test -f config.h || (rm -f stamp-h1 && make stamp-h1)
make[5]: Leaving directory '/home/foo/openwrt/build_dir/toolchain-
mips_34kc_gcc-4.8-linaro_musl-1.1.10/gcc-
linaro-4.8-2014.04-minimal/libcpp'
make[5]: Entering directory '/home/foo/openwrt/build_dir/toolchain-
mips_34kc_gcc-4.8-linaro_musl-1.1.10/gcc-
linaro-4.8-2014.04-minimal/libdecnumber'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/foo/openwrt/build_dir/toolchain-
mips_34kc_gcc-4.8-linaro_musl-1.1.10/gcc-
linaro-4.8-2014.04-minimal/libdecnumber'
make[5]: Entering directory '/home/foo/openwrt/build_dir/toolchain-
mips_34kc_gcc-4.8-linaro_musl-1.1.10/gcc-
linaro-4.8-2014.04-minimal/fixincludes'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/foo/openwrt/build_dir/toolchain-
mips_34kc_gcc-4.8-linaro_musl-1.1.10/gcc-
linaro-4.8-2014.04-minimal/fixincludes'
make[5]: Entering directory '/home/foo/openwrt/build_dir/toolchain-
mips_34kc_gcc-4.8-linaro_musl-1.1.10/gcc-linaro-4.8-2014.04-minimal/gcc'
build/genattrtab /home/foo/openwrt/build_dir/toolchain-
mips_34kc_gcc-4.8-linaro_musl-1.1.10/gcc-
linaro-4.8-2014.04/gcc/config/mips/mips.md insn-conditions.md \
-Atmp-attrtab.c -Dtmp-dfatab.c -Ltmp-latencytab.c
Makefile:3583: recipe for target 's-attrtab' failed
make[5]: *** [s-attrtab] Killed
make[5]: Leaving directory '/home/foo/openwrt/build_dir/toolchain-
mips_34kc_gcc-4.8-linaro_musl-1.1.10/gcc-linaro-4.8-2014.04-minimal/gcc'
Makefile:3892: recipe for target 'all-gcc' failed
make[4]: *** [all-gcc] Error 2
make[4]: Leaving directory '/home/foo/openwrt/build_dir/toolchain-
mips_34kc_gcc-4.8-linaro_musl-1.1.10/gcc-linaro-4.8-2014.04-minimal'
Makefile:46: recipe for target '/home/foo/openwrt/build_dir/toolchain-
mips_34kc_gcc-4.8-linaro_musl-1.1.10/gcc-
linaro-4.8-2014.04-minimal/.built' failed
make[3]: *** [/home/foo/openwrt/build_dir/toolchain-
mips_34kc_gcc-4.8-linaro_musl-1.1.10/gcc-
linaro-4.8-2014.04-minimal/.built] Error 2
make[3]: Leaving directory '/home/foo/openwrt/toolchain/gcc/minimal'
toolchain/Makefile:81: recipe for target 'toolchain/gcc/minimal/compile'
failed
make[2]: *** [toolchain/gcc/minimal/compile] Error 2
make[2]: Leaving directory '/home/foo/openwrt'
toolchain/Makefile:80: recipe for target '/home/foo/openwrt/staging_dir
/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.10/stamp/.toolchain_install'
failed
make[1]: *** [/home/foo/openwrt/staging_dir/toolchain-
mips_34kc_gcc-4.8-linaro_musl-1.1.10/stamp/.toolchain_install] Error 2
make[1]: Leaving directory '/home/foo/openwrt'
/home/foo/openwrt/include/toplevel.mk:181: recipe for target 'world'
failed
make: *** [world] Error 2
}}}
--
Ticket URL: <https://dev.openwrt.org/ticket/20212>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets