пятница

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

This bug is awaiting verification that the linux-
hwe-6.11/6.11.0-9.9~24.04.1 kernel in -proposed solves the problem.
Please test the kernel and update this bug with the results. If the
problem is solved, change the tag 'verification-needed-noble-linux-
hwe-6.11' to 'verification-done-noble-linux-hwe-6.11'. If the problem
still exists, change the tag 'verification-needed-noble-linux-hwe-6.11'
to 'verification-failed-noble-linux-hwe-6.11'.


If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.


See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: kernel-spammed-noble-linux-hwe-6.11-v2 verification-needed-noble-linux-hwe-6.11

--
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

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

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

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