]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
Documentation: kbuild: Update the debug information notes in reproducible-builds.rst
authorNathan Chancellor <nathan@kernel.org>
Fri, 13 Mar 2026 23:37:29 +0000 (16:37 -0700)
committerNicolas Schier <nsc@kernel.org>
Sun, 5 Apr 2026 07:21:32 +0000 (09:21 +0200)
commit2fb62d915476e3c2253f009ed0f45b82f5f46124
tree4ce6c412df6d4115a7fbc0ed0ed91f0d54aac201
parentc7c55f0e1667aa25c0ac047bd873159722358f6c
Documentation: kbuild: Update the debug information notes in reproducible-builds.rst

The debug information part of the "Absolute filenames" section in the
reproducible builds document only mentions providing
'-fdebug-prefix-map' to KCFLAGS but it needs to be provided to KAFLAGS
as well since debug information has been generated for assembly files
for a long time.

Additionally, mention that the build directory may also appear as an
absolute path in the debug information (via DW_AT_comp_dir), so it needs
to be overridden via '-fdebug-prefix-map' as well.

Reported-by: Alexander Coffin <alex@cyberialabs.net>
Closes: https://lore.kernel.org/b8dfe7035d19fd611b9be55ee3145fdb@purelymail.com/
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Link: https://patch.msgid.link/20260313-kbuild-docs-repro-builds-fdebug-prefix-map-updates-v1-1-3aeeef7fa710@kernel.org
Signed-off-by: Nicolas Schier <nsc@kernel.org>
Documentation/kbuild/reproducible-builds.rst