Re: [PATCH v3] kbuild: Makefile.lib: fix offsets generation with debug info
From: Nicolas Schier
Date: Thu Nov 05 2026 - 02:33:07 EST
On Mon, 26 Oct 2026 10:47:33 +0300, Dmitry Kandybka wrote:
> When debug information is enabled (e.g. -ggdb3), the assembler
> output file (e.g. kernel/sched/rq-offsets.s) contains additional
> directives such as .ascii with offset info and debug metadata.
>
> For example:
>
> .ascii "->RQ_nr_pinned $3048 offsetof(struct rq, nr_pinned)" #
> ...
> .ascii "->func); __data = (it_func_ptr)->data; ((void(*)(void *, pro"
>
> [...]
Applied to kbuild/linux.git (kbuild-next-unstable), with patch history snipped.
Thanks!
[1/1] kbuild: Makefile.lib: fix offsets generation with debug info
https://git.kernel.org/kbuild/c/131d86d0
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 the kbuild-next-unstable branch are accepted pending
wider testing in linux-next and any post-commit review; they will
generally be moved to the kbuild-next branch in about a week if no
issues are found.
Best regards,
--
Nicolas