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

* Re: [kbuild:kbuild 14/14] scripts/module.lds.S:29:10: fatal error: 'asm/module.lds.h' file not found
  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
  0 siblings, 0 replies; 4+ messages 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] 4+ messages in thread

* Re: [kbuild:kbuild 14/14] scripts/module.lds.S:29:10: fatal error: 'asm/module.lds.h' file not found
@ 2020-09-08  0:46   ` Masahiro Yamada
  0 siblings, 0 replies; 4+ messages in thread
From: Masahiro Yamada @ 2020-09-08  0:46 UTC (permalink / raw)
  To: kbuild-all

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

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(a)lists.01.org



-- 
Best Regards
Masahiro Yamada

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

* Re: [kbuild:kbuild 14/14] scripts/module.lds.S:29:10: fatal error: 'asm/module.lds.h' file not found
  2020-09-08  0:46   ` Masahiro Yamada
  (?)
@ 2020-09-08  4:52   ` Philip Li
  -1 siblings, 0 replies; 4+ messages in thread
From: Philip Li @ 2020-09-08  4:52 UTC (permalink / raw)
  To: kbuild-all

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

On Tue, Sep 08, 2020 at 09:46:17AM +0900, Masahiro Yamada wrote:
> 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.
you are welcome, thanks for letting us know the analysis result.

> 
> 
> 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(a)lists.01.org
> 
> 
> 
> -- 
> Best Regards
> Masahiro Yamada
> _______________________________________________
> kbuild-all mailing list -- kbuild-all(a)lists.01.org
> To unsubscribe send an email to kbuild-all-leave(a)lists.01.org

^ 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.