From: Marek Behun <marek.behun@nic.cz>
To: linux-kbuild@vger.kernel.org
Cc: Masahiro Yamada <masahiroy@kernel.org>,
Michal Marek <michal.lkml@markovi.net>
Subject: Re: [PATCH kbuild RFC] kbuild: fix modpost throwing away module symvers when linking vmlinux.o
Date: Sat, 2 May 2020 20:29:43 +0200 [thread overview]
Message-ID: <20200502202943.0c13a451@nic.cz> (raw)
In-Reply-To: <20200501224300.1012-1-marek.behun@nic.cz>
Just to note how this breaks things:
On OpenWRT this may happen
1. make modules is run
- Module.symvers contains symbols from modules
2. make Image/bzImage is run (as part of another OpenWRT make target)
- Module.symvers is rewritten to contain only vmlinux.o symbols
3. external kernel modules try to build (wireguard, mac80211)
- this now fails because external modules may depend on symbols from
other modules and this information isn't in Module.symvers anymore
Marek
next prev parent reply other threads:[~2020-05-02 18:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-01 22:43 [PATCH kbuild RFC] kbuild: fix modpost throwing away module symvers when linking vmlinux.o Marek Behún
2020-05-02 18:29 ` Marek Behun [this message]
2020-05-16 2:44 ` Masahiro Yamada
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200502202943.0c13a451@nic.cz \
--to=marek.behun@nic.cz \
--cc=linux-kbuild@vger.kernel.org \
--cc=masahiroy@kernel.org \
--cc=michal.lkml@markovi.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox