From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH] strace: Fix reproducibility issue
Date: Tue, 14 Apr 2026 12:03:20 +0100 [thread overview]
Message-ID: <20260414110320.858716-1-richard.purdie@linuxfoundation.org> (raw)
With the updated ax_prog_cc_for_build.m4 CC_FOR_BUILD can include a
" -std=gnu23" option on some hosts. We don't need this on target and
it leads to a reproducibility issue, so remove it.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
meta/recipes-devtools/strace/strace_6.19.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipes-devtools/strace/strace_6.19.bb b/meta/recipes-devtools/strace/strace_6.19.bb
index 9dcf9d14d53..f44e9ed6f92 100644
--- a/meta/recipes-devtools/strace/strace_6.19.bb
+++ b/meta/recipes-devtools/strace/strace_6.19.bb
@@ -51,6 +51,7 @@ do_install_ptest() {
install -m 644 ${B}/src/config.h ${D}${PTEST_PATH}/src/
sed -e 's/^srcdir = .*/srcdir = ..\/..\/ptest\/tests/' \
-e "/^TEST_LOG_DRIVER =/s|(top_srcdir)|(top_builddir)|" \
+ -e '/^CC_FOR_BUILD/s/\s-std=gnu23//g' \
-i ${D}/${PTEST_PATH}/${TESTDIR}/Makefile
}
reply other threads:[~2026-04-14 11:03 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=20260414110320.858716-1-richard.purdie@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=openembedded-core@lists.openembedded.org \
/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