summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-benchmark/fio/fio/0001-backend-remove-linux-prctl.h-include-to-fix-musl-con.patch33
-rw-r--r--meta-oe/recipes-benchmark/fio/fio_3.42.bb1
2 files changed, 34 insertions, 0 deletions
diff --git a/meta-oe/recipes-benchmark/fio/fio/0001-backend-remove-linux-prctl.h-include-to-fix-musl-con.patch b/meta-oe/recipes-benchmark/fio/fio/0001-backend-remove-linux-prctl.h-include-to-fix-musl-con.patch
new file mode 100644
index 0000000000..9019e06f26
--- /dev/null
+++ b/meta-oe/recipes-benchmark/fio/fio/0001-backend-remove-linux-prctl.h-include-to-fix-musl-con.patch
@@ -0,0 +1,33 @@
1From 82688fff1241549177ed4d55c27c93117d738947 Mon Sep 17 00:00:00 2001
2From: Lucas Hecht <lucas.hecht@agdsn.de>
3Date: Tue, 26 May 2026 18:49:48 +0200
4Subject: [PATCH] backend: remove linux/prctl.h include to fix musl conflict
5
6Building with musl fails due to a duplicate definition of prctl_mm_map.
7This is because musl redefines linux/prctl.h in sys/prctl.h.
8
9This commit removes the linux/prctl.h include.
10
11Fixes: #2096
12
13Upstream-Status: Backport [a84eece62edd46c1f4c8047f1052ac6181fc8b3e]
14Signed-off-by: Lucas Hecht <lucas.hecht@agdsn.de>
15---
16 backend.c | 1 -
17 1 file changed, 1 deletion(-)
18
19diff --git a/backend.c b/backend.c
20index 230d7fd07965..cfc411531818 100644
21--- a/backend.c
22+++ b/backend.c
23@@ -32,7 +32,6 @@
24 #include <pthread.h>
25
26 #ifdef CONFIG_LINUX
27-#include <linux/prctl.h>
28 #include <sys/prctl.h>
29 #endif
30
31--
322.51.0
33
diff --git a/meta-oe/recipes-benchmark/fio/fio_3.42.bb b/meta-oe/recipes-benchmark/fio/fio_3.42.bb
index dac7548d08..966ae644b4 100644
--- a/meta-oe/recipes-benchmark/fio/fio_3.42.bb
+++ b/meta-oe/recipes-benchmark/fio/fio_3.42.bb
@@ -24,6 +24,7 @@ PACKAGECONFIG[numa] = ",--disable-numa,numactl"
24 24
25SRC_URI = " \ 25SRC_URI = " \
26 git://git.kernel.dk/fio.git;branch=master;tag=${BP} \ 26 git://git.kernel.dk/fio.git;branch=master;tag=${BP} \
27 file://0001-backend-remove-linux-prctl.h-include-to-fix-musl-con.patch \
27" 28"
28SRCREV = "ab77643023f5d7e3c1b71a7576a564f368bf577a" 29SRCREV = "ab77643023f5d7e3c1b71a7576a564f368bf577a"
29 30