Modify

Opened 18 months ago

#23017 new defect

openwrt Build failed - make: *** [world] Error 2

Reported by: michael.wulz@… Owned by: developers
Priority: normal Milestone:
Component: toolchain Version: Trunk
Keywords: toolchain compile error Cc:

Description

Compiling openwrt failed:

$ make world
 make[1] world
 make[2] toolchain/install
 make[3] -C toolchain/gdb prepare
 make[3] -C toolchain/gdb compile
 make[3] -C toolchain/gdb install
 make[3] -C toolchain/binutils prepare
 make[3] -C toolchain/binutils compile
 make[3] -C toolchain/binutils install
 make[3] -C toolchain/gcc/minimal prepare
 make[3] -C toolchain/gcc/minimal compile
 make[3] -C toolchain/gcc/minimal install
 make[3] -C toolchain/kernel-headers prepare
 make[3] -C toolchain/kernel-headers compile
 make[3] -C toolchain/kernel-headers install
 make[3] -C toolchain/musl/headers prepare
 make[3] -C toolchain/musl/headers compile
 make[3] -C toolchain/musl/headers install
 make[3] -C toolchain/gcc/initial prepare
 make[3] -C toolchain/gcc/initial compile
 make[3] -C toolchain/gcc/initial install
 make[3] -C toolchain/musl prepare
 make[3] -C toolchain/musl compile
 make[3] -C toolchain/musl install
 make[3] -C toolchain/gcc/final prepare
 make[3] -C toolchain/gcc/final compile
make -r world: build failed. Please re-run make with -j1 V=s to see what's going on
make: *** [world] Error 1

with V=s:

