DEBUG: SITE files ['endian-little', 'bit-32', 'ix86-common', 'common-linux', 'common-musl', 'i586-linux-musl', 'common']
DEBUG: Executing shell function do_compile
NOTE: make -j 8 SHCC=i586-bec-linux-musl-gcc  -m32 -march=i586 -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmpfs/work/i586-bec-linux-musl/tsocks/1.8beta5-r0/recipe-sysroot -fPIC -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now
i586-bec-linux-musl-gcc  -m32 -march=i586 -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmpfs/work/i586-bec-linux-musl/tsocks/1.8beta5-r0/recipe-sysroot -fPIC -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=TOPDIR/build/tmpfs/work/i586-bec-linux-musl/tsocks/1.8beta5-r0=/usr/src/debug/tsocks/1.8beta5-r0 -fdebug-prefix-map=TOPDIR/build/tmpfs/work/i586-bec-linux-musl/tsocks/1.8beta5-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmpfs/work/i586-bec-linux-musl/tsocks/1.8beta5-r0/recipe-sysroot-native=  -Wall -I. -c  tsocks.c -o tsocks.o
i586-bec-linux-musl-gcc  -m32 -march=i586 -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmpfs/work/i586-bec-linux-musl/tsocks/1.8beta5-r0/recipe-sysroot -fPIC -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=TOPDIR/build/tmpfs/work/i586-bec-linux-musl/tsocks/1.8beta5-r0=/usr/src/debug/tsocks/1.8beta5-r0 -fdebug-prefix-map=TOPDIR/build/tmpfs/work/i586-bec-linux-musl/tsocks/1.8beta5-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmpfs/work/i586-bec-linux-musl/tsocks/1.8beta5-r0/recipe-sysroot-native=  -Wall -I. -c  common.c -o common.o
i586-bec-linux-musl-gcc  -m32 -march=i586 -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmpfs/work/i586-bec-linux-musl/tsocks/1.8beta5-r0/recipe-sysroot -fPIC -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=TOPDIR/build/tmpfs/work/i586-bec-linux-musl/tsocks/1.8beta5-r0=/usr/src/debug/tsocks/1.8beta5-r0 -fdebug-prefix-map=TOPDIR/build/tmpfs/work/i586-bec-linux-musl/tsocks/1.8beta5-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmpfs/work/i586-bec-linux-musl/tsocks/1.8beta5-r0/recipe-sysroot-native=  -Wall -I. -c  parser.c -o parser.o
i586-bec-linux-musl-gcc  -m32 -march=i586 -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmpfs/work/i586-bec-linux-musl/tsocks/1.8beta5-r0/recipe-sysroot -fPIC -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=TOPDIR/build/tmpfs/work/i586-bec-linux-musl/tsocks/1.8beta5-r0=/usr/src/debug/tsocks/1.8beta5-r0 -fdebug-prefix-map=TOPDIR/build/tmpfs/work/i586-bec-linux-musl/tsocks/1.8beta5-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmpfs/work/i586-bec-linux-musl/tsocks/1.8beta5-r0/recipe-sysroot-native=  -Wall -I. -static -o saveme saveme.c
In file included from tsocks.c:44:
TOPDIR/build/tmpfs/work/i586-bec-linux-musl/tsocks/1.8beta5-r0/recipe-sysroot/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp]
 #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
  ^~~~~~~
tsocks.c: In function 'connect':
tsocks.c:215:27: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign]
      (void *) &sock_type, &sock_type_len);
                           ^~~~~~~~~~~~~~
In file included from tsocks.c:39:
TOPDIR/build/tmpfs/work/i586-bec-linux-musl/tsocks/1.8beta5-r0/recipe-sysroot/usr/include/sys/socket.h:342:5: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *'
 int getsockopt (int, int, int, void *__restrict, socklen_t *__restrict);
     ^~~~~~~~~~
