[Buildroot] [PATCH v2, 1/1] package/kmod: fix build with python 3.8

Thomas Petazzoni thomas.petazzoni at bootlin.com
Mon Nov 18 21:27:21 UTC 2019


Hello Fabrice,

On Sat, 16 Nov 2019 18:07:09 +0100
Fabrice Fontaine <fontaine.fabrice at gmail.com> wrote:

> Add a patch to filter -Wl,--no-undefined as -Wl,-z,undefs is ignored by
> some ld versions:

Since "some ld versions" was not very specific, I had a closer look. -z
undefs was added by commit 97a232d7335f3bd0231fd9cd39455bde1d563922 in
upstream binutils, and this commit was first present in binutils 2.30.
So any toolchain using binutils version older than that won't have -z
undefs.

So, I've extended a bit the commit log with that information and
applied to master. Could you submit your patch upstream, with the
additional explanation of the binutils version ?

Thanks a lot!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list