DEBUG: Executing shell function do_compile
NOTE: make -j 70 -l 140 CFLAGS= -O2 -g -fcanon-prefix-map -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/git=/usr/src/debug/mce-test/20230601+git -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/git=/usr/src/debug/mce-test/20230601+git -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/git=/usr/src/debug/mce-test/20230601+git -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/git=/usr/src/debug/mce-test/20230601+git -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/recipe-sysroot= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/recipe-sysroot-native= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/recipe-sysroot-native= -pipe
make -C tools
make[1]: Entering directory 'TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/git/tools'
make -C ltp-pan
make[2]: Entering directory 'TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/git/tools/ltp-pan'
x86_64-oe-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-all -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/recipe-sysroot -O2 -g -fcanon-prefix-map -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/git=/usr/src/debug/mce-test/20230601+git -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/git=/usr/src/debug/mce-test/20230601+git -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/git=/usr/src/debug/mce-test/20230601+git -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/git=/usr/src/debug/mce-test/20230601+git -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/recipe-sysroot= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/recipe-sysroot-native= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/recipe-sysroot-native= -pipe -c -o ltp-pan.o ltp-pan.c
x86_64-oe-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-all -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/recipe-sysroot -O2 -g -fcanon-prefix-map -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/git=/usr/src/debug/mce-test/20230601+git -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/git=/usr/src/debug/mce-test/20230601+git -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/git=/usr/src/debug/mce-test/20230601+git -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/git=/usr/src/debug/mce-test/20230601+git -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/recipe-sysroot= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/recipe-sysroot-native= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/recipe-sysroot-native= -pipe -c -o zoolib.o zoolib.c
x86_64-oe-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-all -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/recipe-sysroot -O2 -g -fcanon-prefix-map -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/git=/usr/src/debug/mce-test/20230601+git -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/git=/usr/src/debug/mce-test/20230601+git -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/git=/usr/src/debug/mce-test/20230601+git -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/git=/usr/src/debug/mce-test/20230601+git -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/recipe-sysroot= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/recipe-sysroot-native= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/recipe-sysroot-native= -pipe -c -o splitstr.o splitstr.c
ltp-pan.c: In function 'main':
ltp-pan.c:459:19: error: assignment to '__sighandler_t' {aka 'void (*)(int)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types]
459 | sa.sa_handler = wait_handler;
| ^
In file included from ltp-pan.c:67:
zoolib.h:52:6: note: 'wait_handler' declared here
52 | void wait_handler();
| ^~~~~~~~~~~~
In file included from TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/recipe-sysroot/usr/include/sys/param.h:28,
from ltp-pan.c:56:
TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/recipe-sysroot/usr/include/signal.h:72:16: note: '__sighandler_t' declared here
72 | typedef void (*__sighandler_t) (int);
| ^~~~~~~~~~~~~~
ltp-pan.c:489:17: error: too many arguments to function 'wait_handler'; expected 0, have 1
489 | wait_handler(SIGINT);
| ^~~~~~~~~~~~ ~~~~~~
zoolib.h:52:6: note: declared here
52 | void wait_handler();
| ^~~~~~~~~~~~
ltp-pan.c:555:17: error: too many arguments to function 'wait_handler'; expected 0, have 1
555 | wait_handler(SIGINT);
| ^~~~~~~~~~~~ ~~~~~~
zoolib.h:52:6: note: declared here
52 | void wait_handler();
| ^~~~~~~~~~~~
ltp-pan.c:564:13: error: too many arguments to function 'wait_handler'; expected 0, have 1
564 | wait_handler(0); /* Reset the signal ratchet. */
| ^~~~~~~~~~~~ ~
zoolib.h:52:6: note: declared here
52 | void wait_handler();
| ^~~~~~~~~~~~
ltp-pan.c:579:17: error: too many arguments to function 'wait_handler'; expected 0, have 1
579 | wait_handler(SIGINT);
| ^~~~~~~~~~~~ ~~~~~~
zoolib.h:52:6: note: declared here
52 | void wait_handler();
| ^~~~~~~~~~~~
ltp-pan.c: At top level:
ltp-pan.c:1294:1: error: conflicting types for 'wait_handler'; have 'void(int)'
1294 | wait_handler( int sig )
| ^~~~~~~~~~~~
zoolib.h:52:6: note: previous declaration of 'wait_handler' with type 'void(void)'
52 | void wait_handler();
| ^~~~~~~~~~~~
ltp-pan.c: In function 'run_child':
ltp-pan.c:886:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
886 | write(errpipe[1], &errlen, sizeof(errlen));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ltp-pan.c:887:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
887 | write(errpipe[1], errbuf, errlen);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ltp-pan.c:893:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
893 | write(errpipe[1], &errlen, sizeof(errlen));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ltp-pan.c:894:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
894 | write(errpipe[1], errbuf, errlen);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ltp-pan.c:901:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
901 | write(errpipe[1], &errlen, sizeof(errlen));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ltp-pan.c:902:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
902 | write(errpipe[1], errbuf, errlen);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ltp-pan.c:928:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
928 | write(errpipe[1], &errlen, sizeof(errlen));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ltp-pan.c:929:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
929 | write(errpipe[1], errbuf, errlen);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ltp-pan.c:952:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
952 | read(errpipe[0], errbuf, errlen);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [<builtin>: ltp-pan.o] Error 1
make[2]: *** Waiting for unfinished jobs....
zoolib.c: In function 'cat_args':
zoolib.c:402:9: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
402 | *cmd='\0';
| ~~~~^~~~~
zoolib.c:395:24: note: destination object of size 0 allocated by 'malloc'
395 | if( (cmd = (char *)malloc(size)) == NULL ) {
| ^~~~~~~~~~~~
make[2]: Leaving directory 'TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/git/tools/ltp-pan'
make[1]: *** [Makefile:2: all] Error 2
make[1]: Leaving directory 'TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/git/tools'
make: *** [Makefile:2: all] Error 2
ERROR: oe_runmake failed
WARNING: TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/temp/run.do_compile.502264:179 exit 1 from 'exit 1'
WARNING: Backtrace (BB generated script):
#1: bbfatal_log, TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/temp/run.do_compile.502264, line 179
#2: die, TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/temp/run.do_compile.502264, line 164
#3: oe_runmake, TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/temp/run.do_compile.502264, line 169
#4: base_do_compile, TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/temp/run.do_compile.502264, line 147
#5: do_compile, TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/temp/run.do_compile.502264, line 141
#6: main, TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/temp/run.do_compile.502264, line 189