[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250315113400.GBZ9VlqIBVsVdzlRAb@fat_crate.local>
Date: Sat, 15 Mar 2025 12:34:00 +0100
From: Borislav Petkov <bp@...en8.de>
To: Thomas Weißschuh <linux@...ssschuh.net>
Cc: Masahiro Yamada <masahiroy@...nel.org>,
Nathan Chancellor <nathan@...nel.org>,
Nicolas Schier <nicolas@...sle.eu>,
Jonathan Corbet <corbet@....net>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>,
Dave Hansen <dave.hansen@...ux.intel.com>, x86@...nel.org,
"H. Peter Anvin" <hpa@...or.com>,
Ben Hutchings <ben@...adent.org.uk>, linux-kbuild@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-doc@...r.kernel.org
Subject: Re: [PATCH 0/4] kbuild: make all file references relative to source
root
On Thu, Mar 13, 2025 at 04:59:08PM +0100, Thomas Weißschuh wrote:
> -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@...ssschuh.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
Btw, I don't see why those are 4 patches - it is a single logical change that
converts to this new compiler switch.
So why are they 4?
Masahiro, might as well merge them into one...
Thx.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette
Powered by blists - more mailing lists