From: Nicolas Schier <nsc@kernel.org>
To: "Nathan Chancellor" <nathan@kernel.org>,
"Bill Wendling" <morbo@google.com>,
"Justin Stitt" <justinstitt@google.com>,
"Nick Desaulniers" <nick.desaulniers+lkml@gmail.com>,
"André Draszik" <andre.draszik@linaro.org>
Cc: Nicolas Schier <nsc@kernel.org>,
Peter Griffin <peter.griffin@linaro.org>,
Tudor Ambarus <tudor.ambarus@linaro.org>,
Juan Yescas <jyescas@google.com>,
Guenter Roeck <linux@roeck-us.net>,
kernel-team@android.com, linux-kernel@vger.kernel.org,
linux-kbuild@vger.kernel.org, llvm@lists.linux.dev
Subject: Re: [PATCH 0/2] kbuild: link-vmlinux.sh: more reliable 3rd pass linking
Date: Mon, 3 Aug 2026 16:11:48 +0200 [thread overview]
Message-ID: <178576605143.3450455.8523568280108508915.b4-ty@b4> (raw)
In-Reply-To: <20260728-linux-kallsyms-fix-v1-0-1a665156c898@linaro.org>
On Tue, 28 Jul 2026 13:42:38 +0100, André Draszik wrote:
> link-vmlinux.sh currently only uses the file size of
> .tmp_vmlinux?.kallsyms.o to determine if it needs to do a third pass. I
> was hitting a case where file size didn't change, but symbols changed
> sufficiently to still move subsequent symbols in vmlinux to invalidate
> kallsyms.
>
> In particular kallsyms_names grew by one byte between
> .tmp_vmlinux1.kallsyms.o and .tmp_vmlinux2.kallsyms.o, moving the next
> symbol to the next alignment offset (4 bytes), moving many subsequent
> symbols in the final vmlinux image in turn (until abosrbed by further
> alignment instructions). This failed the final link with:
>
> [...]
Applied to kbuild tree (kbuild-next-unstable), thanks!
[1/2] kallsyms: add symbol size for kallsyms symbols that can change size
https://git.kernel.org/kbuild/c/bcd29ffd12f8
[2/2] kbuild: link-vmlinux.sh: improve detection of third pass requirement
https://git.kernel.org/kbuild/c/3ef272de13d4
Please look out for regression or issue reports or other follow up
comments, as they may result in the patch/series getting dropped,
reverted or modified (e.g. trailers).
Patches applied to a kbuild-*-unstable branch are accepted pending
wider testing in linux-next and any post-commit review; they will
generally be moved to the main branch (kbuild-next or kbuild-fixes)
in about a week if no issues are found.
Best regards,
--
Nicolas
prev parent reply other threads:[~2026-08-03 14:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-28 12:42 André Draszik
2026-07-28 12:42 ` [PATCH 1/2] kallsyms: add symbol size for kallsyms symbols that can change size André Draszik
2026-08-24 12:26 ` Geert Uytterhoeven
2026-08-24 13:36 ` André Draszik
2026-08-24 13:47 ` Geert Uytterhoeven
2026-07-28 12:42 ` [PATCH 2/2] kbuild: link-vmlinux.sh: improve detection of third pass requirement André Draszik
2026-07-31 23:22 ` [PATCH 0/2] kbuild: link-vmlinux.sh: more reliable 3rd pass linking Nathan Chancellor
2026-08-03 14:11 ` 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=178576605143.3450455.8523568280108508915.b4-ty@b4 \
--to=nsc@kernel.org \
--cc=andre.draszik@linaro.org \
--cc=justinstitt@google.com \
--cc=jyescas@google.com \
--cc=kernel-team@android.com \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=llvm@lists.linux.dev \
--cc=morbo@google.com \
--cc=nathan@kernel.org \
--cc=nick.desaulniers+lkml@gmail.com \
--cc=peter.griffin@linaro.org \
--cc=tudor.ambarus@linaro.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
all inboxes | Powered by JetHome®