tsocks.c:271:62: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign]
    if (!getpeername(__fd, (struct sockaddr *) &peer_address, &namelen)) {
                                                              ^~~~~~~~
In file included from tsocks.c:39:
TOPDIR/build/tmpfs/work/i586-bec-linux-musl/tsocks/1.8beta5-r0/recipe-sysroot/usr/include/sys/socket.h:333:5: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *'
 int getpeername (int, struct sockaddr *__restrict, socklen_t *__restrict);
     ^~~~~~~~~~~
tsocks.c: In function 'select':
tsocks.c:343:8: warning: variable 'rc' set but not used [-Wunused-but-set-variable]
    int rc = 0;
        ^~
tsocks.c: In function 'poll':
tsocks.c:526:8: warning: variable 'rc' set but not used [-Wunused-but-set-variable]
    int rc = 0, i;
        ^~
i586-bec-linux-musl-gcc  -m32 -march=i586 -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmpfs/work/i586-bec-linux-musl/tsocks/1.8beta5-r0/recipe-sysroot -fPIC -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=TOPDIR/build/tmpfs/work/i586-bec-linux-musl/tsocks/1.8beta5-r0=/usr/src/debug/tsocks/1.8beta5-r0 -fdebug-prefix-map=TOPDIR/build/tmpfs/work/i586-bec-linux-musl/tsocks/1.8beta5-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmpfs/work/i586-bec-linux-musl/tsocks/1.8beta5-r0/recipe-sysroot-native=  -Wall -I. -o inspectsocks inspectsocks.c common.o -lc 
i586-bec-linux-musl-gcc  -m32 -march=i586 -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmpfs/work/i586-bec-linux-musl/tsocks/1.8beta5-r0/recipe-sysroot -fPIC -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=TOPDIR/build/tmpfs/work/i586-bec-linux-musl/tsocks/1.8beta5-r0=/usr/src/debug/tsocks/1.8beta5-r0 -fdebug-prefix-map=TOPDIR/build/tmpfs/work/i586-bec-linux-musl/tsocks/1.8beta5-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmpfs/work/i586-bec-linux-musl/tsocks/1.8beta5-r0/recipe-sysroot-native=  -Wall -I. -o validateconf validateconf.c common.o parser.o -lc
i586-bec-linux-musl-gcc  -m32 -march=i586 -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmpfs/work/i586-bec-linux-musl/tsocks/1.8beta5-r0/recipe-sysroot -fPIC -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=TOPDIR/build/tmpfs/work/i586-bec-linux-musl/tsocks/1.8beta5-r0=/usr/src/debug/tsocks/1.8beta5-r0 -fdebug-prefix-map=TOPDIR/build/tmpfs/work/i586-bec-linux-musl/tsocks/1.8beta5-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmpfs/work/i586-bec-linux-musl/tsocks/1.8beta5-r0/recipe-sysroot-native=  -Wall -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now -I. -nostdlib -shared -o libtsocks.so.1.8 tsocks.o common.o parser.o  -ldl  -lc
tsocks.c:954: error: undefined reference to '__stack_chk_fail_local'
tsocks.c:842: error: undefined reference to '__stack_chk_fail_local'
tsocks.c:339: error: undefined reference to '__stack_chk_fail_local'
tsocks.c:522: error: undefined reference to '__stack_chk_fail_local'
collect2: error: ld returned 1 exit status
Makefile:53: recipe for target 'libtsocks.so.1.8' failed
make: *** [libtsocks.so.1.8] Error 1
make: *** Waiting for unfinished jobs....
ERROR: oe_runmake failed
WARNING: exit code 1 from a shell command.
ERROR: Function failed: do_compile (log file is located at TOPDIR/build/tmpfs/work/i586-bec-linux-musl/tsocks/1.8beta5-r0/temp/log.do_compile.29403)

Error details

Submitted on:
10/09/18 03:24
Error type:
Recipe
Task:
do_compile
Recipe:
tsocks
Recipe version:
1.8beta5-r0
Machine:
qemux86
Distro:
bec
Build system:
x86_64-linux
Target system:
i586-bec-linux-musl
Host distro:
ubuntu-16.04/ubuntu-16.04
Branch:
HEAD
Commit:
e9d5a20c45928c8cc62818abfe2752cca262214a
Build:
#68134
Submitter:
jenkins@kwaj
Similar errors:
4
Open a bug