acmel / dwarves

Pahole and the dwarves
GNU General Public License v2.0
187 stars 50 forks source link

Pahole 1.27 breaks LLVM compiled kernels compilation #53

Closed ptr1337 closed 1 month ago

ptr1337 commented 3 months ago

Hi,

Just wanted to forward it here also to here.

Currently, the Clang compiled kernel fails due pahole 1.27.

to avoid such issues in the futures, how about doing additional tests for clang compiled kernels?

See: https://gitlab.archlinux.org/archlinux/packaging/packages/pahole/-/issues/1

ptr1337 commented 3 months ago

@acmel

Thanks for the commit. Ive also verified and tested this. Works without problems. Thanks!

Tested-by: Peter Jung ptr1337@cachyos.org

martinetd commented 2 months ago

For follow up that commit wasn't enough and this needed https://github.com/acmel/dwarves/commit/94a01bde592c555b3eb526aeb4c2ad695c5660d8.patch as well - a user on nixos reported our update broke this as I hadn't backported the second patch.

In the future it'd be great if a release could be cut with just fix patches (v1.27.1 or something) when there are such breakages so each distro won't have to cherry-pick such patches independently; clang builds aren't tested thoroughly enough yet.