mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Ian Abbott <abbotti@mev.co.uk>
To: ptxdist@pengutronix.de
Cc: Ian Abbott <abbotti@mev.co.uk>
Subject: [ptxdist] [PATCH] barebox_mlo: blacklist TARGET_BUILD_ID
Date: Wed,  2 Aug 2017 14:51:01 +0100	[thread overview]
Message-ID: <20170802135101.2847-1-abbotti@mev.co.uk> (raw)

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

                 reply	other threads:[~2017-08-02 13:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170802135101.2847-1-abbotti@mev.co.uk \
    --to=abbotti@mev.co.uk \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox