Public bug reported: As can be seen in [1], pahole segfaults. It can easily be reproduced locally by simply enabling CONFIG_DEBUG_INFO_BTF to the kernel config.
I tried the 1.22 from upstream and it works fine. But when applying add_cmake_libbpf_enabled_option.patch, pahole segfaults. [1] https://launchpadlibrarian.net/581986191/buildlog_ubuntu-jammy- riscv64.linux-riscv-unstable_5.16.0-1001.1~ppa3_BUILDING.txt.gze ** 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/1958959 Title: pahole v1.22-2 segfaults when building a Linux kernel To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dwarves/+bug/1958959/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs