DEBUG: Executing shell function do_compile
[1/62] x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/waffle/1.8.1/recipe-sysroot -Ithird_party/threads/libthreads.a.p -Ithird_party/threads -I../sources/waffle-1.8.1/third_party/threads -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -DWAFFLE_HAS_X11_EGL -DWAFFLE_HAS_GLX -DWAFFLE_HAS_WAYLAND -DWAFFLE_HAS_GBM -DWAFFLE_HAS_SURFACELESS_EGL -D_XOPEN_SOURCE=700 -Wno-unused-parameter -Werror=format -Werror=format-security -Werror=incompatible-pointer-types -Werror=init-self -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=pointer-arith -Werror=undef -Werror=vla -Wsuggest-attribute=format -Wwrite-strings -DWAFFLE_HAS_TLS -DWAFFLE_HAS_TLS_MODEL_INITIAL_EXEC -O2 -g -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/waffle/1.8.1/sources/waffle-1.8.1=/usr/src/debug/waffle/1.8.1 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/waffle/1.8.1/build=/usr/src/debug/waffle/1.8.1 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/waffle/1.8.1/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/waffle/1.8.1/recipe-sysroot-native= -pipe -fPIC -MD -MQ third_party/threads/libthreads.a.p/threads_posix.c.o -MF third_party/threads/libthreads.a.p/threads_posix.c.o.d -o third_party/threads/libthreads.a.p/threads_posix.c.o -c ../sources/waffle-1.8.1/third_party/threads/threads_posix.c
FAILED: [code=1] third_party/threads/libthreads.a.p/threads_posix.c.o
x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/waffle/1.8.1/recipe-sysroot -Ithird_party/threads/libthreads.a.p -Ithird_party/threads -I../sources/waffle-1.8.1/third_party/threads -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -DWAFFLE_HAS_X11_EGL -DWAFFLE_HAS_GLX -DWAFFLE_HAS_WAYLAND -DWAFFLE_HAS_GBM -DWAFFLE_HAS_SURFACELESS_EGL -D_XOPEN_SOURCE=700 -Wno-unused-parameter -Werror=format -Werror=format-security -Werror=incompatible-pointer-types -Werror=init-self -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=pointer-arith -Werror=undef -Werror=vla -Wsuggest-attribute=format -Wwrite-strings -DWAFFLE_HAS_TLS -DWAFFLE_HAS_TLS_MODEL_INITIAL_EXEC -O2 -g -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/waffle/1.8.1/sources/waffle-1.8.1=/usr/src/debug/waffle/1.8.1 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/waffle/1.8.1/build=/usr/src/debug/waffle/1.8.1 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/waffle/1.8.1/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/waffle/1.8.1/recipe-sysroot-native= -pipe -fPIC -MD -MQ third_party/threads/libthreads.a.p/threads_posix.c.o -MF third_party/threads/libthreads.a.p/threads_posix.c.o.d -o third_party/threads/libthreads.a.p/threads_posix.c.o -c ../sources/waffle-1.8.1/third_party/threads/threads_posix.c
In file included from ../sources/waffle-1.8.1/third_party/threads/threads_posix.c:52:
../sources/waffle-1.8.1/third_party/threads/threads.h:93:9: warning: 'ONCE_FLAG_INIT' redefined
93 | #define ONCE_FLAG_INIT PTHREAD_ONCE_INIT
| ^~~~~~~~~~~~~~
In file included from TOPDIR/tmp/work/x86-64-v3-poky-linux/waffle/1.8.1/recipe-sysroot/usr/include/stdlib.h:1162,
from ../sources/waffle-1.8.1/third_party/threads/threads_posix.c:32:
TOPDIR/tmp/work/x86-64-v3-poky-linux/waffle/1.8.1/recipe-sysroot/usr/include/bits/types/once_flag.h:25:9: note: this is the location of the previous definition
25 | #define ONCE_FLAG_INIT __ONCE_FLAG_INIT
| ^~~~~~~~~~~~~~
../sources/waffle-1.8.1/third_party/threads/threads.h:105:25: error: conflicting types for 'once_flag'; have 'pthread_once_t' {aka 'int'}
105 | typedef pthread_once_t once_flag;
| ^~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/waffle/1.8.1/recipe-sysroot/usr/include/bits/types/once_flag.h:24:21: note: previous declaration of 'once_flag' with type 'once_flag'
24 | typedef __once_flag once_flag;
| ^~~~~~~~~
../sources/waffle-1.8.1/third_party/threads/threads.h:141:6: error: conflicting types for 'call_once'; have 'void(int *, void (*)(void))'
141 | void call_once(once_flag *flag, void (*func)(void));
| ^~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/waffle/1.8.1/recipe-sysroot/usr/include/stdlib.h:1166:13: note: previous declaration of 'call_once' with type 'void(once_flag *, void (*)(void))'
1166 | extern void call_once (once_flag *__flag, void (*__func)(void));
| ^~~~~~~~~
../sources/waffle-1.8.1/third_party/threads/threads_posix.c:78:6: error: conflicting types for 'call_once'; have 'void(int *, void (*)(void))'
78 | void call_once(once_flag *flag, void (*func)(void))
| ^~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/waffle/1.8.1/recipe-sysroot/usr/include/stdlib.h:1166:13: note: previous declaration of 'call_once' with type 'void(once_flag *, void (*)(void))'
1166 | extern void call_once (once_flag *__flag, void (*__func)(void));
| ^~~~~~~~~
ninja: build stopped: subcommand failed.
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: TOPDIR/tmp/work/x86-64-v3-poky-linux/waffle/1.8.1/recipe-sysroot-native/usr/bin/ninja -j 16 -l 75.0 -v
WARNING: TOPDIR/tmp/work/x86-64-v3-poky-linux/waffle/1.8.1/temp/run.do_compile.77921:153 exit 1 from 'meson compile -v -j 16 -l 75'
WARNING: Backtrace (BB generated script):
#1: meson_do_compile, TOPDIR/tmp/work/x86-64-v3-poky-linux/waffle/1.8.1/temp/run.do_compile.77921, line 153
#2: do_compile, TOPDIR/tmp/work/x86-64-v3-poky-linux/waffle/1.8.1/temp/run.do_compile.77921, line 148
#3: main, TOPDIR/tmp/work/x86-64-v3-poky-linux/waffle/1.8.1/temp/run.do_compile.77921, line 157