Now that the kernel is fixed, we can see a different error:
gcc -DHAVE_CONFIG_H -I./linux/x86_64 -I../../src/linux/x86_64 -I./linux/generic -I../../src/linux/generic -I. -I../../src -DIN_STRACE=1 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wdate-time -Wformat-security -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wtrampolines -Wundef -Wwrite-strings -Werror -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -MT libstrace_a-ioctl.o -MD -MP -MF .deps/libstrace_a-ioctl.Tpo -c -o libstrace_a-ioctl.o `test -f 'ioctl.c' || echo '../../src/'`ioctl.c In file included from ../../src/list.h:90, from ../../src/defs.h:40, from ../../src/io_uring.c:9: ../../src/io_uring.c: In function ‘print_io_uring_register_rsrc’: ../../src/io_uring.c:394:29: error: ‘struct io_uring_rsrc_register’ has no member named ‘resv’; did you mean ‘resv2’? 394 | CHECK_TYPE_SIZE(arg.resv, sizeof(uint32_t)); | ^~~~ ../../src/macros.h:141:30: note: in definition of macro ‘CHECK_TYPE_SIZE’ 141 | static_assert(sizeof(type_) == (sz_), \ | ^~~~~ ../../src/macros.h:141:23: error: expression in static assertion is not an integer 141 | static_assert(sizeof(type_) == (sz_), \ | ^~~~~~ ../../src/io_uring.c:394:9: note: in expansion of macro ‘CHECK_TYPE_SIZE’ 394 | CHECK_TYPE_SIZE(arg.resv, sizeof(uint32_t)); | ^~~~~~~~~~~~~~~ ../../src/io_uring.c:408:17: error: ‘struct io_uring_rsrc_register’ has no member named ‘resv’; did you mean ‘resv2’? 408 | if (arg.resv) { | ^~~~ | resv2
https://launchpadlibrarian.net/628843686/buildlog_ubuntu-kinetic-amd64.strace_5.16-0ubuntu4_BUILDING.txt.gz
Now that the kernel is fixed, we can see a different error:
gcc -DHAVE_CONFIG_H -I./linux/x86_64 -I../.. /src/linux/ x86_64 -I./linux/generic -I../.. /src/linux/ generic -I. -I../../src -DIN_STRACE=1 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-missing- field-initializ ers -Wno-unused- parameter -Wdate-time -Wformat-security -Wimplicit- fallthrough= 5 -Winit-self -Wlogical-op -Wmissing- prototypes -Wnested-externs -Wold-style- definition -Wtrampolines -Wundef -Wwrite-strings -Werror -g -O2 -ffile- prefix- map=/<< PKGBUILDDIR> >=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack- protector- strong -Wformat -Werror= format- security -Wall -g -MT libstrace_a-ioctl.o -MD -MP -MF .deps/libstrace _a-ioctl. Tpo -c -o libstrace_a-ioctl.o `test -f 'ioctl.c' || echo '../../ src/'`ioctl. c list.h: 90,
from ../../src/ defs.h: 40,
from ../../src/ io_uring. c:9: io_uring. c: In function ‘print_ io_uring_ register_ rsrc’: io_uring. c:394:29: error: ‘struct io_uring_ rsrc_register’ has no member named ‘resv’; did you mean ‘resv2’? SIZE(arg. resv, sizeof(uint32_t)); macros. h:141:30: note: in definition of macro ‘CHECK_TYPE_SIZE’ assert( sizeof( type_) == (sz_), \ macros. h:141:23: error: expression in static assertion is not an integer assert( sizeof( type_) == (sz_), \ io_uring. c:394:9: note: in expansion of macro ‘CHECK_TYPE_SIZE’ SIZE(arg. resv, sizeof(uint32_t)); io_uring. c:408:17: error: ‘struct io_uring_ rsrc_register’ has no member named ‘resv’; did you mean ‘resv2’?
In file included from ../../src/
../../src/
../../src/
394 | CHECK_TYPE_
| ^~~~
../../src/
141 | static_
| ^~~~~
../../src/
141 | static_
| ^~~~~~
../../src/
394 | CHECK_TYPE_
| ^~~~~~~~~~~~~~~
../../src/
408 | if (arg.resv) {
| ^~~~
| resv2
https:/ /launchpadlibra rian.net/ 628843686/ buildlog_ ubuntu- kinetic- amd64.strace_ 5.16-0ubuntu4_ BUILDING. txt.gz