Public bug reported:

In order to have rust support in kernel 6.14, we need to enable
CONFIG_GENDWARFKSYMS, but doing that breaks loading any kernel module
after having this in dmesg:

[    0.642421] BPF: type_id=2996 offset=0 size=8
[    0.642999] BPF:
[    0.643233] BPF: Invalid offset

This is a bug in pahole, and fixed by backporting a commit

From 9810758003ce9f8ccab9f67c6434c6ac16011e56 Mon Sep 17 00:00:00 2001
From: Alan Maguire <alan.magu...@oracle.com>
Date: Tue, 17 Dec 2024 10:17:54 +0000
Subject: btf_encoder: Verify 0 address DWARF variables are in ELF section


we need this in plucky.

** Affects: dwarves (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2103771

Title:
  Enabling GENDWARFKSYMS breaks loading modules

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dwarves/+bug/2103771/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to