Linux-Modules Archive on
 help / color / Atom feed
From: Thomas Petazzoni <>
To: Lucas De Marchi <>
Cc: Fabrice Fontaine <>,
	linux-modules <>
Subject: Re: [PATCH] filter -Wl,--no-undefined
Date: Mon, 18 Nov 2019 23:45:56 +0100
Message-ID: <20191118234556.21a4984e@windsurf.home> (raw)
In-Reply-To: <>

Hello Lucas,

On Mon, 18 Nov 2019 14:18:07 -0800
Lucas De Marchi <> wrote:

> On Mon, Nov 18, 2019 at 1:59 PM Fabrice Fontaine
> <> wrote:
> >
> > Commit 1d14ef82f4a3be741bcdf6b1c6d51ce9dce43567 does not completely fix  
> CC'ing Thomas.
> Lucas De Marchi

Fabrice also submitted this patch to Buildroot, and I merged it.
Indeed, the -z undefs option was only introduced in binutils 2.30, so
any toolchain using a binutils older than that is not able to use -z

So I'd say that Fabrice's proposal is fine. Another option would be to
detect if the toolchain support -z undefs, and only use --no-undefined
if -z undefs is supported, for example.

Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering

      reply index

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-18 21:56 Fabrice Fontaine
2019-11-18 22:18 ` Lucas De Marchi
2019-11-18 22:45   ` Thomas Petazzoni [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191118234556.21a4984e@windsurf.home \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux-Modules Archive on

Archives are clonable:
	git clone --mirror linux-modules/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-modules linux-modules/ \
	public-inbox-index linux-modules

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone