Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1034344

Bug#975571: linux: No rule to make target 'scripts/module.lds' while building out-of-tree modules

From Salvatore Bonaccorso <carnil@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#975571: linux: No rule to make target 'scripts/module.lds' while building out-of-tree modules
Date 2020-11-24 19:10 +0100
Message-ID <BeKVj-5Vy-5@gated-at.bofh.it> (permalink)
References <Beo8p-p4-7@gated-at.bofh.it> <Beo8p-p4-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Control: tags -1 + confirmed

Hi Andreas,

On Mon, Nov 23, 2020 at 06:46:26PM +0100, Andreas Beckmann wrote:
> Source: linux
> Version: 5.10~rc4-1~exp1
> Severity: important
> 
> Hi,
> 
> building out-of-tree modules againt Linux 5.10 headers in experimental fails with
> 
>     No rule to make target 'scripts/module.lds', needed by '/path/to/module.ko'.  Stop.
> 
> e.g.
> 
> make[3]: *** No rule to make target 'scripts/module.lds', needed by '/var/lib/dkms/r8168/8.048.03/build/r8168.ko'.  Stop.
> 
> make[4]: *** No rule to make target 'scripts/module.lds', needed by '/var/lib/dkms/bbswitch/0.8/build/bbswitch.ko'.  Stop.
> 
> make[5]: *** No rule to make target 'scripts/module.lds', needed by '/usr/src/modules/nvidia-kernel/nvidia-drm.ko'.  Stop.

Thanks for reporting.

We need to do something about the following upstream change,
596b0474d3d9 ("kbuild: preprocess module linker script")[1].

Regards,
Salvatore

 [1] https://git.kernel.org/linus/596b0474d3d9b1242eab713f84d8873f9887d980

Back to linux.debian.bugs.dist | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Bug#975571: linux: No rule to make target 'scripts/module.lds' while building out-of-tree modules Andreas Beckmann <anbe@debian.org> - 2020-11-23 18:50 +0100
  Bug#975571: linux: No rule to make target 'scripts/module.lds' while building out-of-tree modules Salvatore Bonaccorso <carnil@debian.org> - 2020-11-24 19:10 +0100

csiph-web