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

Thomas Weißschuh posted 2 patches 7 months, 1 week ago
Documentation/kbuild/reproducible-builds.rst | 17 +++++++++++++++++
Makefile                                     |  3 +--
2 files changed, 18 insertions(+), 2 deletions(-)
[PATCH 0/2] kbuild: revert relative paths in compiler outputs
Posted by Thomas Weißschuh 7 months, 1 week ago
-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@weissschuh.net>
---
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@weissschuh.net>

Re: [PATCH 0/2] kbuild: revert relative paths in compiler outputs
Posted by Masahiro Yamada 7 months, 1 week ago
On Sun, May 11, 2025 at 3:02 PM Thomas Weißschuh <linux@weissschuh.net> wrote:
>
> -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@weissschuh.net>
> ---
> 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@weissschuh.net>


Both applied.
(I locally fixed the doubled Fixes:)

Thanks.



-- 
Best Regards
Masahiro Yamada