Closed jospezial closed 4 years ago
Maintainer: @jslachta Environment: MIPS, Arcadyan VGV7510KW22 (o2 Box 6431), telephony.git master
Description: gcc-10 is now in openwrt.
Upstream fix: https://github.com/cisco/libsrtp/commit/716a73862b387a2107f37398c0fb7d9a754c0ccd
make[3]: Entering directory '/home/joerg/Downloads/openwrt6431/feeds/telephony/libs/libsrtp2' rm -f /home/joerg/Downloads/openwrt6431/build_dir/target-mips_24kc_musl/libsrtp2-2.2.0/.built touch /home/joerg/Downloads/openwrt6431/build_dir/target-mips_24kc_musl/libsrtp2-2.2.0/.built_check CFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -ffile-prefix-map=/home/joerg/Downloads/openwrt6431/build_dir/target-mips_24kc_musl/libsrtp2-2.2.0=libsrtp2-2.2.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/home/joerg/Downloads/openwrt6431/staging_dir/target-mips_24kc_musl/usr/include -I/home/joerg/Downloads/openwrt6431/staging_dir/toolchain-mips_24kc_gcc-10.1.0_musl/usr/include -I/home/joerg/Downloads/openwrt6431/staging_dir/toolchain-mips_24kc_gcc-10.1.0_musl/include/fortify -I/home/joerg/Downloads/openwrt6431/staging_dir/toolchain-mips_24kc_gcc-10.1.0_musl/include " CXXFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -ffile-prefix-map=/home/joerg/Downloads/openwrt6431/build_dir/target-mips_24kc_musl/libsrtp2-2.2.0=libsrtp2-2.2.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/home/joerg/Downloads/openwrt6431/staging_dir/target-mips_24kc_musl/usr/include -I/home/joerg/Downloads/openwrt6431/staging_dir/toolchain-mips_24kc_gcc-10.1.0_musl/usr/include -I/home/joerg/Downloads/openwrt6431/staging_dir/toolchain-mips_24kc_gcc-10.1.0_musl/include/fortify -I/home/joerg/Downloads/openwrt6431/staging_dir/toolchain-mips_24kc_gcc-10.1.0_musl/include " LDFLAGS="-L/home/joerg/Downloads/openwrt6431/staging_dir/target-mips_24kc_musl/usr/lib -L/home/joerg/Downloads/openwrt6431/staging_dir/target-mips_24kc_musl/lib -L/home/joerg/Downloads/openwrt6431/staging_dir/toolchain-mips_24kc_gcc-10.1.0_musl/usr/lib -L/home/joerg/Downloads/openwrt6431/staging_dir/toolchain-mips_24kc_gcc-10.1.0_musl/lib -znow -zrelro " make -j1 -C /home/joerg/Downloads/openwrt6431/build_dir/target-mips_24kc_musl/libsrtp2-2.2.0/. AR="mips-openwrt-linux-musl-gcc-ar" AS="ccache_cc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -ffile-prefix-map=/home/joerg/Downloads/openwrt6431/build_dir/target-mips_24kc_musl/libsrtp2-2.2.0=libsrtp2-2.2.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" LD=mips-openwrt-linux-musl-ld NM="mips-openwrt-linux-musl-gcc-nm" CC="ccache_cc" GCC="ccache_cc" CXX="ccache_cxx" 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 '/home/joerg/Downloads/openwrt6431/build_dir/target-mips_24kc_musl/libsrtp2-2.2.0' ccache_cc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -I/home/joerg/Downloads/openwrt6431/staging_dir/target-mips_24kc_musl/usr/include -I/home/joerg/Downloads/openwrt6431/staging_dir/toolchain-mips_24kc_gcc-10.1.0_musl/usr/include -I/home/joerg/Downloads/openwrt6431/staging_dir/toolchain-mips_24kc_gcc-10.1.0_musl/include/fortify -I/home/joerg/Downloads/openwrt6431/staging_dir/toolchain-mips_24kc_gcc-10.1.0_musl/include -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -ffile-prefix-map=/home/joerg/Downloads/openwrt6431/build_dir/target-mips_24kc_musl/libsrtp2-2.2.0=libsrtp2-2.2.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fPIC -I./test -L. -L/home/joerg/Downloads/openwrt6431/staging_dir/target-mips_24kc_musl/usr/lib -L/home/joerg/Downloads/openwrt6431/staging_dir/target-mips_24kc_musl/lib -L/home/joerg/Downloads/openwrt6431/staging_dir/toolchain-mips_24kc_gcc-10.1.0_musl/usr/lib -L/home/joerg/Downloads/openwrt6431/staging_dir/toolchain-mips_24kc_gcc-10.1.0_musl/lib -znow -zrelro -o crypto/test/aes_calc crypto/test/aes_calc.c test/util.c libsrtp2.a -lsrtp2 /home/joerg/Downloads/openwrt6431/staging_dir/toolchain-mips_24kc_gcc-10.1.0_musl/lib/gcc/mips-openwrt-linux-musl/10.1.0/../../../../mips-openwrt-linux-musl/bin/ld: libsrtp2.a(datatypes.o):(.bss+0x0): multiple definition of `bit_string'; /home/joerg/Downloads/openwrt6431/tmp/ccpyx3eU.o:(.bss+0x0): first defined here collect2: error: ld returned 1 exit status make[4]: *** [Makefile:184: crypto/test/aes_calc] Error 1 make[4]: Leaving directory '/home/joerg/Downloads/openwrt6431/build_dir/target-mips_24kc_musl/libsrtp2-2.2.0' make[3]: *** [Makefile:67: /home/joerg/Downloads/openwrt6431/build_dir/target-mips_24kc_musl/libsrtp2-2.2.0/.built] Error 2 make[3]: Leaving directory '/home/joerg/Downloads/openwrt6431/feeds/telephony/libs/libsrtp2' time: package/feeds/telephony/libsrtp2/compile#0.30#0.12#0.49 make[2]: *** [package/Makefile:113: package/feeds/telephony/libsrtp2/compile] Error 2 make[2]: Leaving directory '/home/joerg/Downloads/openwrt6431' make[1]: *** [package/Makefile:107: /home/joerg/Downloads/openwrt6431/staging_dir/target-mips_24kc_musl/stamp/.package_compile] Error 2 make[1]: Leaving directory '/home/joerg/Downloads/openwrt6431' make: *** [/home/joerg/Downloads/openwrt6431/include/toplevel.mk:235: world] Fehler 2
Fixed.
Maintainer: @jslachta Environment: MIPS, Arcadyan VGV7510KW22 (o2 Box 6431), telephony.git master
Description: gcc-10 is now in openwrt.
Upstream fix: https://github.com/cisco/libsrtp/commit/716a73862b387a2107f37398c0fb7d9a754c0ccd