$ make -j1 V=s
make[1]: Entering directory `/src/openwrt/openwrt'
make[2]: Entering directory `/src/openwrt/openwrt'
+ mkdir -p /src/openwrt/openwrt/staging_dir/target-mips_34kc_musl-1.1.14
+ cd /src/openwrt/openwrt/staging_dir/target-mips_34kc_musl-1.1.14
+ mkdir -p bin lib include stamp
mkdir -p /src/openwrt/openwrt/build_dir/target-mips_34kc_musl-1.1.14/stamp
touch /src/openwrt/openwrt/staging_dir/target-mips_34kc_musl-1.1.14/.prepared
make[3]: Entering directory `/src/openwrt/openwrt/toolchain/gdb'
make[3]: Nothing to be done for `prepare'.
make[3]: Leaving directory `/src/openwrt/openwrt/toolchain/gdb'
make[3]: Entering directory `/src/openwrt/openwrt/toolchain/gdb'
make[3]: Nothing to be done for `compile'.
make[3]: Leaving directory `/src/openwrt/openwrt/toolchain/gdb'
make[3]: Entering directory `/src/openwrt/openwrt/toolchain/gdb'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/src/openwrt/openwrt/toolchain/gdb'
make[3]: Entering directory `/src/openwrt/openwrt/toolchain/binutils'
make[3]: Nothing to be done for `prepare'.
make[3]: Leaving directory `/src/openwrt/openwrt/toolchain/binutils'
make[3]: Entering directory `/src/openwrt/openwrt/toolchain/binutils'
make[3]: Nothing to be done for `compile'.
make[3]: Leaving directory `/src/openwrt/openwrt/toolchain/binutils'
make[3]: Entering directory `/src/openwrt/openwrt/toolchain/binutils'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/src/openwrt/openwrt/toolchain/binutils'
make[3]: Entering directory `/src/openwrt/openwrt/toolchain/gcc/minimal'
make[3]: Nothing to be done for `prepare'.
make[3]: Leaving directory `/src/openwrt/openwrt/toolchain/gcc/minimal'
make[3]: Entering directory `/src/openwrt/openwrt/toolchain/gcc/minimal'
make[3]: Nothing to be done for `compile'.
make[3]: Leaving directory `/src/openwrt/openwrt/toolchain/gcc/minimal'
make[3]: Entering directory `/src/openwrt/openwrt/toolchain/gcc/minimal'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/src/openwrt/openwrt/toolchain/gcc/minimal'
make[3]: Entering directory `/src/openwrt/openwrt/toolchain/kernel-headers'
make[3]: Nothing to be done for `prepare'.
make[3]: Leaving directory `/src/openwrt/openwrt/toolchain/kernel-headers'
make[3]: Entering directory `/src/openwrt/openwrt/toolchain/kernel-headers'
make[3]: Nothing to be done for `compile'.
make[3]: Leaving directory `/src/openwrt/openwrt/toolchain/kernel-headers'
make[3]: Entering directory `/src/openwrt/openwrt/toolchain/kernel-headers'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/src/openwrt/openwrt/toolchain/kernel-headers'
make[3]: Entering directory `/src/openwrt/openwrt/toolchain/musl/headers'
make[3]: Nothing to be done for `prepare'.
make[3]: Leaving directory `/src/openwrt/openwrt/toolchain/musl/headers'
make[3]: Entering directory `/src/openwrt/openwrt/toolchain/musl/headers'
make[3]: Nothing to be done for `compile'.
make[3]: Leaving directory `/src/openwrt/openwrt/toolchain/musl/headers'
make[3]: Entering directory `/src/openwrt/openwrt/toolchain/musl/headers'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/src/openwrt/openwrt/toolchain/musl/headers'
make[3]: Entering directory `/src/openwrt/openwrt/toolchain/gcc/initial'
make[3]: Nothing to be done for `prepare'.
make[3]: Leaving directory `/src/openwrt/openwrt/toolchain/gcc/initial'
make[3]: Entering directory `/src/openwrt/openwrt/toolchain/gcc/initial'
make[3]: Nothing to be done for `compile'.
make[3]: Leaving directory `/src/openwrt/openwrt/toolchain/gcc/initial'
make[3]: Entering directory `/src/openwrt/openwrt/toolchain/gcc/initial'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/src/openwrt/openwrt/toolchain/gcc/initial'
make[3]: Entering directory `/src/openwrt/openwrt/toolchain/musl'
make[3]: Nothing to be done for `prepare'.
make[3]: Leaving directory `/src/openwrt/openwrt/toolchain/musl'
make[3]: Entering directory `/src/openwrt/openwrt/toolchain/musl'
make[3]: Nothing to be done for `compile'.
make[3]: Leaving directory `/src/openwrt/openwrt/toolchain/musl'
make[3]: Entering directory `/src/openwrt/openwrt/toolchain/musl'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/src/openwrt/openwrt/toolchain/musl'
make[3]: Entering directory `/src/openwrt/openwrt/toolchain/gcc/final'
make[3]: Nothing to be done for `prepare'.
make[3]: Leaving directory `/src/openwrt/openwrt/toolchain/gcc/final'
make[3]: Entering directory `/src/openwrt/openwrt/toolchain/gcc/final'
export SHELL="bash"; make CFLAGS="-O2 -I/src/openwrt/openwrt/staging_dir/host/include -I/src/openwrt/openwrt/staging_dir/host/usr/include " CFLAGS_FOR_TARGET="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float" CXXFLAGS_FOR_TARGET="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float" gcc_cv_libc_provides_ssp=yes   -C /src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0-final all
make[4]: Entering directory `/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0-final'
make[5]: Entering directory `/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0-final'
make[6]: Entering directory `/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0-final/libiberty'
make[7]: Entering directory `/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0-final/libiberty/testsuite'
make[7]: Nothing to be done for `all'.
make[7]: Leaving directory `/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0-final/libiberty/testsuite'
make[6]: Leaving directory `/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0-final/libiberty'
make[6]: Entering directory `/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0-final/fixincludes'
make[6]: Nothing to be done for `all'.
make[6]: Leaving directory `/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0-final/fixincludes'
make[6]: Entering directory `/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0-final/lto-plugin'
make  all-am
make[7]: Entering directory `/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0-final/lto-plugin'
make[7]: Leaving directory `/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0-final/lto-plugin'
make[6]: Leaving directory `/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0-final/lto-plugin'
make[6]: Entering directory `/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0-final/intl'
make[6]: Nothing to be done for `all'.
make[6]: Leaving directory `/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0-final/intl'
make[6]: Entering directory `/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0-final/build-x86_64-linux-gnu/libiberty'
make[7]: Entering directory `/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0-final/build-x86_64-linux-gnu/libiberty/testsuite'
make[7]: Nothing to be done for `all'.
make[7]: Leaving directory `/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0-final/build-x86_64-linux-gnu/libiberty/testsuite'
make[6]: Leaving directory `/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0-final/build-x86_64-linux-gnu/libiberty'
make[6]: Entering directory `/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0-final/build-x86_64-linux-gnu/fixincludes'
make[6]: Nothing to be done for `all'.
make[6]: Leaving directory `/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0-final/build-x86_64-linux-gnu/fixincludes'
make[6]: Entering directory `/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0-final/build-x86_64-linux-gnu/libcpp'
test -f config.h || (rm -f stamp-h1 && make stamp-h1)
make[6]: Leaving directory `/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0-final/build-x86_64-linux-gnu/libcpp'
make[6]: Entering directory `/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0-final/zlib'
true "AR_FLAGS=rc" "CC_FOR_BUILD=x86_64-linux-gnu-gcc" "CFLAGS=-O2 -I/src/openwrt/openwrt/staging_dir/host/include -I/src/openwrt/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 -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -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/src/openwrt/openwrt/staging_dir/host/include -I/src/openwrt/openwrt/staging_dir/host/usr/include " "LIBCFLAGS_FOR_TARGET=-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float" "MAKE=make" "MAKEINFO=/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0/missing makeinfo --split-size=5000000 --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/bash" "EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/src/openwrt/openwrt/staging_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14" "infodir=/src/openwrt/openwrt/staging_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/share/info" "libdir=/src/openwrt/openwrt/staging_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/lib" "prefix=/src/openwrt/openwrt/staging_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14" "tooldir=/src/openwrt/openwrt/staging_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/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/src/openwrt/openwrt/staging_dir/host/include -I/src/openwrt/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[6]: Leaving directory `/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0-final/zlib'
make[6]: Entering directory `/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0-final/libbacktrace'
make  all-am
make[7]: Entering directory `/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0-final/libbacktrace'
true  DO=all multi-do # make
make[7]: Leaving directory `/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0-final/libbacktrace'
make[6]: Leaving directory `/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0-final/libbacktrace'
make[6]: Entering directory `/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0-final/libcpp'
test -f config.h || (rm -f stamp-h1 && make stamp-h1)
make[6]: Leaving directory `/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0-final/libcpp'
make[6]: Entering directory `/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0-final/libdecnumber'
make[6]: Nothing to be done for `all'.
make[6]: Leaving directory `/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0-final/libdecnumber'
make[6]: Entering directory `/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0-final/gcc'
x86_64-linux-gnu-gcc   -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H  -o cc1 c/c-lang.o c-family/stub-objc.o attribs.o c/c-errors.o c/c-decl.o c/c-typeck.o c/c-convert.o c/c-aux-info.o c/c-objc-common.o c/c-parser.o c/c-array-notation.o c-family/c-common.o c-family/c-cppbuiltin.o c-family/c-dump.o c-family/c-format.o c-family/c-gimplify.o c-family/c-lex.o c-family/c-omp.o c-family/c-opts.o c-family/c-pch.o c-family/c-ppoutput.o c-family/c-pragma.o c-family/c-pretty-print.o c-family/c-semantics.o c-family/c-ada-spec.o c-family/c-cilkplus.o c-family/array-notation-common.o c-family/cilk.o c-family/c-ubsan.o glibc-c.o \
	  cc1-checksum.o libbackend.a main.o  libcommon-target.a libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a ../libcpp/libcpp.a   ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -lstdc++  -L/src/openwrt/openwrt/staging_dir/host/lib -L/src/openwrt/openwrt/staging_dir/host/lib -L/src/openwrt/openwrt/staging_dir/host/lib -lmpc -lmpfr -lgmp -rdynamic -ldl -lstdc++ -L../zlib -lz
