Skip to content

Commit 2c1ccd9

Browse files
zhanxusheng1024-osJonathan Corbet
authored andcommitted
docs: changes.rst: restore pahole 1.26 minimum (regressed by sort)
Commit 9edd04c ("docs: Raise minimum pahole version to 1.26 for KF_IMPLICIT_ARGS kfuncs") raised the minimum required pahole version from 1.22 to 1.26 in the requirements table and added a paragraph explaining the failure mode for distributions still shipping pahole v1.25 (e.g. Ubuntu 24.04 LTS). The next day, commit ece7e57 ("docs: changes.rst and ver_linux: sort the lists") came through a different tree (docs vs sched_ext) and re-flowed the table alphabetically, but its base did not include 9edd04c. When the two commits met in mainline, the textual rewrite of the table won and the version bump was lost. The added "Since Linux 7.0..." paragraph also disappeared. The result is that changes.rst on master (v7.1-rc5) lists pahole 1.22 again, even though sched_ext kfuncs annotated with KF_IMPLICIT_ARGS genuinely require v1.26 to produce a correct vmlinux BTF. Users on distributions with pahole v1.25 hit "func_proto incompatible with vmlinux" when loading any sched_ext BPF program (scx_simple, scx_qmap, ...) and have no documentation pointing them at the version gap. Restore both changes from 9edd04c. Fixes: ece7e57 ("docs: changes.rst and ver_linux: sort the lists") Signed-off-by: Zhan Xusheng <zhanxusheng@xiaomi.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Message-ID: <20260526022033.1301884-1-zhanxusheng@xiaomi.com>
1 parent 323fa4b commit 2c1ccd9

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

Documentation/process/changes.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ mcelog 0.6 mcelog --version
5353
mkimage (optional) 2017.01 mkimage --version
5454
nfs-utils 1.0.5 showmount --version
5555
openssl & libcrypto 1.0.0 openssl version
56-
pahole 1.22 pahole --version
56+
pahole 1.26 pahole --version
5757
pcmciautils 004 pccardctl -V
5858
PPP 2.4.0 pppd --version
5959
procps 3.2.0 ps --version
@@ -147,6 +147,11 @@ Since Linux 5.2, if CONFIG_DEBUG_INFO_BTF is selected, the build system
147147
generates BTF (BPF Type Format) from DWARF in vmlinux, a bit later from kernel
148148
modules as well. This requires pahole v1.22 or later.
149149

150+
Since Linux 7.0, kfuncs annotated with KF_IMPLICIT_ARGS require pahole v1.26
151+
or later. Without it, such kfuncs will have incorrect BTF prototypes in
152+
vmlinux, causing BPF programs to fail to load with a "func_proto incompatible
153+
with vmlinux" error. Many sched_ext kfuncs are affected.
154+
150155
It is found in the 'dwarves' or 'pahole' distro packages or from
151156
https://fedorapeople.org/~acme/dwarves/.
152157

0 commit comments

Comments
 (0)