* [PATCH v2] Documentation: kbuild: note CONFIG_DEBUG_EFI in reproducible builds
@ 2025-09-24 19:47 Nicolas Schier
2025-09-24 23:15 ` Randy Dunlap
2025-09-25 11:42 ` Nathan Chancellor
0 siblings, 2 replies; 3+ messages in thread
From: Nicolas Schier @ 2025-09-24 19:47 UTC (permalink / raw)
To: Nathan Chancellor, Jonathan Corbet
Cc: Ard Biesheuvel, Ben Hutchings, Jonathan Corbet, Masahiro Yamada,
Nathan Chancellor, Randy Dunlap, linux-doc, linux-kbuild,
linux-kernel, Nicolas Schier
From: Masahiro Yamada <masahiroy@kernel.org>
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@kernel.org>
Signed-off-by: Nicolas Schier <nsc@kernel.org>
---
Changes in v2:
* Fixed a grammar typo (Randy)
* v1: https://lore.kernel.org/linux-kbuild/20250625125809.2504963-1-masahiroy@kernel.org
---
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 f2dcc39044e66ddd165646e0b51ccb0209aca7dd..96d208e578cd53d3f0c4a24ec983a9179260345d 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` embed absolute paths in
+object files. Such options should be disabled.
+
Generated files in source packages
----------------------------------
---
base-commit: cec1e6e5d1ab33403b809f79cd20d6aff124ccfe
change-id: 20250924-kbuild-doc-config-debug-efi-in-reproducible-builds-eb7489a8d185
Best regards,
--
Nicolas
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v2] Documentation: kbuild: note CONFIG_DEBUG_EFI in reproducible builds
2025-09-24 19:47 [PATCH v2] Documentation: kbuild: note CONFIG_DEBUG_EFI in reproducible builds Nicolas Schier
@ 2025-09-24 23:15 ` Randy Dunlap
2025-09-25 11:42 ` Nathan Chancellor
1 sibling, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2025-09-24 23:15 UTC (permalink / raw)
To: Nicolas Schier, Nathan Chancellor, Jonathan Corbet
Cc: Ard Biesheuvel, Ben Hutchings, Masahiro Yamada, linux-doc,
linux-kbuild, linux-kernel
On 9/24/25 12:47 PM, Nicolas Schier wrote:
> From: Masahiro Yamada <masahiroy@kernel.org>
>
> 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@kernel.org>
> Signed-off-by: Nicolas Schier <nsc@kernel.org>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Thanks.
> ---
> Changes in v2:
> * Fixed a grammar typo (Randy)
> * v1: https://lore.kernel.org/linux-kbuild/20250625125809.2504963-1-masahiroy@kernel.org
> ---
> 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 f2dcc39044e66ddd165646e0b51ccb0209aca7dd..96d208e578cd53d3f0c4a24ec983a9179260345d 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` embed absolute paths in
> +object files. Such options should be disabled.
> +
> Generated files in source packages
> ----------------------------------
>
>
> ---
> base-commit: cec1e6e5d1ab33403b809f79cd20d6aff124ccfe
> change-id: 20250924-kbuild-doc-config-debug-efi-in-reproducible-builds-eb7489a8d185
>
> Best regards,
--
~Randy
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2] Documentation: kbuild: note CONFIG_DEBUG_EFI in reproducible builds
2025-09-24 19:47 [PATCH v2] Documentation: kbuild: note CONFIG_DEBUG_EFI in reproducible builds Nicolas Schier
2025-09-24 23:15 ` Randy Dunlap
@ 2025-09-25 11:42 ` Nathan Chancellor
1 sibling, 0 replies; 3+ messages in thread
From: Nathan Chancellor @ 2025-09-25 11:42 UTC (permalink / raw)
To: Nathan Chancellor, Jonathan Corbet, Nicolas Schier
Cc: Ard Biesheuvel, Ben Hutchings, Jonathan Corbet, Masahiro Yamada,
Nathan Chancellor, Randy Dunlap, linux-doc, linux-kbuild,
linux-kernel
On Wed, 24 Sep 2025 21:47:58 +0200, Nicolas Schier 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
>
>
Applied, thanks!
[1/1] Documentation: kbuild: note CONFIG_DEBUG_EFI in reproducible builds
https://git.kernel.org/kbuild/c/37fac070eb1e5
Best regards,
--
Nathan Chancellor <nathan@kernel.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-09-25 11:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-24 19:47 [PATCH v2] Documentation: kbuild: note CONFIG_DEBUG_EFI in reproducible builds Nicolas Schier
2025-09-24 23:15 ` Randy Dunlap
2025-09-25 11:42 ` Nathan Chancellor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).