Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 1/1] package/strace: use bundled headers
@ 2023-07-13  7:57 James Hilliard
  2023-07-13 20:11 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 4+ messages in thread
From: James Hilliard @ 2023-07-13  7:57 UTC (permalink / raw)
  To: buildroot; +Cc: James Hilliard

There is a bug in the configure script, while we could apply the
upstream patching fixing this bug the better solution is to switch
to using the bundled headers instead.

The reason for this is that strace needs the headers of the running
kernel rather than those that were used to build the toolchain.

The running kernel is often more recent than the one used in the
toolchain so we do want to use the more up-to-date headers.

As such we should use the strace bundled headers as they will be
the most up-to-date headers.

Details: https://github.com/strace/strace/issues/253

Fixes:
 - http://autobuild.buildroot.net/results/867/8675aeca53653d9d792182be61a28ea550dc530d

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
Changes v1 -> v2:
  - add more detailed description regarding bundled headers
---
 package/strace/strace.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/strace/strace.mk b/package/strace/strace.mk
index 6514bfe354..9f6b333318 100644
--- a/package/strace/strace.mk
+++ b/package/strace/strace.mk
@@ -10,7 +10,7 @@ STRACE_SITE = https://github.com/strace/strace/releases/download/v$(STRACE_VERSI
 STRACE_LICENSE = LGPL-2.1+
 STRACE_LICENSE_FILES = COPYING LGPL-2.1-or-later
 STRACE_CPE_ID_VENDOR = strace_project
-STRACE_CONF_OPTS = --enable-mpers=no
+STRACE_CONF_OPTS = --enable-bundled=yes --enable-mpers=no
 
 ifeq ($(BR2_PACKAGE_LIBUNWIND),y)
 STRACE_DEPENDENCIES += libunwind
-- 
2.34.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2023-07-13 21:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-13  7:57 [Buildroot] [PATCH v2 1/1] package/strace: use bundled headers James Hilliard
2023-07-13 20:11 ` Thomas Petazzoni via buildroot
2023-07-13 20:40   ` Maxim Kochetkov via buildroot
2023-07-13 21:33   ` James Hilliard

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