Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [linux-next:master 3784/7428] include/linux/page-flags-layout.h:6:10: fatal error: 'generated/bounds.h' file not found
@ 2026-11-16  1:45 kernel test robot
  2026-11-16 11:28 ` Uwe Kleine-König (The Capable Hub)
  0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2026-11-16  1:45 UTC (permalink / raw)
  To: Uwe Kleine-König (The Capable Hub)
  Cc: llvm, oe-kbuild-all, Nicolas Schier

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   84abb955b1015477aa11a96e2f3ac1b938b77f48
commit: cdfdbc11552b99dbc5c45c55f62a76527ffcc73d [3784/7428] Move struct cpu_feature to <linux/cpufeature.h>
config: loongarch-defconfig (https://download.01.org/0day-ci/archive/20261116/202611160947.NOrZmI1p-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project ca14e3d05c4e63d6e8103945c86b958ed2f55d5f)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261116/202611160947.NOrZmI1p-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202611160947.NOrZmI1p-lkp@intel.com/

Note: the linux-next/master HEAD 84abb955b1015477aa11a96e2f3ac1b938b77f48 builds fine.
      It may have been fixed somewhere.

All errors (new ones prefixed by >>):

   In file included from scripts/mod/devicetable-offsets.c:3:
   In file included from include/linux/cpufeature.h:30:
   In file included from arch/loongarch/include/asm/cpufeature.h:13:
   In file included from arch/loongarch/include/asm/elf.h:9:
   In file included from include/linux/fs.h:5:
   In file included from include/linux/fs/super.h:5:
   In file included from include/linux/fs/super_types.h:7:
   In file included from include/linux/list_lru.h:14:
   In file included from include/linux/xarray.h:16:
   In file included from include/linux/gfp.h:7:
   In file included from include/linux/mmzone.h:20:
>> include/linux/page-flags-layout.h:6:10: fatal error: 'generated/bounds.h' file not found
       6 | #include <generated/bounds.h>
         |          ^~~~~~~~~~~~~~~~~~~~
   1 error generated.
   make[3]: *** [scripts/Makefile.build:185: scripts/mod/devicetable-offsets.s] Error 1
   make[3]: Target 'scripts/mod/' not remade because of errors.
   make[2]: *** [Makefile:1416: prepare0] Error 2
   make[2]: Target 'prepare' not remade because of errors.
   make[1]: *** [Makefile:248: __sub-make] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [Makefile:248: __sub-make] Error 2
   make: Target 'prepare' not remade because of errors.


vim +6 include/linux/page-flags-layout.h

bbeae5b05ef6e40 Peter Zijlstra 2013-02-22  4  
bbeae5b05ef6e40 Peter Zijlstra 2013-02-22  5  #include <linux/numa.h>
bbeae5b05ef6e40 Peter Zijlstra 2013-02-22 @6  #include <generated/bounds.h>
bbeae5b05ef6e40 Peter Zijlstra 2013-02-22  7  

:::::: The code at line 6 was first introduced by commit
:::::: bbeae5b05ef6e40bf54db05ceb8635824153b9e2 mm: move page flags layout to separate header

:::::: TO: Peter Zijlstra <a.p.zijlstra@chello.nl>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-next:master 3784/7428] include/linux/page-flags-layout.h:6:10: fatal error: 'generated/bounds.h' file not found
  2026-11-16  1:45 [linux-next:master 3784/7428] include/linux/page-flags-layout.h:6:10: fatal error: 'generated/bounds.h' file not found kernel test robot
@ 2026-11-16 11:28 ` Uwe Kleine-König (The Capable Hub)
  2026-11-16 15:40   ` Nicolas Schier
  0 siblings, 1 reply; 3+ messages in thread
From: Uwe Kleine-König (The Capable Hub) @ 2026-11-16 11:28 UTC (permalink / raw)
  To: kernel test robot; +Cc: llvm, oe-kbuild-all, Nicolas Schier

[-- Attachment #1: Type: text/plain, Size: 2316 bytes --]

On Mon, Nov 16, 2026 at 09:45:42AM +0800, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head:   84abb955b1015477aa11a96e2f3ac1b938b77f48
> commit: cdfdbc11552b99dbc5c45c55f62a76527ffcc73d [3784/7428] Move struct cpu_feature to <linux/cpufeature.h>
> config: loongarch-defconfig (https://download.01.org/0day-ci/archive/20261116/202611160947.NOrZmI1p-lkp@intel.com/config)
> compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project ca14e3d05c4e63d6e8103945c86b958ed2f55d5f)
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261116/202611160947.NOrZmI1p-lkp@intel.com/reproduce)
> 
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202611160947.NOrZmI1p-lkp@intel.com/
> 
> Note: the linux-next/master HEAD 84abb955b1015477aa11a96e2f3ac1b938b77f48 builds fine.
>       It may have been fixed somewhere.
> 
> All errors (new ones prefixed by >>):
> 
>    In file included from scripts/mod/devicetable-offsets.c:3:
>    In file included from include/linux/cpufeature.h:30:
>    In file included from arch/loongarch/include/asm/cpufeature.h:13:
>    In file included from arch/loongarch/include/asm/elf.h:9:
>    In file included from include/linux/fs.h:5:
>    In file included from include/linux/fs/super.h:5:
>    In file included from include/linux/fs/super_types.h:7:
>    In file included from include/linux/list_lru.h:14:
>    In file included from include/linux/xarray.h:16:
>    In file included from include/linux/gfp.h:7:
>    In file included from include/linux/mmzone.h:20:
> >> include/linux/page-flags-layout.h:6:10: fatal error: 'generated/bounds.h' file not found
>        6 | #include <generated/bounds.h>
>          |          ^~~~~~~~~~~~~~~~~~~~
>    1 error generated.

This is the issue that Sasha Levin already reported and fixed in the
thread about cdfdbc11552b99dbc5c45c55f62a76527ffcc73d, see
https://lore.kernel.org/all/f610c07f39df15f3e7ebdc63bfcd759ca7a687a8.1794233316.git.sashal@kernel.org/.
Nicolas claimed to have applied it already.

Best regards
Uwe

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-next:master 3784/7428] include/linux/page-flags-layout.h:6:10: fatal error: 'generated/bounds.h' file not found
  2026-11-16 11:28 ` Uwe Kleine-König (The Capable Hub)
