DEBUG: Executing shell function do_compile NOTE: VERBOSE=1 cmake --build TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/build --target all -- Change Dir: 'TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/build' Run Build Command(s): ninja -v -j 70 all [1/116] TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/recipe-sysroot-native/usr/bin/x86_64-oe-linux/x86_64-oe-linux-gcc --sysroot=TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/recipe-sysroot -D_GNU_SOURCE -Dlibfdcore_EXPORTS -ITOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/git/include -ITOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/build/include -ITOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/git/libfdcore -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/qemux86_64-oe-linux/freediameter/1.5.0+git/recipe-sysroot -O2 -g -fcanon-prefix-map -fmacro-prefix-map=TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/git=/usr/src/debug/freediameter/1.5.0+git -fdebug-prefix-map=TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/git=/usr/src/debug/freediameter/1.5.0+git -fmacro-prefix-map=TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/build=/usr/src/debug/freediameter/1.5.0+git -fdebug-prefix-map=TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/build=/usr/src/debug/freediameter/1.5.0+git -fdebug-prefix-map=TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/recipe-sysroot= -fmacro-prefix-map=TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/recipe-sysroot-native= -fmacro-prefix-map=TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/recipe-sysroot-native= -pipe -Wall -g -O0 -fPIC -MD -MT libfdcore/CMakeFiles/libfdcore.dir/sctp.c.o -MF libfdcore/CMakeFiles/libfdcore.dir/sctp.c.o.d -o libfdcore/CMakeFiles/libfdcore.dir/sctp.c.o -c TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/git/libfdcore/sctp.c FAILED: libfdcore/CMakeFiles/libfdcore.dir/sctp.c.o TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/recipe-sysroot-native/usr/bin/x86_64-oe-linux/x86_64-oe-linux-gcc --sysroot=TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/recipe-sysroot -D_GNU_SOURCE -Dlibfdcore_EXPORTS -ITOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/git/include -ITOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/build/include -ITOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/git/libfdcore -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/qemux86_64-oe-linux/freediameter/1.5.0+git/recipe-sysroot -O2 -g -fcanon-prefix-map -fmacro-prefix-map=TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/git=/usr/src/debug/freediameter/1.5.0+git -fdebug-prefix-map=TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/git=/usr/src/debug/freediameter/1.5.0+git -fmacro-prefix-map=TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/build=/usr/src/debug/freediameter/1.5.0+git -fdebug-prefix-map=TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/build=/usr/src/debug/freediameter/1.5.0+git -fdebug-prefix-map=TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/recipe-sysroot= -fmacro-prefix-map=TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/recipe-sysroot-native= -fmacro-prefix-map=TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/recipe-sysroot-native= -pipe -Wall -g -O0 -fPIC -MD -MT libfdcore/CMakeFiles/libfdcore.dir/sctp.c.o -MF libfdcore/CMakeFiles/libfdcore.dir/sctp.c.o.d -o libfdcore/CMakeFiles/libfdcore.dir/sctp.c.o -c TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/git/libfdcore/sctp.c In file included from TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/recipe-sysroot/usr/include/pthread.h:21, from TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/git/include/freeDiameter/libfdproto.h:68, from TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/git/include/freeDiameter/libfdcore.h:44, from TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/git/libfdcore/fdcore-internal.h:42, from TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/git/libfdcore/sctp.c:36: TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/recipe-sysroot/usr/include/features.h:435:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 435 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/git/libfdcore/sctp.c: In function 'fd_setsockopt_prebind': TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/git/libfdcore/sctp.c:622:21: error: 'bool' cannot be used here 622 | int bool = 1; | ^~~~ TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/git/libfdcore/sctp.c:622:21: note: 'bool' is a keyword with '-std=c23' onwards TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/git/libfdcore/sctp.c:622:26: error: expected identifier or '(' before '=' token 622 | int bool = 1; | ^ TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/git/libfdcore/sctp.c:625:77: error: expected expression before 'bool' 625 | CHECK_SYS( setsockopt(sk, IPPROTO_SCTP, SCTP_RECVRCVINFO, &bool, sizeof(bool)) ); | ^~~~ TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/git/include/freeDiameter/libfdproto.h:414:28: note: in definition of macro 'CHECK_PRELUDE' 414 | __ret__ = (__call__) | ^~~~~~~~ TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/git/include/freeDiameter/libfdproto.h:545:17: note: in expansion of macro 'CHECK_SYS_DO' 545 | CHECK_SYS_DO( (__call__), return __ret__ ) | ^~~~~~~~~~~~ TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/git/libfdcore/sctp.c:625:17: note: in expansion of macro 'CHECK_SYS' 625 | CHECK_SYS( setsockopt(sk, IPPROTO_SCTP, SCTP_RECVRCVINFO, &bool, sizeof(bool)) ); | ^~~~~~~~~ TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/git/libfdcore/sctp.c:625:29: error: too few arguments to function 'setsockopt'; expected 5, have 4 625 | CHECK_SYS( setsockopt(sk, IPPROTO_SCTP, SCTP_RECVRCVINFO, &bool, sizeof(bool)) ); | ^~~~~~~~~~ TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/git/include/freeDiameter/libfdproto.h:414:28: note: in definition of macro 'CHECK_PRELUDE' 414 | __ret__ = (__call__) | ^~~~~~~~ TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/git/include/freeDiameter/libfdproto.h:545:17: note: in expansion of macro 'CHECK_SYS_DO' 545 | CHECK_SYS_DO( (__call__), return __ret__ ) | ^~~~~~~~~~~~ TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/git/libfdcore/sctp.c:625:17: note: in expansion of macro 'CHECK_SYS' 625 | CHECK_SYS( setsockopt(sk, IPPROTO_SCTP, SCTP_RECVRCVINFO, &bool, sizeof(bool)) ); | ^~~~~~~~~ In file included from TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/recipe-sysroot/usr/include/netinet/in.h:23, from TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/git/include/freeDiameter/libfdproto.h:73: TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/recipe-sysroot/usr/include/sys/socket.h:277:12: note: declared here 277 | extern int setsockopt (int __fd, int __level, int __optname, | ^~~~~~~~~~ ninja: build stopped: subcommand failed. WARNING: TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/temp/run.do_compile.1186798:153 exit 1 from 'eval ${DESTDIR:+DESTDIR=${DESTDIR} }VERBOSE=1 cmake --build 'TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/build' "$@" -- ${EXTRA_OECMAKE_BUILD}' WARNING: Backtrace (BB generated script): #1: cmake_runcmake_build, TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/temp/run.do_compile.1186798, line 153 #2: cmake_do_compile, TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/temp/run.do_compile.1186798, line 147 #3: do_compile, TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/temp/run.do_compile.1186798, line 142 #4: main, TOPDIR/tmp/work/qemux86_64-oe-linux/freediameter/1.5.0+git/temp/run.do_compile.1186798, line 166