* init/main.c:108:10: fatal error: 'asm/setup.h' file not found
@ 2023-01-28 10:31 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-01-28 10:31 UTC (permalink / raw)
To: Palmer Dabbelt; +Cc: llvm, oe-kbuild-all, 0day robot
tree: https://github.com/intel-lab-lkp/linux/commits/Alexandre-Ghiti/riscv-Split-early-and-final-KASAN-population-functions/20230125-163113
head: 06897a0964c21c88d28d72b2d7959fc8651a6d21
commit: 3e261a30a338475c3efe666377daa612924b1129 asm-generic: Remove COMMAND_LINE_SIZE from uapi
date: 3 days ago
config: riscv-randconfig-r014-20230123 (https://download.01.org/0day-ci/archive/20230128/202301281849.TD6gcH6I-lkp@intel.com/config)
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 4196ca3278f78c6e19246e54ab0ecb364e37d66a)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
# https://github.com/intel-lab-lkp/linux/commit/3e261a30a338475c3efe666377daa612924b1129
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Alexandre-Ghiti/riscv-Split-early-and-final-KASAN-population-functions/20230125-163113
git checkout 3e261a30a338475c3efe666377daa612924b1129
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash arch/riscv/kernel/ drivers/ata/ drivers/firmware/efi/libstub/ drivers/mmc/host/ drivers/of/ init/ lib/kunit/ mm/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> init/main.c:108:10: fatal error: 'asm/setup.h' file not found
#include <asm/setup.h>
^~~~~~~~~~~~~
1 error generated.
--
>> arch/riscv/kernel/setup.c:29:10: fatal error: 'asm/setup.h' file not found
#include <asm/setup.h>
^~~~~~~~~~~~~
1 error generated.
--
>> arch/riscv/kernel/elf_kexec.c:22:10: fatal error: 'asm/setup.h' file not found
#include <asm/setup.h>
^~~~~~~~~~~~~
1 error generated.
--
>> drivers/ata/libata-core.c:59:10: fatal error: 'asm/setup.h' file not found
#include <asm/setup.h>
^~~~~~~~~~~~~
1 error generated.
--
>> drivers/of/fdt.c:31:10: fatal error: 'asm/setup.h' file not found
#include <asm/setup.h> /* for COMMAND_LINE_SIZE */
^~~~~~~~~~~~~
1 error generated.
--
>> drivers/firmware/efi/libstub/efi-stub-helper.c:15:10: fatal error: 'asm/setup.h' file not found
#include <asm/setup.h>
^~~~~~~~~~~~~
1 error generated.
--
>> drivers/firmware/efi/libstub/gop.c:14:10: fatal error: 'asm/setup.h' file not found
#include <asm/setup.h>
^~~~~~~~~~~~~
1 error generated.
--
>> drivers/firmware/efi/libstub/printk.c:10:10: fatal error: 'asm/setup.h' file not found
#include <asm/setup.h>
^~~~~~~~~~~~~
1 error generated.
vim +108 init/main.c
^1da177e4c3f41 Linus Torvalds 2005-04-16 105
^1da177e4c3f41 Linus Torvalds 2005-04-16 106 #include <asm/io.h>
^1da177e4c3f41 Linus Torvalds 2005-04-16 107 #include <asm/bugs.h>
^1da177e4c3f41 Linus Torvalds 2005-04-16 @108 #include <asm/setup.h>
a940199f206dcf Andi Kleen 2005-07-28 109 #include <asm/sections.h>
37b73c82818573 Arjan van de Ven 2006-01-06 110 #include <asm/cacheflush.h>
^1da177e4c3f41 Linus Torvalds 2005-04-16 111
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-01-28 10:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-28 10:31 init/main.c:108:10: fatal error: 'asm/setup.h' file not found kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.