[Intel-gfx] [drm-intel:topic/core-for-CI 20/30] include/linux/kconfig.h:7:10: fatal error: generated/autoconf.h: No such file or directory

kernel test robot lkp at intel.com
Mon Mar 15 19:10:12 UTC 2021


tree:   git://anongit.freedesktop.org/drm-intel topic/core-for-CI
head:   785b066b32b630e4735ca6e51acbb067703e2d3a
commit: 98a674f9cd22c2cf6f507ccc1f26fae3c91d1271 [20/30] Revert "drm/i915: Don't select BROKEN"
config: alpha-randconfig-r033-20210315 (attached as .config)
compiler: alpha-linux-gcc (GCC) 9.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
        git remote add drm-intel git://anongit.freedesktop.org/drm-intel
        git fetch --no-tags drm-intel topic/core-for-CI
        git checkout 98a674f9cd22c2cf6f507ccc1f26fae3c91d1271
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=alpha 

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: No such file or directory
       7 | #include <generated/autoconf.h>
         |          ^~~~~~~~~~~~~~~~~~~~~~
   compilation terminated.
--
   Makefile arch include kernel scripts source usr [scripts/kconfig/Makefile:63: syncconfig] Error 1
   Makefile arch include kernel scripts source usr [Makefile:600: syncconfig] Error 2
   Makefile arch include kernel scripts source usr [Makefile:709: 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: No such file or directory
   7 | #include <generated/autoconf.h>
   | ^~~~~~~~~~~~~~~~~~~~~~
   compilation terminated.
   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:514: scripts/selinux/mdp] Error 2
   Target '__build' not remade because of errors.
   Makefile arch include kernel scripts source usr [scripts/Makefile.build:514: scripts/selinux] Error 2
   Target '__build' not remade because of errors.
   Makefile arch include kernel scripts source usr [Makefile:1217: scripts] Error 2
   Target 'modules_prepare' not remade because of errors.
   make: Makefile arch include kernel scripts source usr [Makefile:215: __sub-make] Error 2
   make: Target 'modules_prepare' not remade because of errors.
--
   Makefile arch include kernel scripts source usr [scripts/kconfig/Makefile:63: syncconfig] Error 1
   Makefile arch include kernel scripts source usr [Makefile:600: syncconfig] Error 2
   Makefile arch include kernel scripts source usr [Makefile:709: 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: No such file or directory
   7 | #include <generated/autoconf.h>
   | ^~~~~~~~~~~~~~~~~~~~~~
   compilation terminated.
   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:514: scripts/selinux/mdp] Error 2
   Target '__build' not remade because of errors.
   Makefile arch include kernel scripts source usr [scripts/Makefile.build:514: scripts/selinux] Error 2
   Target '__build' not remade because of errors.
   Makefile arch include kernel scripts source usr [Makefile:1217: scripts] Error 2
   Target 'prepare' not remade because of errors.
   make: Makefile arch include kernel scripts source usr [Makefile:215: __sub-make] Error 2
   make: Target 'prepare' not remade because of errors.


vim +7 include/linux/kconfig.h

8b59cd81dc5e72 Masahiro Yamada 2020-04-23  6  
2a11c8ea20bf85 Michal Marek    2011-07-20 @7  #include <generated/autoconf.h>
2a11c8ea20bf85 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: 43031 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20210316/0f1ced39/attachment-0001.gz>


More information about the Intel-gfx mailing list