Modify

Opened 3 years ago

Last modified 3 years ago

#19340 reopened defect

procd fails to link under musl

Reported by: anonymous Owned by: developers
Priority: high Milestone: Chaos Calmer 15.05
Component: packages Version: Trunk
Keywords: musl ssp seccomp procd Cc:

Description

[ 93%] Built target utrace
make[5]: Entering directory `/mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-27'
Scanning dependencies of target upgraded
make[5]: Leaving directory `/mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-27'
make[5]: Entering directory `/mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-27'
[ 96%] Building C object upgraded/CMakeFiles/upgraded.dir/upgraded.c.o
[100%] Building C object upgraded/CMakeFiles/upgraded.dir//watchdog.c.o
Linking C executable upgraded
/mnt/storage/openwrt-cc/trunk/staging_dir/toolchain-mips_34kc_gcc-4.9-linaro_musl-1.1.7/lib/gcc/mips-openwrt-linux-musl/4.9.2/../../../../mips-openwrt-linux-musl/lib/libssp.a(ssp.o): In function `
stack_chk_fail':
ssp.c:(.text+0x12c): multiple definition of `stack_chk_fail'
/mnt/storage/openwrt-cc/trunk/staging_dir/toolchain-mips_34kc_gcc-4.9-linaro_musl-1.1.7/lib/gcc/mips-openwrt-linux-musl/4.9.2/../../../../mips-openwrt-linux-musl/lib/libc.a(
stack_chk_fail.o):stack_chk_fail.c:(.text+0x6c): first defined here
collect2: error: ld returned 1 exit status

Attachments (1)

diffconfig.txt (11.7 KB) - added by anonymous 3 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 3 years ago by blogic

post your .config i assume you enabled some options in menuconfig to cause this

Changed 3 years ago by anonymous

comment:2 Changed 3 years ago by anonymous

It is probably SSP that i enabled, attached is the diffconfig. thanks!

comment:3 Changed 3 years ago by blogic

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

run make toolchain/clean after enabling SSP. doing so makes it work for me with current trunk

comment:4 Changed 3 years ago by anonymous

did make toolchain/clean and also did make distclean in the trunk directory (r45250) and then copied the same config that i attached to this ticket and still get the same error, what gives?

make[3]: Entering directory `/mnt/storage/openwrt-cc/trunk/package/system/procd'
. /mnt/storage/openwrt-cc/trunk/include/shell.sh; gzip -dc /mnt/storage/openwrt-cc/trunk/dl/procd-2015-03-30-91da63d3d3fd680c805dd1a1b78df5b8731a8173.tar.gz | tar -C /mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30/.. -xf -
touch /mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30/.prepared_40868beba6d2b7c2886b819a36777fab
(cd /mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30; CFLAGS="-Os -pipe -mno-branch-likely -march=74kc -mtune=74kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 " CXXFLAGS="-Os -pipe -mno-branch-likely -march=74kc -mtune=74kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 " LDFLAGS="-L/mnt/storage/openwrt-cc/trunk/staging_dir/target-mips_34kc_musl-1.1.7/usr/lib -L/mnt/storage/openwrt-cc/trunk/staging_dir/target-mips_34kc_musl-1.1.7/lib -L/mnt/storage/openwrt-cc/trunk/staging_dir/toolchain-mips_34kc_gcc-4.9-linaro_musl-1.1.7/usr/lib -L/mnt/storage/openwrt-cc/trunk/staging_dir/toolchain-mips_34kc_gcc-4.9-linaro_musl-1.1.7/lib " cmake -DCMAKE_SYSTEM_NAME=Linux -DCMAKE_SYSTEM_VERSION=1 -DCMAKE_SYSTEM_PROCESSOR=mips -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_C_COMPILER="/mnt/storage/openwrt-cc/trunk/staging_dir/toolchain-mips_34kc_gcc-4.9-linaro_musl-1.1.7/bin/mips-openwrt-linux-musl-gcc" -DCMAKE_C_COMPILER_ARG1="" -DCMAKE_CXX_COMPILER="/mnt/storage/openwrt-cc/trunk/staging_dir/toolchain-mips_34kc_gcc-4.9-linaro_musl-1.1.7/bin/mips-openwrt-linux-musl-g++" -DCMAKE_CXX_COMPILER_ARG1="" -DCMAKE_ASM_COMPILER="/mnt/storage/openwrt-cc/trunk/staging_dir/toolchain-mips_34kc_gcc-4.9-linaro_musl-1.1.7/bin/mips-openwrt-linux-musl-gcc" -DCMAKE_ASM_COMPILER_ARG1="" -DCMAKE_EXE_LINKER_FLAGS:STRING="-L/mnt/storage/openwrt-cc/trunk/staging_dir/target-mips_34kc_musl-1.1.7/usr/lib -L/mnt/storage/openwrt-cc/trunk/staging_dir/target-mips_34kc_musl-1.1.7/lib -L/mnt/storage/openwrt-cc/trunk/staging_dir/toolchain-mips_34kc_gcc-4.9-linaro_musl-1.1.7/usr/lib -L/mnt/storage/openwrt-cc/trunk/staging_dir/toolchain-mips_34kc_gcc-4.9-linaro_musl-1.1.7/lib " -DCMAKE_MODULE_LINKER_FLAGS:STRING="-L/mnt/storage/openwrt-cc/trunk/staging_dir/target-mips_34kc_musl-1.1.7/usr/lib -L/mnt/storage/openwrt-cc/trunk/staging_dir/target-mips_34kc_musl-1.1.7/lib -L/mnt/storage/openwrt-cc/trunk/staging_dir/toolchain-mips_34kc_gcc-4.9-linaro_musl-1.1.7/usr/lib -L/mnt/storage/openwrt-cc/trunk/staging_dir/toolchain-mips_34kc_gcc-4.9-linaro_musl-1.1.7/lib " -DCMAKE_SHARED_LINKER_FLAGS:STRING="-L/mnt/storage/openwrt-cc/trunk/staging_dir/target-mips_34kc_musl-1.1.7/usr/lib -L/mnt/storage/openwrt-cc/trunk/staging_dir/target-mips_34kc_musl-1.1.7/lib -L/mnt/storage/openwrt-cc/trunk/staging_dir/toolchain-mips_34kc_gcc-4.9-linaro_musl-1.1.7/usr/lib -L/mnt/storage/openwrt-cc/trunk/staging_dir/toolchain-mips_34kc_gcc-4.9-linaro_musl-1.1.7/lib " -DCMAKE_AR="/mnt/storage/openwrt-cc/trunk/staging_dir/toolchain-mips_34kc_gcc-4.9-linaro_musl-1.1.7/bin/mips-openwrt-linux-musl-gcc-ar" -DCMAKE_NM="/mnt/storage/openwrt-cc/trunk/staging_dir/toolchain-mips_34kc_gcc-4.9-linaro_musl-1.1.7/bin/mips-openwrt-linux-musl-gcc-nm" -DCMAKE_RANLIB="/mnt/storage/openwrt-cc/trunk/staging_dir/toolchain-mips_34kc_gcc-4.9-linaro_musl-1.1.7/bin/mips-openwrt-linux-musl-gcc-ranlib" -DCMAKE_FIND_ROOT_PATH="/mnt/storage/openwrt-cc/trunk/staging_dir/target-mips_34kc_musl-1.1.7;/mnt/storage/openwrt-cc/trunk/staging_dir/toolchain-mips_34kc_gcc-4.9-linaro_musl-1.1.7" -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=BOTH -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY -DCMAKE_STRIP=: -DCMAKE_INSTALL_PREFIX=/usr -DDL_LIBRARY=/mnt/storage/openwrt-cc/trunk/staging_dir/target-mips_34kc_musl-1.1.7 -DCMAKE_PREFIX_PATH=/mnt/storage/openwrt-cc/trunk/staging_dir/target-mips_34kc_musl-1.1.7 -DCMAKE_SKIP_RPATH=TRUE -DBUILD_UPGRADED=1 -DSHOW_BOOT_ON_CONSOLE=1 -DJAIL_SUPPORT=1 -DSECCOMP_SUPPORT=1 . )
-- The C compiler identification is GNU 4.9.2
-- Check for working C compiler: /mnt/storage/openwrt-cc/trunk/staging_dir/toolchain-mips_34kc_gcc-4.9-linaro_musl-1.1.7/bin/mips-openwrt-linux-musl-gcc
-- Check for working C compiler: /mnt/storage/openwrt-cc/trunk/staging_dir/toolchain-mips_34kc_gcc-4.9-linaro_musl-1.1.7/bin/mips-openwrt-linux-musl-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Configuring done
-- Generating done
CMake Warning:

