понедельник

[Bug 2050083] Re: generate and ship vmlinux.h to allow packages to build BPF CO-RE

** Changed in: linux (Ubuntu Noble)
Importance: Undecided => Low

** Changed in: linux (Ubuntu Noble)
Status: New => Confirmed

--
You received this bug notification because you are subscribed to linux
in Ubuntu.
Matching subscriptions: Bgg, Bmail, Nb
https://bugs.launchpad.net/bugs/2050083

Title:
generate and ship vmlinux.h to allow packages to build BPF CO-RE

Status in linux package in Ubuntu:
Fix Released
Status in linux source package in Noble:
Confirmed

Bug description:
A vmlinux.h header generated from a kernel build with bpftool is needed to build and ship BPF CO-RE programs. We are looking to ship these in the next version of systemd.
vmlinux.h being generated depends on the kernel version, architecture and kconfig. There are some vague promises of backward compatibility, but it is hard to gauge.

We definitely do not want this file to be generated from the kernel
running the build machine when building a package though, as very
often these are very old and stable kernels building packages for the
bleeding edge.

In Fedora and now Debian we generate vmlinux.h at kernel package build
time, and ship it with the other kernel headers (_not_ UAPI, the
internal headers): https://salsa.debian.org/kernel-
team/linux/-/commit/ac6f7eda4c3e8b0d0db20ad4bb8236371cf8d38e

Please consider doing the same in Ubuntu's linux-headers.

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

Комментариев нет:

Отправить комментарий