[OpenWrt-Devel] Link-time optimization broken with binutils 2.24-linaro

Matthias Schiffer mschiffer at universe-factory.net
Sat Oct 11 18:46:58 EDT 2014


Hi,
it seems that package builds with -flto fail since the upgrade to
binutils 2.24-linaro; see the attached build log for details.

I've verified that this isn't a GCC problem, everything works fine with
the current GCC and vanilla binutils 2.22 and 2.24; only 2.24-linaro is
broken. Other compiler and linker flags don't seem to affect this issue.

Matthias
-------------- next part --------------
make[2]: Entering directory `/mnt/dl/slave/ar71xx/build/feeds/packages/net/fastd'
. /mnt/dl/slave/ar71xx/build/include/shell.sh; xzcat /mnt/dl/slave/ar71xx/build/dl/fastd-14.tar.xz | /bin/tar -C /mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14/.. -xf - 
touch /mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14/.prepared_6f39e9749b0dfe9643407469c95502b0
(cd /mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14; CFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -mips16 -minterlink-mips16 -ffunction-sections -fdata-sections " CXXFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -mips16 -minterlink-mips16 -ffunction-sections -fdata-sections " LDFLAGS="-L/mnt/dl/slave/ar71xx/build/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib -L/mnt/dl/slave/ar71xx/build/staging_dir/target-mips_34kc_uClibc-0.9.33.2/lib -L/mnt/dl/slave/ar71xx/build/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/lib -L/mnt/dl/slave/ar71xx/build/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib -Wl,--gc-sections " 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/dl/slave/ar71xx/build/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/bin/mips-openwrt-linux-uclibc-gcc" -DCMAKE_C_COMPILER_ARG1="" -DCMAKE_CXX_COMPILER="/mnt/dl/slave/ar71xx/build/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/bin/mips-openwrt-linux-uclibc-g++" -DCMAKE_CXX_COMPILER_ARG1="" -DCMAKE_EXE_LINKER_FLAGS:STRING="-L/mnt/dl/slave/ar71xx/build/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib -L/mnt/dl/slave/ar71xx/build/staging_dir/target-mips_34kc_uClibc-0.9.33.2/lib -L/mnt/dl/slave/ar71xx/build/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/lib -L/mnt/dl/slave/ar71xx/build/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib -Wl,--gc-sections" -DCMAKE_MODULE_LINKER_FLAGS:STRING="-L/mnt/dl/slave/ar71xx/build/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib -L/mnt/dl/slave/ar71xx/build/staging_dir/target-mips_34kc_uClibc-0.9.33.2/lib -L/mnt/dl/slave/ar71xx/build/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/lib -L/mnt/dl/slave/ar71xx/build/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib -Wl,--gc-sections" -DCMAKE_SHARED_LINKER_FLAGS:STRING="-L/mnt/dl/slave/ar71xx/build/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib -L/mnt/dl/slave/ar71xx/build/staging_dir/target-mips_34kc_uClibc-0.9.33.2/lib -L/mnt/dl/slave/ar71xx/build/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/lib -L/mnt/dl/slave/ar71xx/build/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib -Wl,--gc-sections" -DCMAKE_AR="/mnt/dl/slave/ar71xx/build/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/bin/mips-openwrt-linux-uclibc-ar" -DCMAKE_RANLIB="/mnt/dl/slave/ar71xx/build/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/bin/mips-openwrt-linux-uclibc-ranlib" -DCMAKE_FIND_ROOT_PATH="/mnt/dl/slave/ar71xx/build/staging_dir/target-mips_34kc_uClibc-0.9.33.2;/mnt/dl/slave/ar71xx/build/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2" -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/dl/slave/ar71xx/build/staging_dir/target-mips_34kc_uClibc-0.9.33.2 -DCMAKE_PREFIX_PATH=/mnt/dl/slave/ar71xx/build/staging_dir/target-mips_34kc_uClibc-0.9.33.2 -DCMAKE_BUILD_TYPE:STRING=MINSIZEREL -DWITH_METHOD_CIPHER_TEST:BOOL=FALSE -DWITH_METHOD_COMPOSED_GMAC:BOOL=FALSE -DWITH_METHOD_GENERIC_GMAC:BOOL=FALSE -DWITH_METHOD_GENERIC_POLY1305:BOOL=FALSE -DWITH_METHOD_NULL:BOOL=FALSE -DWITH_METHOD_XSALSA20_POLY1305:BOOL=FALSE -DWITH_CIPHER_AES128_CTR:BOOL=FALSE -DWITH_CIPHER_NULL:BOOL=FALSE -DWITH_CIPHER_SALSA20:BOOL=FALSE -DWITH_CIPHER_SALSA2012:BOOL=FALSE -DWITH_MAC_GHASH:BOOL=FALSE -DWITH_CMDLINE_USER:BOOL=FALSE -DWITH_CMDLINE_LOGGING:BOOL=FALSE -DWITH_CMDLINE_OPERATION:BOOL=FALSE -DWITH_CMDLINE_COMMANDS:BOOL=FALSE -DWITH_VERIFY:BOOL=FALSE -DWITH_CAPABILITIES:BOOL=FALSE -DENABLE_SYSTEMD:BOOL=FALSE -DENABLE_LIBSODIUM:BOOL=FALSE -DENABLE_LTO:BOOL=TRUE -DWITH_METHOD_COMPOSED_GMAC:BOOL=TRUE -DWITH_METHOD_GENERIC_GMAC:BOOL=TRUE -DWITH_METHOD_NULL:BOOL=TRUE -DWITH_CIPHER_NULL:BOOL=TRUE -DWITH_CIPHER_SALSA2012:BOOL=TRUE -DWITH_MAC_GHASH:BOOL=TRUE . )
-- The C compiler identification is GNU 4.8.3
-- The ASM compiler identification is GNU
-- Found assembler: /mnt/dl/slave/ar71xx/build/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/bin/mips-openwrt-linux-uclibc-gcc
-- Check for working C compiler: /mnt/dl/slave/ar71xx/build/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/bin/mips-openwrt-linux-uclibc-gcc
-- Check for working C compiler: /mnt/dl/slave/ar71xx/build/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/bin/mips-openwrt-linux-uclibc-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Performing Test ARCH_X86
-- Performing Test ARCH_X86 - Failed
-- Performing Test ARCH_X86_64
-- Performing Test ARCH_X86_64 - Failed
-- Found BISON: /mnt/dl/slave/ar71xx/build/staging_dir/host/bin/bison (found suitable version "3.0.2", minimum required is "2.5") 
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Found PkgConfig: /mnt/dl/slave/ar71xx/build/staging_dir/host/bin/pkg-config (found version "0.28") 
-- checking for module 'libuecc>=3'
--   found libuecc, version 4
-- Found NaCl: Networking and Cryptography library: /mnt/dl/slave/ar71xx/build/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib/libnacl.a; include path: /mnt/dl/slave/ar71xx/build/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include/nacl
-- Performing Test HAVE_FLAG_WHOLE_PROGRAM
-- Performing Test HAVE_FLAG_WHOLE_PROGRAM - Success
-- Performing Test HAVE_AI_ADDRCONFIG
-- Performing Test HAVE_AI_ADDRCONFIG - Success
-- Checking prototype get_current_dir_name for HAVE_GET_CURRENT_DIR_NAME - True
-- Looking for clock_gettime
-- Looking for clock_gettime - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of struct ethhdr
-- Check size of struct ethhdr - done
-- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE) 
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_CXX_COMPILER_ARG1
    CMAKE_CXX_FLAGS_RELEASE
    CMAKE_MODULE_LINKER_FLAGS
    CMAKE_SHARED_LINKER_FLAGS
    DL_LIBRARY


-- Build files have been written to: /mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14
rm -f /mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14/.configured_nyynynnynyynnnnn
touch /mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14/.configured_nyynynnynyynnnnn
CFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -mips16 -minterlink-mips16 -ffunction-sections -fdata-sections  -I/mnt/dl/slave/ar71xx/build/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include -I/mnt/dl/slave/ar71xx/build/staging_dir/target-mips_34kc_uClibc-0.9.33.2/include -I/mnt/dl/slave/ar71xx/build/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/mnt/dl/slave/ar71xx/build/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include " CXXFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -mips16 -minterlink-mips16 -ffunction-sections -fdata-sections  -I/mnt/dl/slave/ar71xx/build/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include -I/mnt/dl/slave/ar71xx/build/staging_dir/target-mips_34kc_uClibc-0.9.33.2/include -I/mnt/dl/slave/ar71xx/build/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/mnt/dl/slave/ar71xx/build/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include " LDFLAGS="-L/mnt/dl/slave/ar71xx/build/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib -L/mnt/dl/slave/ar71xx/build/staging_dir/target-mips_34kc_uClibc-0.9.33.2/lib -L/mnt/dl/slave/ar71xx/build/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/lib -L/mnt/dl/slave/ar71xx/build/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib -Wl,--gc-sections " make -j1 -C /mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14/. AR=mips-openwrt-linux-uclibc-ar AS="mips-openwrt-linux-uclibc-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -ffunction-sections -fdata-sections" LD=mips-openwrt-linux-uclibc-ld NM=mips-openwrt-linux-uclibc-nm CC="mips-openwrt-linux-uclibc-gcc" GCC="mips-openwrt-linux-uclibc-gcc" CXX="mips-openwrt-linux-uclibc-g++" RANLIB=mips-openwrt-linux-uclibc-ranlib STRIP=mips-openwrt-linux-uclibc-strip OBJCOPY=mips-openwrt-linux-uclibc-objcopy OBJDUMP=mips-openwrt-linux-uclibc-objdump SIZE=mips-openwrt-linux-uclibc-size CROSS="mips-openwrt-linux-uclibc-" ARCH="mips" ;
make[3]: Entering directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
make[4]: Entering directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
make[5]: Entering directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
Scanning dependencies of target mac_ghash_builtin
make[5]: Leaving directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
make[5]: Entering directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
[  2%] Building C object src/crypto/mac/ghash/builtin/CMakeFiles/mac_ghash_builtin.dir/ghash_builtin.c.o
Linking C static library libmac_ghash_builtin.a
make[5]: Leaving directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
[  2%] Built target mac_ghash_builtin
make[5]: Entering directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
Scanning dependencies of target method_common
make[5]: Leaving directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
make[5]: Entering directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
[  4%] Building C object src/methods/CMakeFiles/method_common.dir/common.c.o
Linking C static library libmethod_common.a
make[5]: Leaving directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
[  4%] Built target method_common
make[5]: Entering directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
Scanning dependencies of target method_generic_gmac
make[5]: Leaving directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
make[5]: Entering directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
[  7%] Building C object src/methods/generic_gmac/CMakeFiles/method_generic_gmac.dir/generic_gmac.c.o
Linking C static library libmethod_generic_gmac.a
make[5]: Leaving directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
[  7%] Built target method_generic_gmac
make[5]: Entering directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
Scanning dependencies of target method_null
make[5]: Leaving directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
make[5]: Entering directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
[  9%] Building C object src/methods/null/CMakeFiles/method_null.dir/null.c.o
Linking C static library libmethod_null.a
make[5]: Leaving directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
[  9%] Built target method_null
make[5]: Entering directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
Scanning dependencies of target protocol_ec25519_fhmqvc
make[5]: Leaving directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
make[5]: Entering directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
[ 12%] Building C object src/protocols/ec25519_fhmqvc/CMakeFiles/protocol_ec25519_fhmqvc.dir/ec25519_fhmqvc.c.o
[ 14%] Building C object src/protocols/ec25519_fhmqvc/CMakeFiles/protocol_ec25519_fhmqvc.dir/handshake.c.o
[ 17%] Building C object src/protocols/ec25519_fhmqvc/CMakeFiles/protocol_ec25519_fhmqvc.dir/state.c.o
[ 19%] Building C object src/protocols/ec25519_fhmqvc/CMakeFiles/protocol_ec25519_fhmqvc.dir/util.c.o
make[5]: Leaving directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
[ 19%] Built target protocol_ec25519_fhmqvc
make[5]: Entering directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
Scanning dependencies of target protocols
make[5]: Leaving directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
make[5]: Entering directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
Linking C static library libprotocols.a
make[5]: Leaving directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
[ 19%] Built target protocols
make[5]: Entering directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
Scanning dependencies of target method_composed_gmac
make[5]: Leaving directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
make[5]: Entering directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
[ 21%] Building C object src/methods/composed_gmac/CMakeFiles/method_composed_gmac.dir/composed_gmac.c.o
Linking C static library libmethod_composed_gmac.a
make[5]: Leaving directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
[ 21%] Built target method_composed_gmac
make[5]: Entering directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
Scanning dependencies of target methods
make[5]: Leaving directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
make[5]: Entering directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
[ 24%] Building C object src/methods/CMakeFiles/methods.dir/methods.c.o
Linking C static library libmethods.a
make[5]: Leaving directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
[ 24%] Built target methods
make[5]: Entering directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
Scanning dependencies of target cipher_salsa2012_nacl
make[5]: Leaving directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
make[5]: Entering directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
[ 26%] Building C object src/crypto/cipher/salsa2012/nacl/CMakeFiles/cipher_salsa2012_nacl.dir/salsa2012_nacl.c.o
Linking C static library libcipher_salsa2012_nacl.a
make[5]: Leaving directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
[ 26%] Built target cipher_salsa2012_nacl
make[5]: Entering directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
Scanning dependencies of target cipher_null
make[5]: Leaving directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
make[5]: Entering directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
[ 29%] Building C object src/crypto/cipher/null/CMakeFiles/cipher_null.dir/null.c.o
Linking C static library libcipher_null.a
make[5]: Leaving directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
[ 29%] Built target cipher_null
make[5]: Entering directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
Scanning dependencies of target cipher_null_memcpy
make[5]: Leaving directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
make[5]: Entering directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
[ 31%] Building C object src/crypto/cipher/null/memcpy/CMakeFiles/cipher_null_memcpy.dir/null_memcpy.c.o
Linking C static library libcipher_null_memcpy.a
make[5]: Leaving directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
[ 31%] Built target cipher_null_memcpy
make[5]: Entering directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
Scanning dependencies of target cipher_salsa2012
make[5]: Leaving directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
make[5]: Entering directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
[ 34%] Building C object src/crypto/cipher/salsa2012/CMakeFiles/cipher_salsa2012.dir/salsa2012.c.o
Linking C static library libcipher_salsa2012.a
make[5]: Leaving directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
[ 34%] Built target cipher_salsa2012
make[5]: Entering directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
Scanning dependencies of target ciphers
make[5]: Leaving directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
make[5]: Entering directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
[ 36%] Building C object src/crypto/cipher/CMakeFiles/ciphers.dir/ciphers.c.o
Linking C static library libciphers.a
make[5]: Leaving directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
[ 36%] Built target ciphers
make[5]: Entering directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
Scanning dependencies of target version
make[5]: Leaving directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
make[5]: Entering directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
make[5]: Leaving directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
[ 36%] Built target version
make[5]: Entering directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
Scanning dependencies of target mac_ghash
make[5]: Leaving directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
make[5]: Entering directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
[ 39%] Building C object src/crypto/mac/ghash/CMakeFiles/mac_ghash.dir/ghash.c.o
Linking C static library libmac_ghash.a
make[5]: Leaving directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
[ 39%] Built target mac_ghash
make[5]: Entering directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
Scanning dependencies of target macs
make[5]: Leaving directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
make[5]: Entering directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
[ 41%] Building C object src/crypto/mac/CMakeFiles/macs.dir/macs.c.o
Linking C static library libmacs.a
make[5]: Leaving directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
[ 41%] Built target macs
make[5]: Entering directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
[ 43%] [BISON][fastd_config_parse] Building parser with bison 3.0.2
Scanning dependencies of target fastd
make[5]: Leaving directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
make[5]: Entering directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
[ 46%] Building C object src/CMakeFiles/fastd.dir/async.c.o
[ 48%] Building C object src/CMakeFiles/fastd.dir/capabilities.c.o
[ 51%] Building C object src/CMakeFiles/fastd.dir/config.c.o
[ 53%] Building C object src/CMakeFiles/fastd.dir/handshake.c.o
[ 56%] Building C object src/CMakeFiles/fastd.dir/hkdf_sha256.c.o
[ 58%] Building C object src/CMakeFiles/fastd.dir/fastd.c.o
[ 60%] Building C object src/CMakeFiles/fastd.dir/lex.c.o
[ 63%] Building C object src/CMakeFiles/fastd.dir/log.c.o
[ 65%] Building C object src/CMakeFiles/fastd.dir/options.c.o
[ 68%] Building C object src/CMakeFiles/fastd.dir/peer.c.o
[ 70%] Building C object src/CMakeFiles/fastd.dir/peer_hashtable.c.o
[ 73%] Building C object src/CMakeFiles/fastd.dir/poll.c.o
[ 75%] Building C object src/CMakeFiles/fastd.dir/random.c.o
[ 78%] Building C object src/CMakeFiles/fastd.dir/receive.c.o
[ 80%] Building C object src/CMakeFiles/fastd.dir/resolve.c.o
[ 82%] Building C object src/CMakeFiles/fastd.dir/send.c.o
[ 85%] Building C object src/CMakeFiles/fastd.dir/sha256.c.o
[ 87%] Building C object src/CMakeFiles/fastd.dir/shell.c.o
[ 90%] Building C object src/CMakeFiles/fastd.dir/socket.c.o
[ 92%] Building C object src/CMakeFiles/fastd.dir/tuntap.c.o
[ 95%] Building C object src/CMakeFiles/fastd.dir/vector.c.o
[ 97%] Building C object src/CMakeFiles/fastd.dir/verify.c.o
[100%] Building C object src/CMakeFiles/fastd.dir/config.yy.c.o
Linking C executable fastd
protocols/libprotocols.a(handshake.c.o): In function `derive_key':
handshake.c:(.text.derive_key+0x64): undefined reference to `fastd_hmacsha256'
handshake.c:(.text.derive_key+0x76): undefined reference to `fastd_hkdf_sha256_expand'
protocols/libprotocols.a(handshake.c.o): In function `make_shared_handshake_key':
handshake.c:(.text.make_shared_handshake_key+0x5c): undefined reference to `fastd_sha256_blocks'
handshake.c:(.text.make_shared_handshake_key+0x17c): undefined reference to `fastd_sha256_blocks'
protocols/libprotocols.a(handshake.c.o): In function `establish':
handshake.c:(.text.unlikely.establish+0x6a): undefined reference to `fastd_peer_claim_address'
handshake.c:(.text.unlikely.establish+0x1ae): undefined reference to `fastd_sha256_blocks'
handshake.c:(.text.unlikely.establish+0x212): undefined reference to `fastd_peer_set_established'
protocols/libprotocols.a(handshake.c.o): In function `fastd_protocol_ec25519_fhmqvc_handshake_init':
handshake.c:(.text.fastd_protocol_ec25519_fhmqvc_handshake_init+0xe): undefined reference to `fastd_handshake_new_init'
handshake.c:(.text.fastd_protocol_ec25519_fhmqvc_handshake_init+0x74): undefined reference to `fastd_peer_exec_shell_command'
handshake.c:(.text.fastd_protocol_ec25519_fhmqvc_handshake_init+0x96): undefined reference to `fastd_send_handshake'
protocols/libprotocols.a(handshake.c.o): In function `fastd_protocol_ec25519_fhmqvc_handshake_handle':
handshake.c:(.text.fastd_protocol_ec25519_fhmqvc_handshake_handle+0x5c): undefined reference to `fastd_peer_owns_address'
handshake.c:(.text.fastd_protocol_ec25519_fhmqvc_handshake_handle+0x6e): undefined reference to `fastd_peer_owns_address'
handshake.c:(.text.fastd_protocol_ec25519_fhmqvc_handshake_handle+0xa8): undefined reference to `fastd_peer_matches_address'
handshake.c:(.text.fastd_protocol_ec25519_fhmqvc_handshake_handle+0x102): undefined reference to `fastd_peer_may_connect'
handshake.c:(.text.fastd_protocol_ec25519_fhmqvc_handshake_handle+0x224): undefined reference to `fastd_handshake_new_reply'
handshake.c:(.text.fastd_protocol_ec25519_fhmqvc_handshake_handle+0x272): undefined reference to `fastd_hmacsha256_blocks'
handshake.c:(.text.fastd_protocol_ec25519_fhmqvc_handshake_handle+0x2a8): undefined reference to `fastd_hmacsha256'
handshake.c:(.text.fastd_protocol_ec25519_fhmqvc_handshake_handle+0x3fc): undefined reference to `fastd_hmacsha256_verify'
handshake.c:(.text.fastd_protocol_ec25519_fhmqvc_handshake_handle+0x410): undefined reference to `fastd_hmacsha256_blocks_verify'
handshake.c:(.text.fastd_protocol_ec25519_fhmqvc_handshake_handle+0x474): undefined reference to `fastd_handshake_new_reply'
handshake.c:(.text.fastd_protocol_ec25519_fhmqvc_handshake_handle+0x4ce): undefined reference to `fastd_hmacsha256'
handshake.c:(.text.fastd_protocol_ec25519_fhmqvc_handshake_handle+0x4ee): undefined reference to `fastd_hmacsha256_blocks'
handshake.c:(.text.fastd_protocol_ec25519_fhmqvc_handshake_handle+0x51a): undefined reference to `fastd_send_handshake'
handshake.c:(.text.fastd_protocol_ec25519_fhmqvc_handshake_handle+0x59c): undefined reference to `fastd_hmacsha256_verify'
handshake.c:(.text.fastd_protocol_ec25519_fhmqvc_handshake_handle+0x5b8): undefined reference to `fastd_hmacsha256_blocks_verify'
protocols/libprotocols.a(ec25519_fhmqvc.c.o): In function `session_send':
ec25519_fhmqvc.c:(.text.session_send+0x5e): undefined reference to `fastd_send'
protocols/libprotocols.a(ec25519_fhmqvc.c.o): In function `protocol_handle_recv':
ec25519_fhmqvc.c:(.text.protocol_handle_recv+0x118): undefined reference to `fastd_handle_receive'
protocols/libprotocols.a(state.c.o): In function `new_handshake_key':
state.c:(.text.new_handshake_key+0x8): undefined reference to `fastd_random_bytes'
protocols/libprotocols.a(util.c.o): In function `fastd_protocol_ec25519_fhmqvc_generate_key':
util.c:(.text.fastd_protocol_ec25519_fhmqvc_generate_key+0x1a): undefined reference to `fastd_random_bytes'
collect2: error: ld returned 1 exit status
make[5]: *** [src/fastd] Error 1
make[5]: Leaving directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
make[4]: *** [src/CMakeFiles/fastd.dir/all] Error 2
make[4]: Leaving directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14'
make[2]: *** [/mnt/dl/slave/ar71xx/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/fastd-14/.built] Error 2
make[2]: Leaving directory `/mnt/dl/slave/ar71xx/build/feeds/packages/net/fastd'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20141012/b862d243/attachment.sig>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list