On Wed, Mar 12, 2025 at 6:05 AM Thomas Weißschuh <linux@xxxxxxxxxxxxxx> wrote: > > On 2025-03-12 04:07:51+0900, Masahiro Yamada wrote: > > On Wed, Mar 12, 2025 at 2:36 AM Ben Hutchings <ben@xxxxxxxxxxxxxxx> wrote: > > > > > > On Tue, 2025-03-11 at 20:03 +0900, Masahiro Yamada wrote: > > > > On Mon, Feb 17, 2025 at 10:23 PM Miguel Ojeda > > > > <miguel.ojeda.sandonis@xxxxxxxxx> wrote: > > > > > > > > > > On Mon, Feb 10, 2025 at 6:11 PM Thomas Weißschuh <linux@xxxxxxxxxxxxxx> wrote: > > > > > > > > > > > > Remap source path prefixes in all output, including compiler > > > > > > diagnostics, debug information, macro expansions, etc. > > > > > > > > > > Hmm... We don't do all the cases in the C side -- the docs ask to use > > > > > `KCFLAGS` when one wants to remove them in the debug info: > > > > > > > > > > https://docs.kernel.org/kbuild/reproducible-builds.html#absolute-filenames > > > > > > > > > > I am not sure if there is a reason not to cover all cases in C (Cc'ing Ben). > > > > > > I think we should use the prefix-map options by default, for both C and > > > Rust code. > > > > A patch is appreciated. > > (top-level Makefile change with updates > > in Documentation/kbuild/reproducible-builds.rst) > > I'm happy to send a patch. > The new patch will conflict with the rust patch. > Could you push the current kbuild tree to git.kernel.org so the new > patch can be based on top of it? Yes, I pushed. -- Best Regards Masahiro Yamada