Applying ./patches/010-decrease_optimisation.patch using plaintext: patching file GNUmakefile Applying ./patches/020-configure_features.patch using plaintext: patching file gatling_features.h make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/gatling-0.16' rm -f havesetresuid.h if arc-openwrt-linux-gnu-gcc -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB -o tryresuid trysetresuid.c >/dev/null 2>&1; then echo "#define LIBC_HAS_SETRESUID"; fi > havesetresuid.h rm -f tryresuid (head -n 1 CHANGES | sed 's/\([^:]*\):/#define VERSION "\1"/') > version.h rm -f havealloca.h echo "#include " > havealloca.h if arc-openwrt-linux-gnu-gcc -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB -c tryalloca.c -DA >/dev/null 2>&1; then echo "#include "; fi >> havealloca.h if arc-openwrt-linux-gnu-gcc -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB -c tryalloca.c -DB >/dev/null 2>&1; then echo "#include "; fi >> havealloca.h rm -f tryalloca.o arc-openwrt-linux-gnu-gcc -c gatling.c -o gatling.o -I. -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB cc1: note: someone does not honour COPTS correctly, passed 0 times gatling.c: In function 'main': gatling.c:1451:7: warning: variable 'dosmb' set but not used [-Wunused-but-set-variable] 1451 | int dosmb=0; | ^~~~~ arc-openwrt-linux-gnu-gcc -c mime.c -o mime.o -I. -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB cc1: note: someone does not honour COPTS correctly, passed 0 times arc-openwrt-linux-gnu-gcc -c ftp.c -o ftp.o -I. -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB cc1: note: someone does not honour COPTS correctly, passed 0 times arc-openwrt-linux-gnu-gcc -c http.c -o http.o -I. -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB cc1: note: someone does not honour COPTS correctly, passed 0 times arc-openwrt-linux-gnu-gcc -c smb.c -o smb.o -I. -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB cc1: note: someone does not honour COPTS correctly, passed 0 times arc-openwrt-linux-gnu-gcc -c common.c -o common.o -I. -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB cc1: note: someone does not honour COPTS correctly, passed 0 times arc-openwrt-linux-gnu-gcc -c connstat.c -o connstat.o -I. -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB cc1: note: someone does not honour COPTS correctly, passed 0 times arc-openwrt-linux-gnu-gcc -c httpstream.c -o httpstream.o -I. -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB cc1: note: someone does not honour COPTS correctly, passed 0 times arc-openwrt-linux-gnu-gcc -c dirfd.c -o dirfd.o -I. -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB cc1: note: someone does not honour COPTS correctly, passed 0 times if arc-openwrt-linux-gnu-gcc -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB -o trymd5 trymd5.c >/dev/null 2>&1; then echo ""; else \ if arc-openwrt-linux-gnu-gcc -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB -o trymd5 trymd5.c -lmd >/dev/null 2>&1; then echo "-lmd"; else \ if arc-openwrt-linux-gnu-gcc -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB -o trymd5 trymd5.c -lcrypto >/dev/null 2>&1; then echo "-lcrypto"; \ fi; fi; fi > md5lib rm -f trymd5 if arc-openwrt-linux-gnu-gcc -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB -o trysocket trysocket.c >/dev/null 2>&1; then echo ""; else \ if arc-openwrt-linux-gnu-gcc -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB -o trysocket trysocket.c -lsocket >/dev/null 2>&1; then echo "-lsocket"; else \ if arc-openwrt-linux-gnu-gcc -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB -o trysocket trysocket.c -lsocket -lnsl >/dev/null 2>&1; then echo "-lsocket -lnsl"; else \ if arc-openwrt-linux-gnu-gcc -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB -o trysocket trysocket.c -lwsock32 >/dev/null 2>&1; then echo "-lwsock32"; \ fi; fi; fi; fi > libsocket rm -f trysocket if arc-openwrt-linux-gnu-gcc -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB -o tryiconv tryiconv.c >/dev/null 2>&1; then echo ""; else \ if arc-openwrt-linux-gnu-gcc -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB -o tryiconv tryiconv.c -liconv >/dev/null 2>&1; then echo "-liconv"; else \ if arc-openwrt-linux-gnu-gcc -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB -o tryiconv tryiconv.c -L/usr/local/lib -liconv >/dev/null 2>&1; then \ echo "-L/usr/local/lib -liconv"; \ fi; fi; fi > libiconv rm -f tryiconv touch dummy.c arc-openwrt-linux-gnu-gcc -c dummy.c -o dummy.o -I. -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB cc1: note: someone does not honour COPTS correctly, passed 0 times ar q libsocketkludge.a dummy.o ar: creating libsocketkludge.a ranlib libsocketkludge.a if arc-openwrt-linux-gnu-gcc -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB -o trycrypt trycrypt.c >/dev/null 2>&1; then echo ""; else \ if arc-openwrt-linux-gnu-gcc -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB -o trycrypt trycrypt.c -lcrypt >/dev/null 2>&1; then echo "-lcrypt"; \ fi; fi > libcrypt rm -f trycrypt arc-openwrt-linux-gnu-gcc -s gatling.o mime.o ftp.o http.o smb.o common.o connstat.o httpstream.o dirfd.o -o gatling -lowfat -lz `cat libsocket libiconv libcrypt` `cat md5lib` arc-openwrt-linux-gnu-gcc -c httpbench.c -o httpbench.o -I. -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB cc1: note: someone does not honour COPTS correctly, passed 0 times arc-openwrt-linux-gnu-gcc -s httpbench.o -o httpbench -lowfat -lz `cat libsocket libiconv libcrypt` arc-openwrt-linux-gnu-gcc -c bindbench.c -o bindbench.o -I. -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB cc1: note: someone does not honour COPTS correctly, passed 0 times arc-openwrt-linux-gnu-gcc -s bindbench.o -o bindbench -lowfat -lz `cat libsocket libiconv libcrypt` arc-openwrt-linux-gnu-gcc -c dl.c -o dl.o -I. -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB cc1: note: someone does not honour COPTS correctly, passed 0 times arc-openwrt-linux-gnu-gcc -s dl.o -o dl -lowfat -lz `cat libsocket libiconv libcrypt` arc-openwrt-linux-gnu-gcc -c ioerr.c -o ioerr.o -I. -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB cc1: note: someone does not honour COPTS correctly, passed 0 times arc-openwrt-linux-gnu-gcc -s ioerr.o -o ioerr -lowfat -lz `cat libsocket libiconv libcrypt` arc-openwrt-linux-gnu-gcc -c bench.c -o bench.o -I. -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB cc1: note: someone does not honour COPTS correctly, passed 0 times arc-openwrt-linux-gnu-gcc -s bench.o -o bench -lowfat -lz `cat libsocket libiconv libcrypt` arc-openwrt-linux-gnu-gcc -c ssl.c -o ssl.o -I. -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB cc1: note: someone does not honour COPTS correctly, passed 0 times if arc-openwrt-linux-gnu-gcc -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB -o tryssl ssl.c -DMAIN -lowfat -lssl -lcrypto >/dev/null 2>&1 ; then echo ""; else \ if arc-openwrt-linux-gnu-gcc -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB -o tryssl ssl.c -DMAIN -lowfat -lssl -lcrypto -lpthread >/dev/null 2>&1 ; then echo "-lpthread"; \ fi; fi > libsslpthread rm -f tryssl arc-openwrt-linux-gnu-gcc -o tlsgatling gatling.c ssl.o mime.o ftp.c http.c smb.c common.c connstat.o httpstream.o dirfd.c -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB -DSUPPORT_HTTPS -DUSE_OPENSSL -s -lssl -lcrypto -lowfat -lz `cat libsocket libiconv libcrypt` `cat libsslpthread` cc1: note: someone does not honour COPTS correctly, passed 0 times gatling.c: In function 'main': gatling.c:1451:7: warning: variable 'dosmb' set but not used [-Wunused-but-set-variable] 1451 | int dosmb=0; | ^~~~~ cc1: note: someone does not honour COPTS correctly, passed 0 times cc1: note: someone does not honour COPTS correctly, passed 0 times cc1: note: someone does not honour COPTS correctly, passed 0 times cc1: note: someone does not honour COPTS correctly, passed 0 times cc1: note: someone does not honour COPTS correctly, passed 0 times arc-openwrt-linux-gnu-gcc -c pthreadbench.c -o pthreadbench.o -I. -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB cc1: note: someone does not honour COPTS correctly, passed 0 times arc-openwrt-linux-gnu-gcc pthreadbench.o -o pthreadbench -I. -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB -s -lowfat -lz `cat libsocket libiconv libcrypt` -lpthread arc-openwrt-linux-gnu-gcc -c cgi.c -o cgi.o -I. -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB cc1: note: someone does not honour COPTS correctly, passed 0 times arc-openwrt-linux-gnu-gcc -s cgi.o -o cgi -lowfat -lz `cat libsocket libiconv libcrypt` arc-openwrt-linux-gnu-gcc -c pssl.c -o pssl.o -I. -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB cc1: note: someone does not honour COPTS correctly, passed 0 times pssl.c: In function 'my_debug': pssl.c:135:3: warning: implicit declaration of function 'writev'; did you mean 'write'? [-Wimplicit-function-declaration] 135 | writev(1,v,sizeof(v)/sizeof(v[0])); | ^~~~~~ | write pssl.c:133:72: warning: 'buf' is used uninitialized [-Wuninitialized] 133 | struct iovec v[] = { { (char*)file, strlen(file) }, { ":",1 }, { buf,strlen(buf) }, {": ",2}, { (char*)str,strlen(str) } }; | ^~~~~~~~~~~ In file included from pssl.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-12.2.0_glibc/include/string.h:407:15: note: by argument 1 of type 'const char *' to 'strlen' declared here 407 | extern size_t strlen (const char *__s) | ^~~~~~ pssl.c:132:8: note: 'buf' declared here 132 | char buf[10]; | ^~~ arc-openwrt-linux-gnu-gcc -o ptlsgatling gatling.c pssl.c mime.o ftp.o http.c smb.c common.c connstat.o httpstream.o dirfd.o -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB -DSUPPORT_HTTPS -DUSE_POLARSSL -s -lmbedtls -lmbedx509 -lmbedcrypto -lowfat -lz `cat libsocket libiconv libcrypt` cc1: note: someone does not honour COPTS correctly, passed 0 times gatling.c: In function 'main': gatling.c:1451:7: warning: variable 'dosmb' set but not used [-Wunused-but-set-variable] 1451 | int dosmb=0; | ^~~~~ cc1: note: someone does not honour COPTS correctly, passed 0 times pssl.c: In function 'my_debug': pssl.c:135:3: warning: implicit declaration of function 'writev'; did you mean 'write'? [-Wimplicit-function-declaration] 135 | writev(1,v,sizeof(v)/sizeof(v[0])); | ^~~~~~ | write pssl.c:133:72: warning: 'buf' is used uninitialized [-Wuninitialized] 133 | struct iovec v[] = { { (char*)file, strlen(file) }, { ":",1 }, { buf,strlen(buf) }, {": ",2}, { (char*)str,strlen(str) } }; | ^~~~~~~~~~~ In file included from pssl.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-12.2.0_glibc/include/string.h:407:15: note: by argument 1 of type 'const char *' to 'strlen' declared here 407 | extern size_t strlen (const char *__s) | ^~~~~~ pssl.c:132:8: note: 'buf' declared here 132 | char buf[10]; | ^~~ cc1: note: someone does not honour COPTS correctly, passed 0 times cc1: note: someone does not honour COPTS correctly, passed 0 times cc1: note: someone does not honour COPTS correctly, passed 0 times arc-openwrt-linux-gnu-gcc -o tlsdl dl.c ssl.o -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB -DOPENSSL -s -lssl -lcrypto -lowfat -lz `cat libsocket libiconv libcrypt` `cat libsslpthread` cc1: note: someone does not honour COPTS correctly, passed 0 times arc-openwrt-linux-gnu-gcc -o ptlsdl dl.c pssl.o -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB -DMBEDTLS -s -lmbedtls -lmbedx509 -lmbedcrypto -lowfat -lz `cat libsocket libiconv libcrypt` cc1: note: someone does not honour COPTS correctly, passed 0 times arc-openwrt-linux-gnu-gcc -o acc acc.c -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB -s -lowfat cc1: note: someone does not honour COPTS correctly, passed 0 times arc-openwrt-linux-gnu-gcc -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB -s hcat.c -lowfat -lz `cat libsocket libiconv libcrypt` -o hcat cc1: note: someone does not honour COPTS correctly, passed 0 times arc-openwrt-linux-gnu-gcc -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB -s referrer.c -lowfat -lz `cat libsocket libiconv libcrypt` -o referrer cc1: note: someone does not honour COPTS correctly, passed 0 times arc-openwrt-linux-gnu-gcc -c referrer.c -o hitprofile.o -I. -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB -DALL cc1: note: someone does not honour COPTS correctly, passed 0 times arc-openwrt-linux-gnu-gcc -s hitprofile.o -o hitprofile -lowfat -lz `cat libsocket libiconv libcrypt` arc-openwrt-linux-gnu-gcc -c matchiprange.c -o matchiprange.o -I. -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB cc1: note: someone does not honour COPTS correctly, passed 0 times arc-openwrt-linux-gnu-gcc -s matchiprange.o -o matchiprange -lowfat -lz `cat libsocket libiconv libcrypt` arc-openwrt-linux-gnu-gcc -c getlinks.c -o getlinks.o -I. -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB cc1: note: someone does not honour COPTS correctly, passed 0 times arc-openwrt-linux-gnu-gcc -s getlinks.o -o getlinks -lowfat -lz `cat libsocket libiconv libcrypt` arc-openwrt-linux-gnu-gcc -c rellink.c -o rellink.o -I. -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB cc1: note: someone does not honour COPTS correctly, passed 0 times arc-openwrt-linux-gnu-gcc -s rellink.o -o rellink -lowfat -lz `cat libsocket libiconv libcrypt` arc-openwrt-linux-gnu-gcc -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB -s mktestdata.c -lowfat -lz `cat libsocket libiconv libcrypt` -o mktestdata cc1: note: someone does not honour COPTS correctly, passed 0 times arc-openwrt-linux-gnu-gcc -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB -s mmapbench.c -lowfat -lz `cat libsocket libiconv libcrypt` -o mmapbench cc1: note: someone does not honour COPTS correctly, passed 0 times arc-openwrt-linux-gnu-gcc -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB -s manymapbench.c -lowfat -lz `cat libsocket libiconv libcrypt` -o manymapbench cc1: note: someone does not honour COPTS correctly, passed 0 times arc-openwrt-linux-gnu-gcc -c forkbench.c -o forkbench.o -I. -pipe -Wall -O1 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB cc1: note: someone does not honour COPTS correctly, passed 0 times arc-openwrt-linux-gnu-gcc -s forkbench.o -o forkbench -lowfat -lz `cat libsocket libiconv libcrypt` arc-openwrt-linux-gnu-gcc -static -o forksbench forkbench.o -s -lowfat -lz `cat libsocket libiconv libcrypt` /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-12.2.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/12.2.0/../../../../arc-openwrt-linux-gnu/bin/ld: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-12.2.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/12.2.0/../../../../arc-openwrt-linux-gnu/lib/libc.a(iofclose.o): in function `_IO_new_fclose': iofclose.c:(.text+0x200): undefined reference to `_Unwind_Resume' /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-12.2.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/12.2.0/../../../../arc-openwrt-linux-gnu/bin/ld: iofclose.c:(.text+0x200): undefined reference to `_Unwind_Resume' /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-12.2.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/12.2.0/../../../../arc-openwrt-linux-gnu/bin/ld: GOT and PLT relocations cannot be fixed with a non dynamic linker /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-12.2.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/12.2.0/../../../../arc-openwrt-linux-gnu/bin/ld: final link failed: bad value collect2: error: ld returned 1 exit status make[4]: *** [GNUmakefile:87: forksbench] Error 1 make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/gatling-0.16' make[3]: *** [Makefile:43: /builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/gatling-0.16/.built] Error 2 time: package/feeds/packages/gatling/compile#15.90#2.26#19.42