lib_tcp.c:(.text+0x1bd): warning: gethostbyname is obsolescent, use getnameinfo() instead. make[2]: Leaving directory `/home/test/test/output/build/lmbench-3.0-a9/src' make[2]: Entering directory `/home/test/test/output/build/lmbench-3.0-a9/src' /home/test/test/output/host/usr/bin/x86_64-unknown-linux-uclibc-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_off64_t -DHAVE_lseek64 -DRUSAGE -DHAVE_uint=1 -DHAVE_int64_t=1 -DHAVE_pmap_clnt_h -DHAVE_socklen_t -DHAVE_DRAND48 -DHAVE_SCHED_SETAFFINITY=1 -o ../bin/x86_64/cache cache.c ../bin/x86_64/lmbench.a -lm /home/test/test/output/host/usr/bin/x86_64-unknown-linux-uclibc-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_off64_t -DHAVE_lseek64 -DRUSAGE -DHAVE_uint=1 -DHAVE_int64_t=1 -DHAVE_pmap_clnt_h -DHAVE_socklen_t -DHAVE_DRAND48 -DHAVE_SCHED_SETAFFINITY=1 -o ../bin/x86_64/lat_dram_page lat_dram_page.c ../bin/x86_64/lmbench.a -lm /home/test/test/output/host/usr/bin/x86_64-unknown-linux-uclibc-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_off64_t -DHAVE_lseek64 -DRUSAGE -DHAVE_uint=1 -DHAVE_int64_t=1 -DHAVE_pmap_clnt_h -DHAVE_socklen_t -DHAVE_DRAND48 -DHAVE_SCHED_SETAFFINITY=1 -o ../bin/x86_64/lat_pmake lat_pmake.c ../bin/x86_64/lmbench.a -lm /home/test/test/output/host/usr/bin/x86_64-unknown-linux-uclibc-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_off64_t -DHAVE_lseek64 -DRUSAGE -DHAVE_uint=1 -DHAVE_int64_t=1 -DHAVE_pmap_clnt_h -DHAVE_socklen_t -DHAVE_DRAND48 -DHAVE_SCHED_SETAFFINITY=1 -o ../bin/x86_64/lat_rand lat_rand.c ../bin/x86_64/lmbench.a -lm /home/test/test/output/host/usr/bin/x86_64-unknown-linux-uclibc-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_off64_t -DHAVE_lseek64 -DRUSAGE -DHAVE_uint=1 -DHAVE_int64_t=1 -DHAVE_pmap_clnt_h -DHAVE_socklen_t -DHAVE_DRAND48 -DHAVE_SCHED_SETAFFINITY=1 -o ../bin/x86_64/lat_usleep lat_usleep.c ../bin/x86_64/lmbench.a -lm /home/test/test/output/host/usr/bin/x86_64-unknown-linux-uclibc-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_off64_t -DHAVE_lseek64 -DRUSAGE -DHAVE_uint=1 -DHAVE_int64_t=1 -DHAVE_pmap_clnt_h -DHAVE_socklen_t -DHAVE_DRAND48 -DHAVE_SCHED_SETAFFINITY=1 -o ../bin/x86_64/lat_cmd lat_cmd.c ../bin/x86_64/lmbench.a -lm make[2]: Leaving directory `/home/test/test/output/build/lmbench-3.0-a9/src' make[1]: Leaving directory `/home/test/test/output/build/lmbench-3.0-a9/src' >>> lmbench 3.0-a9 Installing to target /usr/bin/make -j12 CFLAGS=" -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" OS=x86_64 CC="/home/test/test/output/host/usr/bin/x86_64-unknown-linux-uclibc-gcc" BASE=/home/test/test/output/target/usr -C /home/test/test/output/build/lmbench-3.0-a9/src install make[1]: Entering directory `/home/test/test/output/build/lmbench-3.0-a9/src' make[2]: Entering directory `/home/test/test/output/build/lmbench-3.0-a9/src' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/test/test/output/build/lmbench-3.0-a9/src' make[2]: Entering directory `/home/test/test/output/build/lmbench-3.0-a9/src' make[2]: Nothing to be done for `opt'. make[2]: Leaving directory `/home/test/test/output/build/lmbench-3.0-a9/src' make[2]: Entering directory `/home/test/test/output/build/lmbench-3.0-a9/src' if [ ! -d /home/test/test/output/target/usr ]; then mkdir /home/test/test/output/target/usr; fi if [ ! -d /home/test/test/output/target/usr/bin ]; then mkdir /home/test/test/output/target/usr/bin; fi if [ ! -d /home/test/test/output/target/usr/lib ]; then mkdir /home/test/test/output/target/usr/lib; fi cp ../bin/x86_64/bw_file_rd ../bin/x86_64/bw_mem ../bin/x86_64/bw_mmap_rd ../bin/x86_64/bw_pipe ../bin/x86_64/bw_tcp ../bin/x86_64/bw_unix ../bin/x86_64/hello ../bin/x86_64/lat_select ../bin/x86_64/lat_pipe ../bin/x86_64/lat_rpc ../bin/x86_64/lat_syscall ../bin/x86_64/lat_tcp ../bin/x86_64/lat_udp ../bin/x86_64/lat_mmap ../bin/x86_64/mhz ../bin/x86_64/lat_proc ../bin/x86_64/lat_pagefault ../bin/x86_64/lat_connect ../bin/x86_64/lat_fs ../bin/x86_64/lat_sig ../bin/x86_64/lat_mem_rd ../bin/x86_64/lat_ctx ../bin/x86_64/lat_sem ../bin/x86_64/memsize ../bin/x86_64/lat_unix ../bin/x86_64/lmdd ../bin/x86_64/timing_o ../bin/x86_64/enough ../bin/x86_64/msleep ../bin/x86_64/loop_o ../bin/x86_64/lat_fifo ../bin/x86_64/lmhttp ../bin/x86_64/lat_http ../bin/x86_64/lat_fcntl ../bin/x86_64/disk ../bin/x86_64/lat_unix_connect ../bin/x86_64/flushdisk ../bin/x86_64/lat_ops ../bin/x86_64/line ../bin/x86_64/tlb ../bin/x86_64/par_mem ../bin/x86_64/par_ops ../bin/x86_64/stream /home/test/test/output/target/usr/bin cp ../bin/x86_64/lmbench.a /home/test/test/output/target/usr/lib/libmbench.a make[2]: Leaving directory `/home/test/test/output/build/lmbench-3.0-a9/src' make[1]: Leaving directory `/home/test/test/output/build/lmbench-3.0-a9/src' >>> host-lpc3250loader 1.0 Extracting gzip -d -c /home/test/dl/host-lpc3250loader-1.0.tar.gz | tar --strip-components=1 -C /home/test/test/output/build/host-lpc3250loader-1.0 -xf - >>> host-lpc3250loader 1.0 Patching package//lpc3250loader >>> host-lpc3250loader 1.0 Configuring >>> host-lpc3250loader 1.0 Building >>> host-lpc3250loader 1.0 Installing to host directory /usr/bin/install -m 0755 -D /home/test/test/output/build/host-lpc3250loader-1.0/LPC3250loader.py /home/test/test/output/host/usr/bin/LPC3250loader.py >>> lua 5.1.5 Extracting gzip -d -c /home/test/dl/lua-5.1.5.tar.gz | tar --strip-components=1 -C /home/test/test/output/build/lua-5.1.5 -xf - >>> lua 5.1.5 Patching package//lua Applying lua-01-root-path.patch using patch: patching file etc/lua.pc patching file src/luaconf.h Applying lua-02-shared-libs-for-lua.patch using patch: patching file src/Makefile Applying lua-03-shared-libs-for-luac.patch using patch: patching file src/ldo.h patching file src/lfunc.h patching file src/lmem.h patching file src/lstring.h patching file src/lundump.h patching file src/Makefile Hunk #2 succeeded at 62 with fuzz 2. >>> lua 5.1.5 Configuring >>> lua 5.1.5 Building /usr/bin/make -j12 CC="/home/test/test/output/host/usr/bin/x86_64-unknown-linux-uclibc-gcc" RANLIB="/home/test/test/output/host/usr/bin/x86_64-unknown-linux-uclibc-ranlib" CFLAGS=" -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN" MYLIBS="-ldl" AR="/home/test/test/output/host/usr/bin/x86_64-unknown-linux-uclibc-ar rcu" PKG_VERSION=5.1.5 -C /home/test/test/output/build/lua-5.1.5/src all make[1]: Entering directory `/home/test/test/output/build/lua-5.1.5/src' /home/test/test/output/host/usr/bin/x86_64-unknown-linux-uclibc-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lapi.o lapi.c /home/test/test/output/host/usr/bin/x86_64-unknown-linux-uclibc-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lcode.o lcode.c /home/test/test/output/host/usr/bin/x86_64-unknown-linux-uclibc-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o ldebug.o ldebug.c /home/test/test/output/host/usr/bin/x86_64-unknown-linux-uclibc-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o ldo.o ldo.c /home/test/test/output/host/usr/bin/x86_64-unknown-linux-uclibc-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o ldump.o ldump.c /home/test/test/output/host/usr/bin/x86_64-unknown-linux-uclibc-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lfunc.o lfunc.c /home/test/test/output/host/usr/bin/x86_64-unknown-linux-uclibc-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lgc.o lgc.c /home/test/test/output/host/usr/bin/x86_64-unknown-linux-uclibc-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o llex.o llex.c /home/test/test/output/host/usr/bin/x86_64-unknown-linux-uclibc-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lmem.o lmem.c /home/test/test/output/host/usr/bin/x86_64-unknown-linux-uclibc-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lobject.o lobject.c /home/test/test/output/host/usr/bin/x86_64-unknown-linux-uclibc-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lopcodes.o lopcodes.c /home/test/test/output/host/usr/bin/x86_64-unknown-linux-uclibc-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lparser.o lparser.c /home/test/test/output/host/usr/bin/x86_64-unknown-linux-uclibc-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lstate.o lstate.c /home/test/test/output/host/usr/bin/x86_64-unknown-linux-uclibc-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lstring.o lstring.c /home/test/test/output/host/usr/bin/x86_64-unknown-linux-uclibc-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o ltable.o ltable.c /home/test/test/output/host/usr/bin/x86_64-unknown-linux-uclibc-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o ltm.o ltm.c /home/test/test/output/host/usr/bin/x86_64-unknown-linux-uclibc-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lundump.o lundump.c /home/test/test/output/host/usr/bin/x86_64-unknown-linux-uclibc-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lvm.o lvm.c /home/test/test/output/host/usr/bin/x86_64-unknown-linux-uclibc-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lzio.o lzio.c /home/test/test/output/host/usr/bin/x86_64-unknown-linux-uclibc-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lauxlib.o lauxlib.c /home/test/test/output/host/usr/bin/x86_64-unknown-linux-uclibc-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lbaselib.o lbaselib.c /home/test/test/output/host/usr/bin/x86_64-unknown-linux-uclibc-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o ldblib.o ldblib.c /home/test/test/output/host/usr/bin/x86_64-unknown-linux-uclibc-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o liolib.o liolib.c /home/test/test/output/host/usr/bin/x86_64-unknown-linux-uclibc-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lmathlib.o lmathlib.c /home/test/test/output/host/usr/bin/x86_64-unknown-linux-uclibc-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o loslib.o loslib.c /home/test/test/output/host/usr/bin/x86_64-unknown-linux-uclibc-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o ltablib.o ltablib.c /home/test/test/output/host/usr/bin/x86_64-unknown-linux-uclibc-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lstrlib.o lstrlib.c /home/test/test/output/host/usr/bin/x86_64-unknown-linux-uclibc-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o loadlib.o loadlib.c /home/test/test/output/host/usr/bin/x86_64-unknown-linux-uclibc-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o linit.o linit.c /home/test/test/output/host/usr/bin/x86_64-unknown-linux-uclibc-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lua.o lua.c /home/test/test/output/host/usr/bin/x86_64-unknown-linux-uclibc-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o luac.o luac.c /home/test/test/output/host/usr/bin/x86_64-unknown-linux-uclibc-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o print.o print.c /home/test/test/output/host/usr/bin/x86_64-unknown-linux-uclibc-ar rcu liblua.a lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o lundump.o lvm.o lzio.o lauxlib.o lbaselib.o ldblib.o liolib.o lmathlib.o loslib.o ltablib.o lstrlib.o loadlib.o linit.o # DLL needs all object files /home/test/test/output/host/usr/bin/x86_64-unknown-linux-uclibc-gcc -o liblua.so.5.1.5 -shared -Wl,-soname="liblua.so.5.1.5" lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o lundump.o lvm.o lzio.o lauxlib.o lbaselib.o ldblib.o liolib.o lmathlib.o loslib.o ltablib.o lstrlib.o loadlib.o linit.o -nostdlib -lgcc /home/test/test/output/host/usr/bin/x86_64-unknown-linux-uclibc-ranlib liblua.a /home/test/test/output/host/opt/ext-toolchain/bin/../lib/gcc/x86_64-unknown-linux-uclibc/4.6.3/../../../../x86_64-unknown-linux-uclibc/bin/ld: lapi.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC lapi.o: could not read symbols: Bad value collect2: ld returned 1 exit status make[1]: *** [liblua.so] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/home/test/test/output/build/lua-5.1.5/src' make: *** [/home/test/test/output/build/lua-5.1.5/.stamp_built] Error 2