[PATCH 0/2] kbuild: revert relative paths in compiler outputs

From: Thomas Weißschuh
Date: Sun May 11 2025 - 02:02:55 EST


-ffile-prefix-map/--remap-path-prefix break the ability of debuggers to
find the source file corresponding to object files. As there is no
simple or uniform way to specify the source directory explicitly, this
breaks developers workflows.

Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>
---
Thomas Weißschuh (2):
Revert "kbuild: make all file references relative to source root"
Revert "kbuild, rust: use -fremap-path-prefix to make paths relative"

Documentation/kbuild/reproducible-builds.rst | 17 +++++++++++++++++
Makefile | 3 +--
2 files changed, 18 insertions(+), 2 deletions(-)
---
base-commit: 3ce9925823c7d6bb0e6eb951bf2db0e9e182582d
change-id: 20250511-kbuild-revert-file-prefix-map-4de45dfada75

Best regards,
--
Thomas Weißschuh <linux@xxxxxxxxxxxxxx>