All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [RFC PATCH] toolchain/toolchain-wrapper: remove --build-id=none option
@ 2020-11-11 19:48 John Keeping
  2020-11-11 20:58 ` Yann E. MORIN
  0 siblings, 1 reply; 7+ messages in thread
From: John Keeping @ 2020-11-11 19:48 UTC (permalink / raw)
  To: buildroot

The only build-id style that is not reproducible is "uuid", but the
default is "sha1" so packages would have to go out of their way to
choose a non-reproducible build-id.  Having build IDs in general is
useful as it can be used to match split debuginfo.

I haven't seen any packages that do this, and if there are any that use
non-reproducible build-ids then that should be treated as a bug in that
package like any other reproducibility issue; there is no reason to
globally disable build IDs when BR2_REPRODUCIBLE is set.

Signed-off-by: John Keeping <john@metanate.com>
---
 toolchain/toolchain-wrapper.mk | 1 -
 1 file changed, 1 deletion(-)

diff --git a/toolchain/toolchain-wrapper.mk b/toolchain/toolchain-wrapper.mk
index 8b551e3a18..56d86fa1ea 100644
--- a/toolchain/toolchain-wrapper.mk
+++ b/toolchain/toolchain-wrapper.mk
@@ -22,7 +22,6 @@ TOOLCHAIN_WRAPPER_OPTS = \
 	$(call qstrip,$(BR2_TARGET_OPTIMIZATION))
 
 ifeq ($(BR2_REPRODUCIBLE),y)
-TOOLCHAIN_WRAPPER_OPTS += -Wl,--build-id=none
 ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_8),y)
 TOOLCHAIN_WRAPPER_OPTS += -ffile-prefix-map=$(BASE_DIR)=buildroot
 else
-- 
2.29.2

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

end of thread, other threads:[~2020-11-12 21:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-11 19:48 [Buildroot] [RFC PATCH] toolchain/toolchain-wrapper: remove --build-id=none option John Keeping
2020-11-11 20:58 ` Yann E. MORIN
2020-11-11 21:00   ` Yann E. MORIN
2020-11-12 11:07   ` John Keeping
2020-11-12 20:03     ` John Keeping
2020-11-12 21:11       ` Yann E. MORIN
2020-11-12 20:58     ` Yann E. MORIN

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.