aboutsummaryrefslogtreecommitdiff
path: root/package/strace/strace.mk
diff options
context:
space:
mode:
authorGravatar Baruch Siach <baruch@tkos.co.il>2019-05-09 23:50:02 +0300
committerGravatar Peter Korsgaard <peter@korsgaard.com>2019-05-10 15:56:51 +0200
commitb8ef3fb82694c0ed03335a42435a6a61ededc445 (patch)
tree0e7cc81ef1d7773886bcc56155fca0ee9f39b6cb /package/strace/strace.mk
parent28878798cf557dadc58ebee9e1f39c62a29ffcea (diff)
downloadbuildroot-b8ef3fb82694c0ed03335a42435a6a61ededc445.tar.gz
buildroot-b8ef3fb82694c0ed03335a42435a6a61ededc445.tar.bz2
package/strace: disable bpf support for m68k
Mismatch in struct bpf_prog_info fields offset between kernel headers and strace local definition causes build failure. Disable bpf support for m68k until upstream (either strace or the kernel) find a solution. https://lists.strace.io/pipermail/strace-devel/2019-May/thread.html#8750 Fixes: http://autobuild.buildroot.net/results/c036b11bf1f2fc39f42661634ef3e03360fb85de/ http://autobuild.buildroot.net/results/f142e4c7f0d512bb872572f5e678230117ab0ad5/ http://autobuild.buildroot.net/results/b74a17cfa7112c026938cacafdd18c6dca285005/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/strace/strace.mk')
-rw-r--r--package/strace/strace.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/strace/strace.mk b/package/strace/strace.mk
index 0f705a2fb8..f957144160 100644
--- a/package/strace/strace.mk
+++ b/package/strace/strace.mk
@@ -19,6 +19,12 @@ STRACE_CONF_OPTS += st_cv_m32_mpers=no \
st_cv_mx32_mpers=no
endif
+# struct bpf_prog_info fields offset mismatch
+# https://lists.strace.io/pipermail/strace-devel/2019-May/thread.html#8750
+ifeq ($(BR2_m68k),y)
+STRACE_CONF_OPTS += ac_cv_header_linux_bpf_h=no
+endif
+
ifeq ($(BR2_PACKAGE_LIBUNWIND),y)
STRACE_DEPENDENCIES += libunwind
STRACE_CONF_OPTS += --with-libunwind