Manually-specified variables were not used by the project:

CMAKE_ASM_COMPILER
CMAKE_ASM_COMPILER_ARG1
CMAKE_CXX_COMPILER
CMAKE_CXX_COMPILER_ARG1
CMAKE_CXX_FLAGS_RELEASE
CMAKE_FIND_ROOT_PATH_MODE_INCLUDE
CMAKE_FIND_ROOT_PATH_MODE_LIBRARY
CMAKE_MODULE_LINKER_FLAGS
DL_LIBRARY
SHOW_BOOT_ON_CONSOLE

-- Build files have been written to: /mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30
rm -f /mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30/.configured_*
touch /mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30/.configured_yyynyyyyynyyyy
CFLAGS="-Os -pipe -mno-branch-likely -march=74kc -mtune=74kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -I/mnt/storage/openwrt-cc/trunk/staging_dir/target-mips_34kc_musl-1.1.7/usr/include -I/mnt/storage/openwrt-cc/trunk/staging_dir/target-mips_34kc_musl-1.1.7/include -I/mnt/storage/openwrt-cc/trunk/staging_dir/toolchain-mips_34kc_gcc-4.9-linaro_musl-1.1.7/usr/include -I/mnt/storage/openwrt-cc/trunk/staging_dir/toolchain-mips_34kc_gcc-4.9-linaro_musl-1.1.7/include " CXXFLAGS="-Os -pipe -mno-branch-likely -march=74kc -mtune=74kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -I/mnt/storage/openwrt-cc/trunk/staging_dir/target-mips_34kc_musl-1.1.7/usr/include -I/mnt/storage/openwrt-cc/trunk/staging_dir/target-mips_34kc_musl-1.1.7/include -I/mnt/storage/openwrt-cc/trunk/staging_dir/toolchain-mips_34kc_gcc-4.9-linaro_musl-1.1.7/usr/include -I/mnt/storage/openwrt-cc/trunk/staging_dir/toolchain-mips_34kc_gcc-4.9-linaro_musl-1.1.7/include " LDFLAGS="-L/mnt/storage/openwrt-cc/trunk/staging_dir/target-mips_34kc_musl-1.1.7/usr/lib -L/mnt/storage/openwrt-cc/trunk/staging_dir/target-mips_34kc_musl-1.1.7/lib -L/mnt/storage/openwrt-cc/trunk/staging_dir/toolchain-mips_34kc_gcc-4.9-linaro_musl-1.1.7/usr/lib -L/mnt/storage/openwrt-cc/trunk/staging_dir/toolchain-mips_34kc_gcc-4.9-linaro_musl-1.1.7/lib " make -j1 -C /mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30/. AR="mips-openwrt-linux-musl-gcc-ar" AS="mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -march=74kc -mtune=74kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2" LD=mips-openwrt-linux-musl-ld NM="mips-openwrt-linux-musl-gcc-nm" CC="mips-openwrt-linux-musl-gcc" GCC="mips-openwrt-linux-musl-gcc" CXX="mips-openwrt-linux-musl-g++" RANLIB="mips-openwrt-linux-musl-gcc-ranlib" STRIP=mips-openwrt-linux-musl-strip OBJCOPY=mips-openwrt-linux-musl-objcopy OBJDUMP=mips-openwrt-linux-musl-objdump SIZE=mips-openwrt-linux-musl-size CROSS="mips-openwrt-linux-musl-" ARCH="mips" ;
make[4]: Entering directory `/mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30'
make[5]: Entering directory `/mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30'
make[6]: Entering directory `/mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30'
Scanning dependencies of target askfirst
make[6]: Leaving directory `/mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30'
make[6]: Entering directory `/mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30'
[ 3%] Building C object CMakeFiles/askfirst.dir/utils/askfirst.c.o
Linking C executable askfirst
make[6]: Leaving directory `/mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30'
[ 3%] Built target askfirst
make[6]: Entering directory `/mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30'
Scanning dependencies of target init
make[6]: Leaving directory `/mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30'
make[6]: Entering directory `/mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30'
[ 6%] Building C object CMakeFiles/init.dir/initd/init.c.o
[ 9%] Building C object CMakeFiles/init.dir/initd/early.c.o
[ 12%] Building C object CMakeFiles/init.dir/initd/preinit.c.o
[ 15%] Building C object CMakeFiles/init.dir/initd/mkdev.c.o
[ 18%] Building C object CMakeFiles/init.dir/watchdog.c.o
[ 21%] Building C object CMakeFiles/init.dir/utils/utils.c.o
Linking C executable init
make[6]: Leaving directory `/mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30'
[ 21%] Built target init
make[6]: Entering directory `/mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30'
Scanning dependencies of target headers
make[6]: Leaving directory `/mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30'
make[6]: Entering directory `/mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30'
[ 24%] Generating syscall-names.h
make[6]: Leaving directory `/mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30'
[ 24%] Built target headers
make[6]: Entering directory `/mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30'
Scanning dependencies of target preload-seccomp
make[6]: Leaving directory `/mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30'
make[6]: Entering directory `/mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30'
[ 27%] Building C object CMakeFiles/preload-seccomp.dir/jail/preload.c.o
[ 30%] Building C object CMakeFiles/preload-seccomp.dir/jail/seccomp.c.o
Linking C shared library libpreload-seccomp.so
make[6]: Leaving directory `/mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30'
[ 30%] Built target preload-seccomp
make[6]: Entering directory `/mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30'
Scanning dependencies of target preload-trace
make[6]: Leaving directory `/mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30'
make[6]: Entering directory `/mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30'
[ 33%] Building C object CMakeFiles/preload-trace.dir/trace/preload.c.o
Linking C shared library libpreload-trace.so
make[6]: Leaving directory `/mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30'
[ 33%] Built target preload-trace
make[6]: Entering directory `/mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30'
Scanning dependencies of target procd
make[6]: Leaving directory `/mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30'
make[6]: Entering directory `/mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30'
[ 36%] Building C object CMakeFiles/procd.dir/procd.c.o
[ 39%] Building C object CMakeFiles/procd.dir/signal.c.o
[ 42%] Building C object CMakeFiles/procd.dir/watchdog.c.o
[ 45%] Building C object CMakeFiles/procd.dir/state.c.o
[ 48%] Building C object CMakeFiles/procd.dir/inittab.c.o
[ 51%] Building C object CMakeFiles/procd.dir/rcS.c.o
[ 54%] Building C object CMakeFiles/procd.dir/ubus.c.o
[ 57%] Building C object CMakeFiles/procd.dir/system.c.o
[ 60%] Building C object CMakeFiles/procd.dir/service/service.c.o
[ 63%] Building C object CMakeFiles/procd.dir/service/instance.c.o
[ 66%] Building C object CMakeFiles/procd.dir/service/validate.c.o
[ 69%] Building C object CMakeFiles/procd.dir/service/trigger.c.o
[ 72%] Building C object CMakeFiles/procd.dir/service/watch.c.o
[ 75%] Building C object CMakeFiles/procd.dir/plug/coldplug.c.o
[ 78%] Building C object CMakeFiles/procd.dir/plug/hotplug.c.o
[ 81%] Building C object CMakeFiles/procd.dir/utils/utils.c.o
Linking C executable procd
make[6]: Leaving directory `/mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30'
[ 81%] Built target procd
make[6]: Entering directory `/mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30'
Scanning dependencies of target udevtrigger
make[6]: Leaving directory `/mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30'
make[6]: Entering directory `/mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30'
[ 84%] Building C object CMakeFiles/udevtrigger.dir/plug/udevtrigger.c.o
Linking C executable udevtrigger
make[6]: Leaving directory `/mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30'
[ 84%] Built target udevtrigger
make[6]: Entering directory `/mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30'
Scanning dependencies of target ujail
make[6]: Leaving directory `/mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30'
make[6]: Entering directory `/mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30'
[ 87%] Building C object CMakeFiles/ujail.dir/jail/jail.c.o
[ 90%] Building C object CMakeFiles/ujail.dir/jail/elf.c.o
Linking C executable ujail
make[6]: Leaving directory `/mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30'
[ 90%] Built target ujail
make[6]: Entering directory `/mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30'
Scanning dependencies of target utrace
make[6]: Leaving directory `/mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30'
make[6]: Entering directory `/mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30'
[ 93%] Building C object CMakeFiles/utrace.dir/trace/trace.c.o
Linking C executable utrace
make[6]: Leaving directory `/mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30'
[ 93%] Built target utrace
make[6]: Entering directory `/mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30'
Scanning dependencies of target upgraded
make[6]: Leaving directory `/mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30'
make[6]: Entering directory `/mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30'
[ 96%] Building C object upgraded/CMakeFiles/upgraded.dir/upgraded.c.o
[100%] Building C object upgraded/CMakeFiles/upgraded.dir//watchdog.c.o
Linking C executable upgraded
/mnt/storage/openwrt-cc/trunk/staging_dir/toolchain-mips_34kc_gcc-4.9-linaro_musl-1.1.7/lib/gcc/mips-openwrt-linux-musl/4.9.2/../../../../mips-openwrt-linux-musl/lib/libssp.a(ssp.o): In function `
stack_chk_fail':
ssp.c:(.text+0x12c): multiple definition of `stack_chk_fail'
/mnt/storage/openwrt-cc/trunk/staging_dir/toolchain-mips_34kc_gcc-4.9-linaro_musl-1.1.7/lib/gcc/mips-openwrt-linux-musl/4.9.2/../../../../mips-openwrt-linux-musl/lib/libc.a(
stack_chk_fail.o):stack_chk_fail.c:(.text+0x6c): first defined here
collect2: error: ld returned 1 exit status
make[6]: * [upgraded/upgraded] Error 1
make[6]: Leaving directory `/mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30'
make[5]:
* [upgraded/CMakeFiles/upgraded.dir/all] Error 2
make[5]: Leaving directory `/mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30'
make[4]: * [all] Error 2
make[4]: Leaving directory `/mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30'
make[3]:
* /mnt/storage/openwrt-cc/trunk/build_dir/target-mips_34kc_musl-1.1.7/procd-2015-03-30/.built Error 2
make[3]: Leaving directory `/mnt/storage/openwrt-cc/trunk/package/system/procd'
make[2]: * [package/system/procd/compile] Error 2
make[2]: Leaving directory `/mnt/storage/openwrt-cc/trunk'
make[1]:
* /mnt/storage/openwrt-cc/trunk/staging_dir/target-mips_34kc_musl-1.1.7/stamp/.package_compile Error 2
make[1]: Leaving directory `/mnt/storage/openwrt-cc/trunk'
make: * [world] Error 2

comment:5 Changed 3 years ago by anonymous

  • Resolution worksforme deleted
  • Status changed from closed to reopened

Add Comment

Modify Ticket

Action
as reopened .
Author


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

 
Note: See TracTickets for help on using tickets.