mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] barebox_mlo: blacklist TARGET_BUILD_ID
@ 2017-08-02 13:51 Ian Abbott
  0 siblings, 0 replies; only message in thread
From: Ian Abbott @ 2017-08-02 13:51 UTC (permalink / raw)
  To: ptxdist; +Cc: Ian Abbott

We don't want build-id information in the barebox_mlo binaries.  It also
results in a build failure for Altera SOCFPGA with some toolchains that
end up outputting the ".note.gnu.build-id" section before the ".text"
section, which causes barebox's "scripts/fix_size" program to report
"invalid magic" in the file it is operating on and exit with a failure.

Fixes: 56b1e28fdbf78 ("Debugging: add support for 'build-id's")
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
---
 rules/barebox_mlo.make | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/rules/barebox_mlo.make b/rules/barebox_mlo.make
index b5489bdf8..d22a289cc 100644
--- a/rules/barebox_mlo.make
+++ b/rules/barebox_mlo.make
@@ -35,7 +35,8 @@ BAREBOX_MLO_WRAPPER_BLACKLIST := \
 	TARGET_HARDEN_RELRO \
 	TARGET_HARDEN_BINDNOW \
 	TARGET_HARDEN_PIE \
-	TARGET_DEBUG
+	TARGET_DEBUG \
+	TARGET_BUILD_ID
 
 BAREBOX_MLO_PATH	:= PATH=$(CROSS_PATH)
 BAREBOX_MLO_CONF_ENV	:= KCONFIG_NOTIMESTAMP=1
-- 
2.13.2


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-08-02 13:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-02 13:51 [ptxdist] [PATCH] barebox_mlo: blacklist TARGET_BUILD_ID Ian Abbott

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox