Linux next perf build failing for i386 architecture. - build/gcc-11-lkftconfig-perf Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx> Build log: CC /home/tuxbuild/.cache/tuxmake/builds/1/build/bench/syscall.o CC /home/tuxbuild/.cache/tuxmake/builds/1/build/tests/parse-events.o CC /home/tuxbuild/.cache/tuxmake/builds/1/build/util/build-id.o CC /home/tuxbuild/.cache/tuxmake/builds/1/build/util/cacheline.o CC /home/tuxbuild/.cache/tuxmake/builds/1/build/util/config.o CC /home/tuxbuild/.cache/tuxmake/builds/1/build/util/copyfile.o CC /home/tuxbuild/.cache/tuxmake/builds/1/build/bench/mem-functions.o bench/syscall.c: In function 'bench_syscall_common': bench/syscall.c:101:22: error: '__NR_execve' undeclared (first use in this function) 101 | case __NR_execve: | ^~~~~~~~~~~ bench/syscall.c:101:22: note: each undeclared identifier is reported only once for each function it appears in bench/syscall.c: In function 'bench_syscall_execve': bench/syscall.c:183:49: error: '__NR_execve' undeclared (first use in this function) 183 | return bench_syscall_common(argc, argv, __NR_execve); | ^~~~~~~~~~~ bench/syscall.c:184:1: error: control reaches end of non-void function [-Werror=return-type] 184 | } | ^ cc1: all warnings being treated as errors logs: - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230517/testrun/17031014/suite/build/test/gcc-11-lkftconfig-perf/log - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230517/testrun/17031014/suite/build/test/gcc-11-lkftconfig-perf/history/ Steps to reproduce: ============= # To install tuxmake on your system globally: # sudo pip3 install -U tuxmake # # See https://docs.tuxmake.org/ for complete documentation. # Original tuxmake command with fragments listed below. # tuxmake \ --runtime podman \ --target-arch i386 \ --toolchain gcc-11 \ --kconfig defconfig \ --kconfig-add https://raw.githubusercontent.com/Linaro/meta-lkft/kirkstone/meta/recipes-kernel/linux/files/lkft.config \ --kconfig-add https://raw.githubusercontent.com/Linaro/meta-lkft/kirkstone/meta/recipes-kernel/linux/files/lkft-crypto.config \ --kconfig-add https://raw.githubusercontent.com/Linaro/meta-lkft/kirkstone/meta/recipes-kernel/linux/files/distro-overrides.config \ --kconfig-add https://raw.githubusercontent.com/Linaro/meta-lkft/kirkstone/meta/recipes-kernel/linux/files/systemd.config \ --kconfig-add https://raw.githubusercontent.com/Linaro/meta-lkft/kirkstone/meta/recipes-kernel/linux/files/virtio.config \ --kconfig-add CONFIG_IGB=y \ --kconfig-add CONFIG_UNWINDER_FRAME_POINTER=y \ --kconfig-add CONFIG_SYN_COOKIES=y \ --kconfig-add CONFIG_FTRACE_SYSCALLS=y NO_BPF_SKEL=1 debugkernel headers kernel modules perf -- Linaro LKFT https://lkft.linaro.org