[Intel-gfx] [drm-intel:topic/core-for-CI 18/26] include/linux/kconfig.h:7:10: fatal error: 'generated/autoconf.h' file not found
kernel test robot
lkp at intel.com
Wed Dec 23 20:06:03 UTC 2020
tree: git://anongit.freedesktop.org/drm-intel topic/core-for-CI
head: 86ba40501c85c1275aa841768b5dbd56ce993aac
commit: 2a010f39b156cdc856dd7460992789c2e1e578ee [18/26] Revert "drm/i915: Don't select BROKEN"
config: powerpc64-randconfig-r016-20201221 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project cee1e7d14f4628d6174b33640d502bff3b54ae45)
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 powerpc64 cross compiling tool for clang build
# apt-get install binutils-powerpc64-linux-gnu
git remote add drm-intel git://anongit.freedesktop.org/drm-intel
git fetch --no-tags drm-intel topic/core-for-CI
git checkout 2a010f39b156cdc856dd7460992789c2e1e578ee
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>
All errors (new ones prefixed by >>):
In file included from scripts/selinux/mdp/mdp.c:22:
>> include/linux/kconfig.h:7:10: fatal error: 'generated/autoconf.h' file not found
#include <generated/autoconf.h>
^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
--
Makefile arch include kernel scripts source usr [scripts/kconfig/Makefile:71: syncconfig] Error 1
Makefile arch include kernel scripts source usr [Makefile:602: syncconfig] Error 2
Makefile arch include kernel scripts source usr [Makefile:710: include/config/auto.conf.cmd] Error 2
Failed to remake makefile 'include/config/auto.conf.cmd'.
Failed to remake makefile 'include/config/auto.conf'.
In file included from scripts/selinux/mdp/mdp.c:22:
>> include/linux/kconfig.h:7:10: fatal error: 'generated/autoconf.h' file not found
#include <generated/autoconf.h>
^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
Makefile arch include kernel scripts source usr [scripts/Makefile.host:95: scripts/selinux/mdp/mdp] Error 1
Target '__build' not remade because of errors.
Makefile arch include kernel scripts source usr [scripts/Makefile.build:496: scripts/selinux/mdp] Error 2
Target '__build' not remade because of errors.
Makefile arch include kernel scripts source usr [scripts/Makefile.build:496: scripts/selinux] Error 2
Target '__build' not remade because of errors.
Makefile arch include kernel scripts source usr [Makefile:1190: scripts] Error 2
Target 'modules_prepare' not remade because of errors.
make: Makefile arch include kernel scripts source usr [Makefile:185: __sub-make] Error 2
make: Target 'modules_prepare' not remade because of errors.
--
Makefile arch include kernel scripts source usr [scripts/kconfig/Makefile:71: syncconfig] Error 1
Makefile arch include kernel scripts source usr [Makefile:602: syncconfig] Error 2
Makefile arch include kernel scripts source usr [Makefile:710: include/config/auto.conf.cmd] Error 2
Failed to remake makefile 'include/config/auto.conf.cmd'.
Failed to remake makefile 'include/config/auto.conf'.
In file included from scripts/selinux/mdp/mdp.c:22:
>> include/linux/kconfig.h:7:10: fatal error: 'generated/autoconf.h' file not found
#include <generated/autoconf.h>
^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
Makefile arch include kernel scripts source usr [scripts/Makefile.host:95: scripts/selinux/mdp/mdp] Error 1
Target '__build' not remade because of errors.
Makefile arch include kernel scripts source usr [scripts/Makefile.build:496: scripts/selinux/mdp] Error 2
Target '__build' not remade because of errors.
Makefile arch include kernel scripts source usr [scripts/Makefile.build:496: scripts/selinux] Error 2
Target '__build' not remade because of errors.
Makefile arch include kernel scripts source usr [Makefile:1190: scripts] Error 2
Target 'prepare' not remade because of errors.
make: Makefile arch include kernel scripts source usr [Makefile:185: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.
vim +7 include/linux/kconfig.h
8b59cd81dc5e724 Masahiro Yamada 2020-04-23 6
2a11c8ea20bf850 Michal Marek 2011-07-20 @7 #include <generated/autoconf.h>
2a11c8ea20bf850 Michal Marek 2011-07-20 8
:::::: The code at line 7 was first introduced by commit
:::::: 2a11c8ea20bf850b3a2c60db8c2e7497d28aba99 kconfig: Introduce IS_ENABLED(), IS_BUILTIN() and IS_MODULE()
:::::: TO: Michal Marek <mmarek at suse.cz>
:::::: CC: Michal Marek <mmarek at suse.cz>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 22616 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20201224/3a39486d/attachment-0001.gz>
More information about the Intel-gfx
mailing list