DEBUG: Executing shell function do_compile
[1/94] riscv64-yoe-linux-clang -march=rv64imafdc_zicsr_zifencei -mabi=lp64d --dyld-prefix=/usr -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot -Isrc/mesa/libmesa.a.p -Isrc/mesa -I../sources/virglrenderer-1.1.1/src/mesa -I../sources/virglrenderer-1.1.1/src/mesa/compat -I../sources/virglrenderer-1.1.1/src/mesa/pipe -I../sources/virglrenderer-1.1.1/src/mesa/util -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu11 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=pedantic -Wmissing-prototypes -Werror=incompatible-pointer-types -Werror=int-to-pointer-cast -Werror=switch -Wno-overlength-strings -Wno-missing-field-initializers -Werror=format -fvisibility=hidden -fno-strict-aliasing -imacros TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/build/config.h -DHAVE_CONFIG_H=1 -O2 -g -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/sources/virglrenderer-1.1.1=/usr/src/debug/virglrenderer/1.1.1 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/build=/usr/src/debug/virglrenderer/1.1.1 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot= -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot-native= -pipe -fPIC -pthread -MD -MQ src/mesa/libmesa.a.p/util_bitscan.c.o -MF src/mesa/libmesa.a.p/util_bitscan.c.o.d -o src/mesa/libmesa.a.p/util_bitscan.c.o -c ../sources/virglrenderer-1.1.1/src/mesa/util/bitscan.c
[2/94] TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot-native/usr/bin/python3-native/python3 ../sources/virglrenderer-1.1.1/src/venus/vkr_device_object.py -o src ../sources/virglrenderer-1.1.1/src/venus/vkr_device_object.json
[3/94] riscv64-yoe-linux-clang -march=rv64imafdc_zicsr_zifencei -mabi=lp64d --dyld-prefix=/usr -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot -Isrc/mesa/libmesa.a.p -Isrc/mesa -I../sources/virglrenderer-1.1.1/src/mesa -I../sources/virglrenderer-1.1.1/src/mesa/compat -I../sources/virglrenderer-1.1.1/src/mesa/pipe -I../sources/virglrenderer-1.1.1/src/mesa/util -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu11 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=pedantic -Wmissing-prototypes -Werror=incompatible-pointer-types -Werror=int-to-pointer-cast -Werror=switch -Wno-overlength-strings -Wno-missing-field-initializers -Werror=format -fvisibility=hidden -fno-strict-aliasing -imacros TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/build/config.h -DHAVE_CONFIG_H=1 -O2 -g -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/sources/virglrenderer-1.1.1=/usr/src/debug/virglrenderer/1.1.1 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/build=/usr/src/debug/virglrenderer/1.1.1 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot= -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot-native= -pipe -fPIC -pthread -MD -MQ src/mesa/libmesa.a.p/util_os_misc.c.o -MF src/mesa/libmesa.a.p/util_os_misc.c.o.d -o src/mesa/libmesa.a.p/util_os_misc.c.o -c ../sources/virglrenderer-1.1.1/src/mesa/util/os_misc.c
[4/94] riscv64-yoe-linux-clang -march=rv64imafdc_zicsr_zifencei -mabi=lp64d --dyld-prefix=/usr -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot -Isrc/mesa/libmesa.a.p -Isrc/mesa -I../sources/virglrenderer-1.1.1/src/mesa -I../sources/virglrenderer-1.1.1/src/mesa/compat -I../sources/virglrenderer-1.1.1/src/mesa/pipe -I../sources/virglrenderer-1.1.1/src/mesa/util -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu11 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=pedantic -Wmissing-prototypes -Werror=incompatible-pointer-types -Werror=int-to-pointer-cast -Werror=switch -Wno-overlength-strings -Wno-missing-field-initializers -Werror=format -fvisibility=hidden -fno-strict-aliasing -imacros TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/build/config.h -DHAVE_CONFIG_H=1 -O2 -g -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/sources/virglrenderer-1.1.1=/usr/src/debug/virglrenderer/1.1.1 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/build=/usr/src/debug/virglrenderer/1.1.1 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot= -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot-native= -pipe -fPIC -pthread -MD -MQ src/mesa/libmesa.a.p/util_os_file.c.o -MF src/mesa/libmesa.a.p/util_os_file.c.o.d -o src/mesa/libmesa.a.p/util_os_file.c.o -c ../sources/virglrenderer-1.1.1/src/mesa/util/os_file.c
[5/94] riscv64-yoe-linux-clang -march=rv64imafdc_zicsr_zifencei -mabi=lp64d --dyld-prefix=/usr -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot -Isrc/mesa/libmesa.a.p -Isrc/mesa -I../sources/virglrenderer-1.1.1/src/mesa -I../sources/virglrenderer-1.1.1/src/mesa/compat -I../sources/virglrenderer-1.1.1/src/mesa/pipe -I../sources/virglrenderer-1.1.1/src/mesa/util -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu11 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=pedantic -Wmissing-prototypes -Werror=incompatible-pointer-types -Werror=int-to-pointer-cast -Werror=switch -Wno-overlength-strings -Wno-missing-field-initializers -Werror=format -fvisibility=hidden -fno-strict-aliasing -imacros TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/build/config.h -DHAVE_CONFIG_H=1 -O2 -g -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/sources/virglrenderer-1.1.1=/usr/src/debug/virglrenderer/1.1.1 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/build=/usr/src/debug/virglrenderer/1.1.1 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot= -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot-native= -pipe -fPIC -pthread -MD -MQ src/mesa/libmesa.a.p/util_u_cpu_detect.c.o -MF src/mesa/libmesa.a.p/util_u_cpu_detect.c.o.d -o src/mesa/libmesa.a.p/util_u_cpu_detect.c.o -c ../sources/virglrenderer-1.1.1/src/mesa/util/u_cpu_detect.c
FAILED: [code=1] src/mesa/libmesa.a.p/util_u_cpu_detect.c.o
riscv64-yoe-linux-clang -march=rv64imafdc_zicsr_zifencei -mabi=lp64d --dyld-prefix=/usr -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot -Isrc/mesa/libmesa.a.p -Isrc/mesa -I../sources/virglrenderer-1.1.1/src/mesa -I../sources/virglrenderer-1.1.1/src/mesa/compat -I../sources/virglrenderer-1.1.1/src/mesa/pipe -I../sources/virglrenderer-1.1.1/src/mesa/util -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu11 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=pedantic -Wmissing-prototypes -Werror=incompatible-pointer-types -Werror=int-to-pointer-cast -Werror=switch -Wno-overlength-strings -Wno-missing-field-initializers -Werror=format -fvisibility=hidden -fno-strict-aliasing -imacros TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/build/config.h -DHAVE_CONFIG_H=1 -O2 -g -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/sources/virglrenderer-1.1.1=/usr/src/debug/virglrenderer/1.1.1 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/build=/usr/src/debug/virglrenderer/1.1.1 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot= -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot-native= -pipe -fPIC -pthread -MD -MQ src/mesa/libmesa.a.p/util_u_cpu_detect.c.o -MF src/mesa/libmesa.a.p/util_u_cpu_detect.c.o.d -o src/mesa/libmesa.a.p/util_u_cpu_detect.c.o -c ../sources/virglrenderer-1.1.1/src/mesa/util/u_cpu_detect.c
In file included from ../sources/virglrenderer-1.1.1/src/mesa/util/u_cpu_detect.c:39:
In file included from ../sources/virglrenderer-1.1.1/src/mesa/util/u_cpu_detect.h:40:
In file included from ../sources/virglrenderer-1.1.1/src/mesa/util/u_thread.h:35:
In file included from ../sources/virglrenderer-1.1.1/src/mesa/compat/c11/threads.h:64:
../sources/virglrenderer-1.1.1/src/mesa/compat/c11/threads_posix.h:54:9: warning: 'ONCE_FLAG_INIT' macro redefined [-Wmacro-redefined]
54 | #define ONCE_FLAG_INIT PTHREAD_ONCE_INIT
| ^
TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot/usr/include/bits/types/once_flag.h:25:9: note: previous definition is here
25 | #define ONCE_FLAG_INIT __ONCE_FLAG_INIT
| ^
In file included from ../sources/virglrenderer-1.1.1/src/mesa/util/u_cpu_detect.c:39:
In file included from ../sources/virglrenderer-1.1.1/src/mesa/util/u_cpu_detect.h:40:
In file included from ../sources/virglrenderer-1.1.1/src/mesa/util/u_thread.h:35:
In file included from ../sources/virglrenderer-1.1.1/src/mesa/compat/c11/threads.h:64:
../sources/virglrenderer-1.1.1/src/mesa/compat/c11/threads_posix.h:69:25: error: typedef redefinition with different types ('pthread_once_t' (aka 'int') vs '__once_flag')
69 | typedef pthread_once_t once_flag;
| ^
TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot/usr/include/bits/types/once_flag.h:24:21: note: previous definition is here
24 | typedef __once_flag once_flag;
| ^
In file included from ../sources/virglrenderer-1.1.1/src/mesa/util/u_cpu_detect.c:39:
In file included from ../sources/virglrenderer-1.1.1/src/mesa/util/u_cpu_detect.h:40:
In file included from ../sources/virglrenderer-1.1.1/src/mesa/util/u_thread.h:35:
In file included from ../sources/virglrenderer-1.1.1/src/mesa/compat/c11/threads.h:64:
../sources/virglrenderer-1.1.1/src/mesa/compat/c11/threads_posix.h:94:1: error: static declaration of 'call_once' follows non-static declaration
94 | call_once(once_flag *flag, void (*func)(void))
| ^
TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot/usr/include/stdlib.h:1166:13: note: previous declaration is here
1166 | extern void call_once (once_flag *__flag, void (*__func)(void));
| ^
In file included from ../sources/virglrenderer-1.1.1/src/mesa/util/u_cpu_detect.c:39:
In file included from ../sources/virglrenderer-1.1.1/src/mesa/util/u_cpu_detect.h:40:
In file included from ../sources/virglrenderer-1.1.1/src/mesa/util/u_thread.h:35:
In file included from ../sources/virglrenderer-1.1.1/src/mesa/compat/c11/threads.h:64:
../sources/virglrenderer-1.1.1/src/mesa/compat/c11/threads_posix.h:96:18: error: incompatible pointer types passing 'once_flag *' (aka '__once_flag *') to parameter of type 'pthread_once_t *' (aka 'int *') [-Werror,-Wincompatible-pointer-types]
96 | pthread_once(flag, func);
| ^~~~
TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot/usr/include/pthread.h:509:42: note: passing argument to parameter '__once_control' here
509 | extern int pthread_once (pthread_once_t *__once_control,
| ^
../sources/virglrenderer-1.1.1/src/mesa/util/u_cpu_detect.c:862:18: error: initializing 'once_flag' (aka '__once_flag') with an expression of incompatible type 'int'
862 | static once_flag cpu_once_flag = ONCE_FLAG_INIT;
| ^ ~~~~~~~~~~~~~~
1 warning and 4 errors generated.
[6/94] riscv64-yoe-linux-clang -march=rv64imafdc_zicsr_zifencei -mabi=lp64d --dyld-prefix=/usr -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot -Isrc/mesa/libmesa.a.p -Isrc/mesa -I../sources/virglrenderer-1.1.1/src/mesa -I../sources/virglrenderer-1.1.1/src/mesa/compat -I../sources/virglrenderer-1.1.1/src/mesa/pipe -I../sources/virglrenderer-1.1.1/src/mesa/util -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu11 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=pedantic -Wmissing-prototypes -Werror=incompatible-pointer-types -Werror=int-to-pointer-cast -Werror=switch -Wno-overlength-strings -Wno-missing-field-initializers -Werror=format -fvisibility=hidden -fno-strict-aliasing -imacros TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/build/config.h -DHAVE_CONFIG_H=1 -O2 -g -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/sources/virglrenderer-1.1.1=/usr/src/debug/virglrenderer/1.1.1 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/build=/usr/src/debug/virglrenderer/1.1.1 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot= -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot-native= -pipe -fPIC -pthread -MD -MQ src/mesa/libmesa.a.p/util_anon_file.c.o -MF src/mesa/libmesa.a.p/util_anon_file.c.o.d -o src/mesa/libmesa.a.p/util_anon_file.c.o -c ../sources/virglrenderer-1.1.1/src/mesa/util/anon_file.c
[7/94] riscv64-yoe-linux-clang -march=rv64imafdc_zicsr_zifencei -mabi=lp64d --dyld-prefix=/usr -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot -Isrc/mesa/libmesa.a.p -Isrc/mesa -I../sources/virglrenderer-1.1.1/src/mesa -I../sources/virglrenderer-1.1.1/src/mesa/compat -I../sources/virglrenderer-1.1.1/src/mesa/pipe -I../sources/virglrenderer-1.1.1/src/mesa/util -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu11 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=pedantic -Wmissing-prototypes -Werror=incompatible-pointer-types -Werror=int-to-pointer-cast -Werror=switch -Wno-overlength-strings -Wno-missing-field-initializers -Werror=format -fvisibility=hidden -fno-strict-aliasing -imacros TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/build/config.h -DHAVE_CONFIG_H=1 -O2 -g -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/sources/virglrenderer-1.1.1=/usr/src/debug/virglrenderer/1.1.1 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/build=/usr/src/debug/virglrenderer/1.1.1 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot= -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot-native= -pipe -fPIC -pthread -MD -MQ src/mesa/libmesa.a.p/util_u_math.c.o -MF src/mesa/libmesa.a.p/util_u_math.c.o.d -o src/mesa/libmesa.a.p/util_u_math.c.o -c ../sources/virglrenderer-1.1.1/src/mesa/util/u_math.c
FAILED: [code=1] src/mesa/libmesa.a.p/util_u_math.c.o
riscv64-yoe-linux-clang -march=rv64imafdc_zicsr_zifencei -mabi=lp64d --dyld-prefix=/usr -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot -Isrc/mesa/libmesa.a.p -Isrc/mesa -I../sources/virglrenderer-1.1.1/src/mesa -I../sources/virglrenderer-1.1.1/src/mesa/compat -I../sources/virglrenderer-1.1.1/src/mesa/pipe -I../sources/virglrenderer-1.1.1/src/mesa/util -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu11 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=pedantic -Wmissing-prototypes -Werror=incompatible-pointer-types -Werror=int-to-pointer-cast -Werror=switch -Wno-overlength-strings -Wno-missing-field-initializers -Werror=format -fvisibility=hidden -fno-strict-aliasing -imacros TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/build/config.h -DHAVE_CONFIG_H=1 -O2 -g -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/sources/virglrenderer-1.1.1=/usr/src/debug/virglrenderer/1.1.1 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/build=/usr/src/debug/virglrenderer/1.1.1 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot= -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot-native= -pipe -fPIC -pthread -MD -MQ src/mesa/libmesa.a.p/util_u_math.c.o -MF src/mesa/libmesa.a.p/util_u_math.c.o.d -o src/mesa/libmesa.a.p/util_u_math.c.o -c ../sources/virglrenderer-1.1.1/src/mesa/util/u_math.c
In file included from ../sources/virglrenderer-1.1.1/src/mesa/util/u_math.c:32:
In file included from ../sources/virglrenderer-1.1.1/src/mesa/util/u_cpu_detect.h:40:
In file included from ../sources/virglrenderer-1.1.1/src/mesa/util/u_thread.h:35:
In file included from ../sources/virglrenderer-1.1.1/src/mesa/compat/c11/threads.h:64:
../sources/virglrenderer-1.1.1/src/mesa/compat/c11/threads_posix.h:54:9: warning: 'ONCE_FLAG_INIT' macro redefined [-Wmacro-redefined]
54 | #define ONCE_FLAG_INIT PTHREAD_ONCE_INIT
| ^
TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot/usr/include/bits/types/once_flag.h:25:9: note: previous definition is here
25 | #define ONCE_FLAG_INIT __ONCE_FLAG_INIT
| ^
In file included from ../sources/virglrenderer-1.1.1/src/mesa/util/u_math.c:32:
In file included from ../sources/virglrenderer-1.1.1/src/mesa/util/u_cpu_detect.h:40:
In file included from ../sources/virglrenderer-1.1.1/src/mesa/util/u_thread.h:35:
In file included from ../sources/virglrenderer-1.1.1/src/mesa/compat/c11/threads.h:64:
../sources/virglrenderer-1.1.1/src/mesa/compat/c11/threads_posix.h:69:25: error: typedef redefinition with different types ('pthread_once_t' (aka 'int') vs '__once_flag')
69 | typedef pthread_once_t once_flag;
| ^
TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot/usr/include/bits/types/once_flag.h:24:21: note: previous definition is here
24 | typedef __once_flag once_flag;
| ^
In file included from ../sources/virglrenderer-1.1.1/src/mesa/util/u_math.c:32:
In file included from ../sources/virglrenderer-1.1.1/src/mesa/util/u_cpu_detect.h:40:
In file included from ../sources/virglrenderer-1.1.1/src/mesa/util/u_thread.h:35:
In file included from ../sources/virglrenderer-1.1.1/src/mesa/compat/c11/threads.h:64:
../sources/virglrenderer-1.1.1/src/mesa/compat/c11/threads_posix.h:94:1: error: static declaration of 'call_once' follows non-static declaration
94 | call_once(once_flag *flag, void (*func)(void))
| ^
TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot/usr/include/stdlib.h:1166:13: note: previous declaration is here
1166 | extern void call_once (once_flag *__flag, void (*__func)(void));
| ^
In file included from ../sources/virglrenderer-1.1.1/src/mesa/util/u_math.c:32:
In file included from ../sources/virglrenderer-1.1.1/src/mesa/util/u_cpu_detect.h:40:
In file included from ../sources/virglrenderer-1.1.1/src/mesa/util/u_thread.h:35:
In file included from ../sources/virglrenderer-1.1.1/src/mesa/compat/c11/threads.h:64:
../sources/virglrenderer-1.1.1/src/mesa/compat/c11/threads_posix.h:96:18: error: incompatible pointer types passing 'once_flag *' (aka '__once_flag *') to parameter of type 'pthread_once_t *' (aka 'int *') [-Werror,-Wincompatible-pointer-types]
96 | pthread_once(flag, func);
| ^~~~
TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot/usr/include/pthread.h:509:42: note: passing argument to parameter '__once_control' here
509 | extern int pthread_once (pthread_once_t *__once_control,
| ^
1 warning and 3 errors generated.
[8/94] riscv64-yoe-linux-clang -march=rv64imafdc_zicsr_zifencei -mabi=lp64d --dyld-prefix=/usr -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot -Isrc/mesa/libmesa.a.p -Isrc/mesa -I../sources/virglrenderer-1.1.1/src/mesa -I../sources/virglrenderer-1.1.1/src/mesa/compat -I../sources/virglrenderer-1.1.1/src/mesa/pipe -I../sources/virglrenderer-1.1.1/src/mesa/util -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu11 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=pedantic -Wmissing-prototypes -Werror=incompatible-pointer-types -Werror=int-to-pointer-cast -Werror=switch -Wno-overlength-strings -Wno-missing-field-initializers -Werror=format -fvisibility=hidden -fno-strict-aliasing -imacros TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/build/config.h -DHAVE_CONFIG_H=1 -O2 -g -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/sources/virglrenderer-1.1.1=/usr/src/debug/virglrenderer/1.1.1 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/build=/usr/src/debug/virglrenderer/1.1.1 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot= -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot-native= -pipe -fPIC -pthread -MD -MQ src/mesa/libmesa.a.p/util_u_debug.c.o -MF src/mesa/libmesa.a.p/util_u_debug.c.o.d -o src/mesa/libmesa.a.p/util_u_debug.c.o -c ../sources/virglrenderer-1.1.1/src/mesa/util/u_debug.c
[9/94] riscv64-yoe-linux-clang -march=rv64imafdc_zicsr_zifencei -mabi=lp64d --dyld-prefix=/usr -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot -Isrc/gallium/libgallium.a.p -Isrc/gallium -I../sources/virglrenderer-1.1.1/src/gallium -I../sources/virglrenderer-1.1.1/src/gallium/include -I../sources/virglrenderer-1.1.1/src/gallium/auxiliary -I../sources/virglrenderer-1.1.1/src/gallium/auxiliary/util -I. -I../sources/virglrenderer-1.1.1 -Isrc -I../sources/virglrenderer-1.1.1/src -Isrc/mesa -I../sources/virglrenderer-1.1.1/src/mesa -I../sources/virglrenderer-1.1.1/src/mesa/compat -I../sources/virglrenderer-1.1.1/src/mesa/pipe -I../sources/virglrenderer-1.1.1/src/mesa/util -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu11 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=pedantic -Wmissing-prototypes -Werror=incompatible-pointer-types -Werror=int-to-pointer-cast -Werror=switch -Wno-overlength-strings -Wno-missing-field-initializers -Werror=format -fvisibility=hidden -fno-strict-aliasing -imacros TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/build/config.h -DHAVE_CONFIG_H=1 -O2 -g -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/sources/virglrenderer-1.1.1=/usr/src/debug/virglrenderer/1.1.1 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/build=/usr/src/debug/virglrenderer/1.1.1 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot= -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot-native= -pipe -fPIC -pthread -MD -MQ src/gallium/libgallium.a.p/auxiliary_util_u_texture.c.o -MF src/gallium/libgallium.a.p/auxiliary_util_u_texture.c.o.d -o src/gallium/libgallium.a.p/auxiliary_util_u_texture.c.o -c ../sources/virglrenderer-1.1.1/src/gallium/auxiliary/util/u_texture.c
[10/94] riscv64-yoe-linux-clang -march=rv64imafdc_zicsr_zifencei -mabi=lp64d --dyld-prefix=/usr -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot -Isrc/gallium/libgallium.a.p -Isrc/gallium -I../sources/virglrenderer-1.1.1/src/gallium -I../sources/virglrenderer-1.1.1/src/gallium/include -I../sources/virglrenderer-1.1.1/src/gallium/auxiliary -I../sources/virglrenderer-1.1.1/src/gallium/auxiliary/util -I. -I../sources/virglrenderer-1.1.1 -Isrc -I../sources/virglrenderer-1.1.1/src -Isrc/mesa -I../sources/virglrenderer-1.1.1/src/mesa -I../sources/virglrenderer-1.1.1/src/mesa/compat -I../sources/virglrenderer-1.1.1/src/mesa/pipe -I../sources/virglrenderer-1.1.1/src/mesa/util -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu11 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=pedantic -Wmissing-prototypes -Werror=incompatible-pointer-types -Werror=int-to-pointer-cast -Werror=switch -Wno-overlength-strings -Wno-missing-field-initializers -Werror=format -fvisibility=hidden -fno-strict-aliasing -imacros TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/build/config.h -DHAVE_CONFIG_H=1 -O2 -g -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/sources/virglrenderer-1.1.1=/usr/src/debug/virglrenderer/1.1.1 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/build=/usr/src/debug/virglrenderer/1.1.1 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot= -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot-native= -pipe -fPIC -pthread -MD -MQ src/gallium/libgallium.a.p/auxiliary_util_u_hash_table.c.o -MF src/gallium/libgallium.a.p/auxiliary_util_u_hash_table.c.o.d -o src/gallium/libgallium.a.p/auxiliary_util_u_hash_table.c.o -c ../sources/virglrenderer-1.1.1/src/gallium/auxiliary/util/u_hash_table.c
[11/94] TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot-native/usr/bin/meson.real --internal exe --capture src/gallium/u_format_table.c -- TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot-native/usr/bin/python3-native/python3 -B ../sources/virglrenderer-1.1.1/src/gallium/auxiliary/util/u_format_table.py ../sources/virglrenderer-1.1.1/src/gallium/auxiliary/util/u_format.yaml
[12/94] riscv64-yoe-linux-clang -march=rv64imafdc_zicsr_zifencei -mabi=lp64d --dyld-prefix=/usr -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot -Isrc/gallium/libgallium.a.p -Isrc/gallium -I../sources/virglrenderer-1.1.1/src/gallium -I../sources/virglrenderer-1.1.1/src/gallium/include -I../sources/virglrenderer-1.1.1/src/gallium/auxiliary -I../sources/virglrenderer-1.1.1/src/gallium/auxiliary/util -I. -I../sources/virglrenderer-1.1.1 -Isrc -I../sources/virglrenderer-1.1.1/src -Isrc/mesa -I../sources/virglrenderer-1.1.1/src/mesa -I../sources/virglrenderer-1.1.1/src/mesa/compat -I../sources/virglrenderer-1.1.1/src/mesa/pipe -I../sources/virglrenderer-1.1.1/src/mesa/util -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu11 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=pedantic -Wmissing-prototypes -Werror=incompatible-pointer-types -Werror=int-to-pointer-cast -Werror=switch -Wno-overlength-strings -Wno-missing-field-initializers -Werror=format -fvisibility=hidden -fno-strict-aliasing -imacros TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/build/config.h -DHAVE_CONFIG_H=1 -O2 -g -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/sources/virglrenderer-1.1.1=/usr/src/debug/virglrenderer/1.1.1 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/build=/usr/src/debug/virglrenderer/1.1.1 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot= -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot-native= -pipe -fPIC -pthread -MD -MQ src/gallium/libgallium.a.p/auxiliary_util_u_format.c.o -MF src/gallium/libgallium.a.p/auxiliary_util_u_format.c.o.d -o src/gallium/libgallium.a.p/auxiliary_util_u_format.c.o -c ../sources/virglrenderer-1.1.1/src/gallium/auxiliary/util/u_format.c
[13/94] riscv64-yoe-linux-clang -march=rv64imafdc_zicsr_zifencei -mabi=lp64d --dyld-prefix=/usr -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot -Isrc/mesa/libmesa.a.p -Isrc/mesa -I../sources/virglrenderer-1.1.1/src/mesa -I../sources/virglrenderer-1.1.1/src/mesa/compat -I../sources/virglrenderer-1.1.1/src/mesa/pipe -I../sources/virglrenderer-1.1.1/src/mesa/util -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu11 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=pedantic -Wmissing-prototypes -Werror=incompatible-pointer-types -Werror=int-to-pointer-cast -Werror=switch -Wno-overlength-strings -Wno-missing-field-initializers -Werror=format -fvisibility=hidden -fno-strict-aliasing -imacros TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/build/config.h -DHAVE_CONFIG_H=1 -O2 -g -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/sources/virglrenderer-1.1.1=/usr/src/debug/virglrenderer/1.1.1 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/build=/usr/src/debug/virglrenderer/1.1.1 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot= -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot-native= -pipe -fPIC -pthread -MD -MQ src/mesa/libmesa.a.p/util_ralloc.c.o -MF src/mesa/libmesa.a.p/util_ralloc.c.o.d -o src/mesa/libmesa.a.p/util_ralloc.c.o -c ../sources/virglrenderer-1.1.1/src/mesa/util/ralloc.c
[14/94] riscv64-yoe-linux-clang -march=rv64imafdc_zicsr_zifencei -mabi=lp64d --dyld-prefix=/usr -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot -Isrc/mesa/libmesa.a.p -Isrc/mesa -I../sources/virglrenderer-1.1.1/src/mesa -I../sources/virglrenderer-1.1.1/src/mesa/compat -I../sources/virglrenderer-1.1.1/src/mesa/pipe -I../sources/virglrenderer-1.1.1/src/mesa/util -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu11 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=pedantic -Wmissing-prototypes -Werror=incompatible-pointer-types -Werror=int-to-pointer-cast -Werror=switch -Wno-overlength-strings -Wno-missing-field-initializers -Werror=format -fvisibility=hidden -fno-strict-aliasing -imacros TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/build/config.h -DHAVE_CONFIG_H=1 -O2 -g -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/sources/virglrenderer-1.1.1=/usr/src/debug/virglrenderer/1.1.1 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/build=/usr/src/debug/virglrenderer/1.1.1 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot= -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot-native= -pipe -fPIC -pthread -MD -MQ src/mesa/libmesa.a.p/util_hash_table.c.o -MF src/mesa/libmesa.a.p/util_hash_table.c.o.d -o src/mesa/libmesa.a.p/util_hash_table.c.o -c ../sources/virglrenderer-1.1.1/src/mesa/util/hash_table.c
ninja: build stopped: subcommand failed.
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/recipe-sysroot-native/usr/bin/ninja -j 10 -l 64.0 -v
WARNING: TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/temp/run.do_compile.1764416:153 exit 1 from 'meson compile -v -j 10 -l 64'
WARNING: Backtrace (BB generated script):
#1: meson_do_compile, TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/temp/run.do_compile.1764416, line 153
#2: do_compile, TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/temp/run.do_compile.1764416, line 148
#3: main, TMPDIR/work/riscv64imafdc-yoe-linux/virglrenderer/1.1.1/temp/run.do_compile.1764416, line 157