Skip to content

Upgrade from 1.26-2 to 1.27-1 breaks kernel compilation

Description:

With pahole 1.27-1, compiling the linux kernel using a custom PKGBUILD fails during the module linking stage with

make[2]: *** [scripts/Makefile.modfinal:59: fs/nls/nls_ucs2_utils.ko] Error 139
make[2]: *** Deleting file 'fs/nls/nls_ucs2_utils.ko'
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [/home/makepkg/build/linux-kentdobias/src/linux-6.6.32/Makefile:1846: modules] Error 2

Downgrading to 1.26-2 resolved this problem for me.

Additional info:

The PKGBUILD for my linux kernel is here. It's closely modeled on the upstream Arch Linux package but with modifications to build with llvm/clang and with ZFS in-tree.

Steps to reproduce:

  1. Upgrade pahole
  2. Run makepkg -C in directory with PKGBUILD and config
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information