Skip to contentSkip to conversation

<command-line>: fatal error: ./include/generated/utsrelease.h: No such file or directory

PATCH kernel test robot 1 participant 1 message May 22, 2022 Memory management

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw

Hi Kees,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   18ecd30af1a8402c162cca1bd58771c0e5be7815
commit: 61f60bac8c05f8ecd2ae2a6360520b91a45be9a2 [10068/13468] gcc-plugins: Change all version strings match kernel
config: powerpc-allmodconfig (https://download.01.org/0day-ci/archive/20220523/[email protected]/config)
compiler: powerpc-linux-gcc (GCC) 11.3.0

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
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=61f60bac8c05f8ecd2ae2a6360520b91a45be9a2
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 61f60bac8c05f8ecd2ae2a6360520b91a45be9a2
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=powerpc prepare

If you fix the issue, kindly add following tag where applicable

All errors (new ones prefixed by >>):

scripts/genksyms/parse.y: warning: 9 shift/reduce conflicts [-Wconflicts-sr] scripts/genksyms/parse.y: warning: 5 reduce/reduce conflicts [-Wconflicts-rr] scripts/genksyms/parse.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples

>> <command-line>: fatal error: ./include/generated/utsrelease.h: No such file or directory
   compilation terminated.
>> <command-line>: fatal error: ./include/generated/utsrelease.h: No such file or directory
   make[3]: *** [scripts/gcc-plugins/Makefile:54: scripts/gcc-plugins/latent_entropy_plugin.so] Error 1
   compilation terminated.
   make[3]: *** [scripts/gcc-plugins/Makefile:54: scripts/gcc-plugins/structleak_plugin.so] Error 1
>> <command-line>: fatal error: ./include/generated/utsrelease.h: No such file or directory

compilation terminated.
make[3]: *** [scripts/gcc-plugins/Makefile:54: scripts/gcc-plugins/randomize_layout_plugin.so] Error 1 make[3]: Target '__build' not remade because of errors.
make[2]: *** [scripts/Makefile.build:550: scripts/gcc-plugins] Error 2
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1179: scripts] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:219: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.

Signature · 2 lines
0-DAY CI Kernel Test Service
https://01.org/lkp