diff options
| author | Mikko Rapeli <mikko.rapeli@linaro.org> | 2025-04-28 15:32:43 +0300 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-04-29 09:59:01 +0100 |
| commit | 1ebcf9f258f1a85e108a01123abe24cf2bc50ee8 (patch) | |
| tree | 88aae612ab288a99af231c406873d6e0a74537aa | |
| parent | ab02b5226b347e1aeb023486626a104786e4885f (diff) | |
| download | poky-1ebcf9f258f1a85e108a01123abe24cf2bc50ee8.tar.gz | |
lttng-modules: fix build failure on genericarm64
Workaround to unblock genericarm64 builds.
Upstream is working on a better fix
https://bugs.lttng.org/issues/1426
Fixes: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15840
(From OE-Core rev: c57a903b9ac6d3015195a59829c223917e9c41f8)
Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-kernel/lttng/lttng-modules/0001-lttng-modules-fix-sigaction-build-without-CONFIG_COM.patch | 35 | ||||
| -rw-r--r-- | meta/recipes-kernel/lttng/lttng-modules_2.13.18.bb | 1 |
2 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-kernel/lttng/lttng-modules/0001-lttng-modules-fix-sigaction-build-without-CONFIG_COM.patch b/meta/recipes-kernel/lttng/lttng-modules/0001-lttng-modules-fix-sigaction-build-without-CONFIG_COM.patch new file mode 100644 index 0000000000..eb43abbae2 --- /dev/null +++ b/meta/recipes-kernel/lttng/lttng-modules/0001-lttng-modules-fix-sigaction-build-without-CONFIG_COM.patch | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | From 0e2095bcc50e7a07d3478f8d3c0ae5ad46575594 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Mikko Rapeli <mikko.rapeli@linaro.org> | ||
| 3 | Date: Mon, 28 Apr 2025 12:07:24 +0000 | ||
| 4 | Subject: [PATCH] lttng-modules: fix sigaction build without | ||
| 5 | CONFIG_COMPAT_OLD_SIGACTION | ||
| 6 | |||
| 7 | Workaround build failure when CONFIG_COMPAT_OLD_SIGACTION is not enabled | ||
| 8 | in kernel config. | ||
| 9 | |||
| 10 | Upstream-Status: Submitted [https://bugs.lttng.org/issues/1426] | ||
| 11 | |||
| 12 | Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org> | ||
| 13 | --- | ||
| 14 | .../instrumentation/syscalls/headers/arm-32-syscalls_pointers.h | 2 ++ | ||
| 15 | 1 file changed, 2 insertions(+) | ||
| 16 | |||
| 17 | diff --git a/include/instrumentation/syscalls/headers/arm-32-syscalls_pointers.h b/include/instrumentation/syscalls/headers/arm-32-syscalls_pointers.h | ||
| 18 | index 5f4ca5b..1514cae 100644 | ||
| 19 | --- a/include/instrumentation/syscalls/headers/arm-32-syscalls_pointers.h | ||
| 20 | +++ b/include/instrumentation/syscalls/headers/arm-32-syscalls_pointers.h | ||
| 21 | @@ -1890,9 +1890,11 @@ TRACE_SYSCALL_TABLE(chroot, chroot, 61, 1) | ||
| 22 | #ifndef OVERRIDE_TABLE_32_ustat | ||
| 23 | TRACE_SYSCALL_TABLE(ustat, ustat, 62, 2) | ||
| 24 | #endif | ||
| 25 | +#ifdef CONFIG_COMPAT_OLD_SIGACTION | ||
| 26 | #ifndef OVERRIDE_TABLE_32_sigaction | ||
| 27 | TRACE_SYSCALL_TABLE(sigaction, sigaction, 67, 3) | ||
| 28 | #endif | ||
| 29 | +#endif /* CONFIG_COMPAT_OLD_SIGACTION */ | ||
| 30 | #ifndef OVERRIDE_TABLE_32_sigpending | ||
| 31 | TRACE_SYSCALL_TABLE(sigpending, sigpending, 73, 1) | ||
| 32 | #endif | ||
| 33 | -- | ||
| 34 | 2.49.0 | ||
| 35 | |||
diff --git a/meta/recipes-kernel/lttng/lttng-modules_2.13.18.bb b/meta/recipes-kernel/lttng/lttng-modules_2.13.18.bb index 553dae9f4d..1b2327f609 100644 --- a/meta/recipes-kernel/lttng/lttng-modules_2.13.18.bb +++ b/meta/recipes-kernel/lttng/lttng-modules_2.13.18.bb | |||
| @@ -10,6 +10,7 @@ inherit module | |||
| 10 | include lttng-platforms.inc | 10 | include lttng-platforms.inc |
| 11 | 11 | ||
| 12 | SRC_URI = "https://lttng.org/files/${BPN}/${BPN}-${PV}.tar.bz2 \ | 12 | SRC_URI = "https://lttng.org/files/${BPN}/${BPN}-${PV}.tar.bz2 \ |
| 13 | file://0001-lttng-modules-fix-sigaction-build-without-CONFIG_COM.patch \ | ||
| 13 | " | 14 | " |
| 14 | 15 | ||
| 15 | # Use :append here so that the patch is applied also when using devupstream | 16 | # Use :append here so that the patch is applied also when using devupstream |
