DEBUG: Executing shell function do_compile
NOTE: make -j 70 -l 140 ./utils/cpucycle
make: 'utils/cpucycle' is up to date.
NOTE: make -j 70 -l 140 ./utils/nanosleep
make: 'utils/nanosleep' is up to date.
NOTE: make -j 70 -l 140 ./utils/uevent_reader
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/pm-qa/0.5.2/recipe-sysroot -O2 -g -fcanon-prefix-map -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/git=/usr/src/debug/pm-qa/0.5.2 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/git=/usr/src/debug/pm-qa/0.5.2 -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/git=/usr/src/debug/pm-qa/0.5.2 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/git=/usr/src/debug/pm-qa/0.5.2 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/recipe-sysroot= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/recipe-sysroot-native= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/recipe-sysroot-native= -pipe -pthread -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fcanon-prefix-map -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/git=/usr/src/debug/pm-qa/0.5.2 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/git=/usr/src/debug/pm-qa/0.5.2 -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/git=/usr/src/debug/pm-qa/0.5.2 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/git=/usr/src/debug/pm-qa/0.5.2 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/recipe-sysroot= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/recipe-sysroot-native= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/recipe-sysroot-native= -Wl,-z,relro,-z,now utils/uevent_reader.c -o utils/uevent_reader
utils/uevent_reader.c: In function 'main':
utils/uevent_reader.c:33:24: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types]
33 | signal(SIGINT, exit_handler);
| ^~~~~~~~~~~~
| |
| void (*)(void)
In file included from utils/uevent_reader.c:4:
TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/recipe-sysroot/usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)'
88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
| ~~~~~~~~~~~~~~~^~~~~~~~~
utils/uevent_reader.c:15:6: note: 'exit_handler' declared here
15 | void exit_handler()
| ^~~~~~~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/recipe-sysroot/usr/include/signal.h:72:16: note: '__sighandler_t' declared here
72 | typedef void (*__sighandler_t) (int);
| ^~~~~~~~~~~~~~
make: *** [<builtin>: utils/uevent_reader] Error 1
ERROR: oe_runmake failed
WARNING: TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/temp/run.do_compile.1188852:171 exit 1 from 'exit 1'
WARNING: Backtrace (BB generated script):
#1: bbfatal_log, TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/temp/run.do_compile.1188852, line 171
#2: die, TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/temp/run.do_compile.1188852, line 155
#3: oe_runmake, TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/temp/run.do_compile.1188852, line 150
#4: do_compile, TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/temp/run.do_compile.1188852, line 144
#5: main, TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/temp/run.do_compile.1188852, line 184