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
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]: Leaving directory 'TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/git/tools/ltp-pan'
make[2]: *** [<builtin>: ltp-pan.o] Error 1
make[1]: Leaving directory 'TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/git/tools'
make[1]: *** [Makefile:2: all] Error 2
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.747421: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.747421, line 179
	#2: die, TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/temp/run.do_compile.747421, line 164
	#3: oe_runmake, TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/temp/run.do_compile.747421, line 169
	#4: base_do_compile, TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/temp/run.do_compile.747421, line 147
	#5: do_compile, TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/temp/run.do_compile.747421, line 141
	#6: main, TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/temp/run.do_compile.747421, line 189

Error details

Submitted on:
22/04/25 11:58
Error type:
Recipe
Task:
do_compile
Recipe:
mce-test
Recipe version:
20230601+git-r0
Machine:
qemux86-64
Distro:
nodistro
Build system:
x86_64-linux
Target system:
x86_64-oe-linux
Host distro:
gentoo-2.17/gentoo-2.17
Branch:
jansa/master
Commit:
d8f7d9321a95ee69cc93591fb6798b7482480ad7
Build:
#205102
Submitter:
Martin.Jansa@gmail.com
Similar errors:
4
Open a bug