From: Nicolas Schier <nsc@kernel.org>
To: Arkadiusz Kozdra <floss@arusekk.pl>
Cc: Nathan Chancellor <nathan@kernel.org>,
linux-kbuild@vger.kernel.org,
Masahiro Yamada <masahiroy@kernel.org>,
Jakub Kicinski <kuba@kernel.org>,
Alex Deucher <alexander.deucher@amd.com>,
Geert Uytterhoeven <geert+renesas@glider.be>,
Mark Brown <broonie@kernel.org>, Sam Ravnborg <sam@ravnborg.org>
Subject: Re: [PATCH] kconfig: fix static linking of nconf
Date: Wed, 14 Jan 2026 14:26:27 +0100 [thread overview]
Message-ID: <aWeZg7cn66FD2MVk@derry.ads.avm.de> (raw)
In-Reply-To: <35312d4f-0783-43bf-8a91-0e80bffe821c@arusekk.pl>
On Mon, Jan 12, 2026 at 02:24:42PM +0100, Arkadiusz Kozdra wrote:
> W dniu 11.01.2026 o 00:20, Nathan Chancellor pisze:
> > > -PKG="ncursesw menuw panelw"
> > > -PKG2="ncurses menu panel"
> > Is it worth a comment that the order of these packages is intentional to
> > support static library builds? I do not mind adding after the fact to
> > save you from sending a v2. I guess this situation is not too common
> > since 1c5af5cf9308 is over six years old at this point but if any other
> > dependencies become necessary in the future, it might help folks place
> > them in the correct order.
>
> Sure, this is because ld still only visits each archive once, left-to-right,
> by design.
> I think a comment about library dependencies and order would do a lot.
> Feel free to reword and/or add comments as you please.
> Thank you for your help.
>
> - Arusekk
>
I will add this to kbuild-fixes-for-next with this comment added to
nconf-cfg.sh:
# Keep library order for static linking (HOSTCC='cc -static')
final inclusion in kbuild-fixes in about a week as long as there are no
regressions or vetos.
Kind regards,
Nicolas
prev parent reply other threads:[~2026-01-14 13:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-10 11:48 [PATCH] kconfig: fix static linking of nconf Arkadiusz Kozdra
2026-01-10 23:20 ` Nathan Chancellor
2026-01-12 13:24 ` Arkadiusz Kozdra
2026-01-14 13:26 ` Nicolas Schier [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:
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=aWeZg7cn66FD2MVk@derry.ads.avm.de \
--to=nsc@kernel.org \
--cc=alexander.deucher@amd.com \
--cc=broonie@kernel.org \
--cc=floss@arusekk.pl \
--cc=geert+renesas@glider.be \
--cc=kuba@kernel.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=masahiroy@kernel.org \
--cc=nathan@kernel.org \
--cc=sam@ravnborg.org \
/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