Skip to content

build: Fix generating BTF with pahole >=1.24

Viktor Malik requested to merge vmalikrh/centos-stream-9:pahole-flags-fix into main

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2148429

Upstream status: RHEL-only

RHEL9 now has pahole 1.24 which contains BTF enum64 support that has not yet been backported into the kernel. Hence, we need to pass --skip_encoding_btf_enum64 to pahole during the build to avoid errors while generating BTF information.

Signed-off-by: Viktor Malik vmalik@redhat.com

Merge request reports