c/c-typeck.o: In function `c_common_type':
/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0/gcc/c/c-typeck.c:729: undefined reference to `global_trees'
/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0/gcc/c/c-typeck.c:741: undefined reference to `build_type_attribute_variant(tree_node*, tree_node*)'
/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0/gcc/c/c-typeck.c:744: undefined reference to `build_type_attribute_variant(tree_node*, tree_node*)'
/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0/gcc/c/c-typeck.c:763: undefined reference to `mode_class'
/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0/gcc/c/c-typeck.c:779: undefined reference to `global_trees'
/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0/gcc/c/c-typeck.c:763: undefined reference to `mode_class'
/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0/gcc/c/c-typeck.c:764: undefined reference to `mode_class'
/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0/gcc/c/c-typeck.c:890: undefined reference to `mode_fbit'
/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0/gcc/c/c-typeck.c:891: undefined reference to `mode_ibit'
/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0/gcc/c/c-typeck.c:769: undefined reference to `global_trees'
/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0/gcc/c/c-typeck.c:774: undefined reference to `global_trees'
/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0/gcc/c/c-typeck.c:822: undefined reference to `global_trees'
/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0/gcc/c/c-typeck.c:825: undefined reference to `global_trees'
/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0/gcc/c/c-typeck.c:828: undefined reference to `global_trees'
/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0/gcc/c/

(...... a lot of messages........)

/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0/gcc/c-family/c-ubsan.c:309: undefined reference to `build_int_cst(tree_node*, long)'
/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0/gcc/c-family/c-ubsan.c:310: undefined reference to `fold_build2_stat_loc(unsigned int, tree_code, tree_node*, tree_node*, tree_node*)'
/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0/gcc/c-family/c-ubsan.c:313: undefined reference to `get_base_address(tree_node*)'
c-family/c-ubsan.o: In function `tree_int_cst_le':
/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0/gcc/wide-int.h:1776: undefined reference to `wi::lts_p_large(long const*, unsigned int, unsigned int, long const*, unsigned int)'
c-family/c-ubsan.o: In function `ubsan_maybe_instrument_array_ref(tree_node**, bool)':
/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0/gcc/c-family/c-ubsan.c:386: undefined reference to `do_ubsan_in_current_function()'
/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0/gcc/c-family/c-ubsan.c:390: undefined reference to `tree_code_type'
/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0/gcc/c-family/c-ubsan.c:394: undefined reference to `copy_node_stat(tree_node*)'
/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0/gcc/c-family/c-ubsan.c:395: undefined reference to `build2_stat(tree_code, tree_node*, tree_node*, tree_node*)'
c-family/c-ubsan.o: In function `ubsan_maybe_instrument_reference(tree_node*)':
/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0/gcc/c-family/c-ubsan.c:478: undefined reference to `tree_code_type'
c-family/c-ubsan.o: In function `ubsan_maybe_instrument_member_call(tree_node*, bool)':
/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0/gcc/c-family/c-ubsan.c:493: undefined reference to `global_trees'
/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0/gcc/c-family/c-ubsan.c:496: undefined reference to `tree_code_type'
collect2: error: ld returned 1 exit status
make[6]: *** [cc1] Error 1
make[6]: Leaving directory `/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0-final/gcc'
make[5]: *** [all-gcc] Error 2
make[5]: Leaving directory `/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0-final'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0-final'
make[3]: *** [/src/openwrt/openwrt/build_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/gcc-5.3.0-final/.built] Error 2
make[3]: Leaving directory `/src/openwrt/openwrt/toolchain/gcc/final'
make[2]: *** [toolchain/gcc/final/compile] Error 2
make[2]: Leaving directory `/src/openwrt/openwrt'
make[1]: *** [/src/openwrt/openwrt/staging_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/stamp/.toolchain_install] Error 2
make[1]: Leaving directory `/src/openwrt/openwrt'
make: *** [world] Error 2

nothing found regarding this problem.
Steps i made:

  • downloaded build system from git
  • feed update
  • make menuconfig (set target)
  • make defconfig
  • make menuconfig (set packages)
  • make world

Attachments (0)

Change History (0)

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.