@ 2026-11-16 15:40   ` Nicolas Schier
  0 siblings, 0 replies; 3+ messages in thread
From: Nicolas Schier @ 2026-11-16 15:40 UTC (permalink / raw)
  To: Uwe Kleine-König (The Capable Hub)
  Cc: kernel test robot, llvm, oe-kbuild-all

On Mon, Nov 16, 2026 at 12:28:24PM +0100, Uwe Kleine-König (The Capable Hub) wrote:
> On Mon, Nov 16, 2026 at 09:45:42AM +0800, kernel test robot wrote:
> > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> > head:   84abb955b1015477aa11a96e2f3ac1b938b77f48
> > commit: cdfdbc11552b99dbc5c45c55f62a76527ffcc73d [3784/7428] Move struct cpu_feature to <linux/cpufeature.h>
> > config: loongarch-defconfig (https://download.01.org/0day-ci/archive/20261116/202611160947.NOrZmI1p-lkp@intel.com/config)
> > compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project ca14e3d05c4e63d6e8103945c86b958ed2f55d5f)
> > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261116/202611160947.NOrZmI1p-lkp@intel.com/reproduce)
> > 
> > If you fix the issue in a separate patch/commit (i.e. not just a new version of
> > the same patch/commit), kindly add following tags
> > | Reported-by: kernel test robot <lkp@intel.com>
> > | Closes: https://lore.kernel.org/oe-kbuild-all/202611160947.NOrZmI1p-lkp@intel.com/
> > 
> > Note: the linux-next/master HEAD 84abb955b1015477aa11a96e2f3ac1b938b77f48 builds fine.
> >       It may have been fixed somewhere.
> > 
> > All errors (new ones prefixed by >>):
> > 
> >    In file included from scripts/mod/devicetable-offsets.c:3:
> >    In file included from include/linux/cpufeature.h:30:
> >    In file included from arch/loongarch/include/asm/cpufeature.h:13:
> >    In file included from arch/loongarch/include/asm/elf.h:9:
> >    In file included from include/linux/fs.h:5:
> >    In file included from include/linux/fs/super.h:5:
> >    In file included from include/linux/fs/super_types.h:7:
> >    In file included from include/linux/list_lru.h:14:
> >    In file included from include/linux/xarray.h:16:
> >    In file included from include/linux/gfp.h:7:
> >    In file included from include/linux/mmzone.h:20:
> > >> include/linux/page-flags-layout.h:6:10: fatal error: 'generated/bounds.h' file not found
> >        6 | #include <generated/bounds.h>
> >          |          ^~~~~~~~~~~~~~~~~~~~
> >    1 error generated.
> 
> This is the issue that Sasha Levin already reported and fixed in the
> thread about cdfdbc11552b99dbc5c45c55f62a76527ffcc73d, see
> https://lore.kernel.org/all/f610c07f39df15f3e7ebdc63bfcd759ca7a687a8.1794233316.git.sashal@kernel.org/.
> Nicolas claimed to have applied it already.
> 
> Best regards
> Uwe

yes, just re-checked: the fix is included in next-20261113 (commit 50ccc340081fd1e6cd175).



-- 
Nicolas

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-11-16 15:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-16  1:45 [linux-next:master 3784/7428] include/linux/page-flags-layout.h:6:10: fatal error: 'generated/bounds.h' file not found kernel test robot
2026-11-16 11:28 ` Uwe Kleine-König (The Capable Hub)
2026-11-16 15:40   ` Nicolas Schier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox