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


Groups > linux.debian.kernel > #68658 > unrolled thread

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

Started byAndreas Beckmann <anbe@debian.org>
First post2020-11-23 18:50 +0100
Last post2020-11-24 19:10 +0100
Articles 3 — 3 participants

Back to article view | Back to linux.debian.kernel


Contents

  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
    Processed: Re: Bug#975571: linux: No rule to make target  'scripts/module.lds' while building out-of-tree modules "Debian Bug Tracking System" <owner@bugs.debian.org> - 2020-11-24 19:10 +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

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

FromAndreas Beckmann <anbe@debian.org>
Date2020-11-23 18:50 +0100
SubjectBug#975571: linux: No rule to make target 'scripts/module.lds' while building out-of-tree modules
Message-ID<Beo8p-p4-7@gated-at.bofh.it>
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.


Andreas

[toc] | [next] | [standalone]


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

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2020-11-24 19:10 +0100
SubjectProcessed: Re: Bug#975571: linux: No rule to make target 'scripts/module.lds' while building out-of-tree modules
Message-ID<BeKVj-5Vy-3@gated-at.bofh.it>
In reply to#68658
Processing control commands:

> tags -1 + confirmed
Bug #975571 [src:linux] linux: No rule to make target 'scripts/module.lds' while building out-of-tree modules
Added tag(s) confirmed.

-- 
975571: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=975571
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#68664

FromSalvatore Bonaccorso <carnil@debian.org>
Date2020-11-24 19:10 +0100
Message-ID<BeKVj-5Vy-5@gated-at.bofh.it>
In reply to#68658
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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web