Re: [PATCH] Documentation: kbuild: note CONFIG_DEBUG_EFI in reproducible builds

From: Randy Dunlap
Date: Wed Jun 25 2025 - 13:10:48 EST


Hi,

On 6/25/25 5:57 AM, Masahiro Yamada wrote:
> CONFIG_EFI_DEBUG embeds absolute file paths into object files, which
> makes the resulting vmlinux specific to the build environment.
>
> Add a note about this in reproducible-builds.rst
>
> Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx>
> ---
>
> Documentation/kbuild/reproducible-builds.rst | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/Documentation/kbuild/reproducible-builds.rst b/Documentation/kbuild/reproducible-builds.rst
> index f2dcc39044e6..7a16dbc275ca 100644
> --- a/Documentation/kbuild/reproducible-builds.rst
> +++ b/Documentation/kbuild/reproducible-builds.rst
> @@ -61,6 +61,9 @@ supported.
> The Reproducible Builds web site has more information about these
> `prefix-map options`_.
>
> +Some CONFIG options such as `CONFIG_DEBUG_EFI` embeds absolute paths in

options embed

> +object files. Such options should be disabled.
> +
> Generated files in source packages
> ----------------------------------
>

--
~Randy