linux-kbuild.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [kbuild:kbuild 14/14] scripts/module.lds.S:29:10: fatal error: 'asm/module.lds.h' file not found
       [not found] <202009080532.aH8qq297%lkp@intel.com>
@ 2020-09-08  0:46 ` Masahiro Yamada
  0 siblings, 0 replies; only message in thread
From: Masahiro Yamada @ 2020-09-08  0:46 UTC (permalink / raw)
  To: kernel test robot
  Cc: kbuild-all, clang-built-linux, Linux Kbuild mailing list

Hi, 0day bot.

Now I realized my commit is not working reliably
for parallel builds.

I will consider what to do.

Thanks for the report.


On Tue, Sep 8, 2020 at 6:36 AM kernel test robot <lkp@intel.com> wrote:
>
> 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@lists.01.org



-- 
Best Regards
Masahiro Yamada

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-09-08  0:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <202009080532.aH8qq297%lkp@intel.com>
2020-09-08  0:46 ` [kbuild:kbuild 14/14] scripts/module.lds.S:29:10: fatal error: 'asm/module.lds.h' file not found Masahiro Yamada

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).