[PATCH] linux-custom: Pin buster compat level to 10 to fix kernel builds

9 views
Skip to first unread message

Jan Kiszka

unread,
Feb 3, 2025, 5:54:15 AM2/3/25
to isar-users, Moessbauer, Felix (T CED SES-DE), Arjunan, Srinu (FT FDS CES LX PBU 2)
From: Jan Kiszka <jan.k...@siemens.com>

Compat level 12 of buster selects dh_dwz which breaks in that old
version with certain kernels, e.g. like this:

dwz: dwz.c:9255: recompute_abbrevs: Assertion `off == cu_size' failed.
dh_dwz: dwz -q -- debian/linux-image-cip-dbg/usr/lib/debug/lib/modules/5.10.233-cip56/vmlinux died with signal 6

As buster is LTS now, we take the low-risk path and switch back to the
compat level the recipe was once validated again, rather than trying to
resolve this and possibly more issues.

Fixes: ca786c36bca9 ("meta/recipes-kernel: use debhelper-compat to generate compat file")
Signed-off-by: Jan Kiszka <jan.k...@siemens.com>
---
meta/recipes-kernel/linux/linux-custom.inc | 3 +++
1 file changed, 3 insertions(+)

diff --git a/meta/recipes-kernel/linux/linux-custom.inc b/meta/recipes-kernel/linux/linux-custom.inc
index 77700a5d..d2fca3aa 100644
--- a/meta/recipes-kernel/linux/linux-custom.inc
+++ b/meta/recipes-kernel/linux/linux-custom.inc
@@ -14,6 +14,9 @@ DESCRIPTION ?= "Custom kernel"
MAINTAINER ?= "isar-users <isar-...@googlegroups.com>"
DISTRIBUTOR ?= "ISAR"

+# pinned due to known or possible issues with compat 12
+DEBIAN_COMPAT:buster = "10"
+
KBUILD_DEPENDS ?= "build-essential:native, \
libelf-dev:native, \
libncurses-dev:native, \
--
2.43.0

Jan Kiszka

unread,
Feb 14, 2025, 8:40:24 AM2/14/25
to isar-users, Moessbauer, Felix (T CED SES-DE), Arjunan, Srinu (FT FDS CES LX PBU 2)
This regression fix is still not merged - any blockers? Downstream, it
prevents isar updates.

Jan

--
Siemens AG, Foundational Technologies
Linux Expert Center

Uladzimir Bely

unread,
Feb 16, 2025, 3:01:16 AM2/16/25
to Jan Kiszka, isar-users
Applied to next, thanks.

--
Best regards,
Uladzimir.



Reply all
Reply to author
Forward
0 new messages