Tinyconfig: include/linux/blkdev.h:1692:17: error: field has incomplete type 'struct rq_list'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>

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/testrun/25823523/suite/build/test/clang-19-tinyconfig/log
- https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20241115/testrun/25823523/suite/build/test/clang-19-tinyconfig/details/
- https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20241114/testrun/25810736/suite/build/test/gcc-13-tinyconfig/details/
- https://storage.tuxsuite.com/public/linaro/lkft/builds/2osJibjMRLtDUebXPN6WOC65CLb/

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/2osJibjMRLtDUebXPN6WOC65CLb/config
  build url: https://storage.tuxsuite.com/public/linaro/lkft/builds/2osJibjMRLtDUebXPN6WOC65CLb/
  toolchain: clang-19 and gcc-13
  config: tinyconfig
  arch: arm, arm64, i386, powerpc, riscv, s390, x86_64

--
Linaro LKFT
https://lkft.linaro.org




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux