All of lore.kernel.org
 help / color / mirror / Atom feed
* [kbuild:kbuild 14/14] scripts/module.lds.S:29:10: fatal error: 'asm/module.lds.h' file not found
@ 2020-09-07 21:36 kernel test robot
  2020-09-08  0:46   ` Masahiro Yamada
  0 siblings, 1 reply; 4+ messages in thread
From: kernel test robot @ 2020-09-07 21:36 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git kbuild
head:   8d77c9acc14a49e4175d7e0d3ce1e256cd31c5a5
commit: 8d77c9acc14a49e4175d7e0d3ce1e256cd31c5a5 [14/14] kbuild: preprocess module linker script
config: s390-randconfig-r015-20200907 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project ab68517e6b7e51b84c4b0e813a30258ec1ce5da5)
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 s390 cross compiling tool for clang build
        # apt-get install binutils-s390x-linux-gnu
        git checkout 8d77c9acc14a49e4175d7e0d3ce1e256cd31c5a5
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=s390 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> scripts/module.lds.S:29:10: fatal error: 'asm/module.lds.h' file not found
   #include <asm/module.lds.h>
            ^~~~~~~~~~~~~~~~~~
   1 error generated.
   make[2]: *** [scripts/Makefile.build:377: scripts/module.lds] Error 1
   make[2]: Target '__build' not remade because of errors.
   make[1]: *** [Makefile:1192: scripts] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [Makefile:185: __sub-make] Error 2
   make: Target 'prepare' not remade because of errors.

# https://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git/commit/?id=8d77c9acc14a49e4175d7e0d3ce1e256cd31c5a5
git remote add kbuild https://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git
git fetch --no-tags kbuild kbuild
git checkout 8d77c9acc14a49e4175d7e0d3ce1e256cd31c5a5
vim +29 scripts/module.lds.S

    27	
    28	/* bring in arch-specific sections */
  > 29	#include <asm/module.lds.h>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 23337 bytes --]

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

end of thread, other threads:[~2020-09-08  4:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-07 21:36 [kbuild:kbuild 14/14] scripts/module.lds.S:29:10: fatal error: 'asm/module.lds.h' file not found kernel test robot
2020-09-08  0:46 ` Masahiro Yamada
2020-09-08  0:46   ` Masahiro Yamada
2020-09-08  4:52   ` Philip Li

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.