Linux Documentation
 help / color / mirror / Atom feed
* [PATCH 0/4] kbuild: make all file references relative to source root
@ 2025-03-13 15:59 Thomas Weißschuh
  2025-03-13 15:59 ` [PATCH 1/4] " Thomas Weißschuh
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Thomas Weißschuh @ 2025-03-13 15:59 UTC (permalink / raw)
  To: Masahiro Yamada, Nathan Chancellor, Nicolas Schier,
	Jonathan Corbet, Thomas Gleixner, Ingo Molnar, Borislav Petkov,
	Dave Hansen, x86, H. Peter Anvin, Ben Hutchings
  Cc: linux-kbuild, linux-kernel, linux-doc, Thomas Weißschuh

-fmacro-prefix-map only affects __FILE__ and __BASE_FILE__.
Other references, for example in debug information, is not affected.
This makes handling of file references in the compiler output harder to
use and creates problems for reproducible builds.

Switch to -ffile-prefix map which affects all references.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
Thomas Weißschuh (4):
      kbuild: make all file references relative to source root
      kbuild: doc: reproducible-builds: drop section "Absolute filenames"
      x86/boot: Switch to -ffile-prefix-map
      x86/boot/compressed: Switch to -ffile-prefix-map

 Documentation/kbuild/reproducible-builds.rst | 16 ----------------
 Makefile                                     |  2 +-
 arch/x86/boot/Makefile                       |  2 +-
 arch/x86/boot/compressed/Makefile            |  2 +-
 4 files changed, 3 insertions(+), 19 deletions(-)
---
base-commit: bc5431693696b3f928b0b7acf8d7a120127db7a4
change-id: 20250312-kbuild-prefix-map-5ae76c209e7a

Best regards,
-- 
Thomas Weißschuh <linux@weissschuh.net>


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2025-03-16  2:02 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-13 15:59 [PATCH 0/4] kbuild: make all file references relative to source root Thomas Weißschuh
2025-03-13 15:59 ` [PATCH 1/4] " Thomas Weißschuh
2025-03-13 15:59 ` [PATCH 2/4] kbuild: doc: reproducible-builds: drop section "Absolute filenames" Thomas Weißschuh
2025-03-13 15:59 ` [PATCH 3/4] x86/boot: Switch to -ffile-prefix-map Thomas Weißschuh
2025-03-15  8:15   ` Masahiro Yamada
2025-03-15 11:31     ` Borislav Petkov
2025-03-13 15:59 ` [PATCH 4/4] x86/boot/compressed: " Thomas Weißschuh
2025-03-15  8:16   ` Masahiro Yamada
2025-03-15 21:25     ` Ingo Molnar
2025-03-16  2:01       ` Masahiro Yamada
2025-03-15 11:34 ` [PATCH 0/4] kbuild: make all file references relative to source root Borislav Petkov
2025-03-15 12:02   ` Masahiro Yamada

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox