The tinyconfig builds failed with clang-19 and gcc-13 on the Linux next-20241114 tag for the listed architectures, - arm - arm64 - i386 - powerpc - riscv - s390 - x86_64
First seen on Linux next-20241114 tag. Good: next-20241113 Bad: next-20241114
build: * gcc-13-tinyconfig * clang-19-tinyconfig * clang-nightly-tinyconfig
Reported-by: Linux Kernel Functional Testing lkft@linaro.org
Build log: --------- In file included from init/main.c:85: include/linux/blkdev.h:1692:17: error: field has incomplete type 'struct rq_list' 1692 | struct rq_list req_list; | ^ include/linux/blkdev.h:1692:9: note: forward declaration of 'struct rq_list' 1692 | struct rq_list req_list; | ^ 1 error generated. make[4]: *** [scripts/Makefile.build:229: init/main.o] Error 1 In file included from kernel/sched/core.c:41: include/linux/blkdev.h:1692:17: error: field has incomplete type 'struct rq_list' 1692 | struct rq_list req_list; | ^ include/linux/blkdev.h:1692:9: note: forward declaration of 'struct rq_list' 1692 | struct rq_list req_list; | ^ 1 error generated. make[5]: *** [scripts/Makefile.build:229: kernel/sched/core.o] Error 1
Build image: ----------- - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20241115/tes... - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20241115/tes... - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20241114/tes... - https://storage.tuxsuite.com/public/linaro/lkft/builds/2osJibjMRLtDUebXPN6WO...
Steps to reproduce: ------------ - # tuxmake --runtime podman --target-arch arm64 --toolchain clang-19 --kconfig tinyconfig LLVM=1 LLVM_IAS=1
metadata: ---- git describe: next-20241114 git repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git sha: 37c5695cb37a20403947062be8cb7e00f6bed353 kernel config: https://storage.tuxsuite.com/public/linaro/lkft/builds/2osJibjMRLtDUebXPN6WO... build url: https://storage.tuxsuite.com/public/linaro/lkft/builds/2osJibjMRLtDUebXPN6WO... toolchain: clang-19 and gcc-13 config: tinyconfig arch: arm, arm64, i386, powerpc, riscv, s390, x86_64
-- Linaro LKFT https://lkft.linaro.org
On Fri, Nov 15, 2024, at 13:19, Naresh Kamboju wrote:
The tinyconfig builds failed with clang-19 and gcc-13 on the Linux
Reported-by: Linux Kernel Functional Testing lkft@linaro.org
Build log:
In file included from init/main.c:85: include/linux/blkdev.h:1692:17: error: field has incomplete type 'struct rq_list' 1692 | struct rq_list req_list; | ^ include/linux/blkdev.h:1692:9: note: forward declaration of 'struct rq_list' 1692 | struct rq_list req_list; | ^
Nathan already sent a patch, see
https://lore.kernel.org/all/20241114201103.GA2036469@thelio-3990X/
Arnd