CachyOS / kernel-patches

Custom Linux kernel patches
140 stars 20 forks source link

Problem compiling 6.9.4 #63

Closed xuanruiqi closed 4 months ago

xuanruiqi commented 5 months ago

I get the following error:

make[2]: *** [scripts/Makefile.modfinal:56: fs/nls/nls_ucs2_utils.ko] Error 139
make[2]: *** Deleting file 'fs/nls/nls_ucs2_utils.ko'
make[2]: *** Waiting for unfinished jobs....

with LTO turned on. Haven't tried LTO off yet.

ptr1337 commented 5 months ago

Downgrade your pahole version. Ive already reported it to clangbuiltlinux.

xuanruiqi commented 5 months ago

Thanks. It builds. Just asking, will everything be fine if I upgrade it back after building my kernel?

ptr1337 commented 5 months ago

Its fine

xuanruiqi commented 4 months ago

Same problem with 6.9.5, guess its still not fixed Could you post a link to the upstream (clangbuiltlinux) issue?

sirlucjan commented 4 months ago

We've to added new pahole to repo. Could you try?

Link to patch: https://lore.kernel.org/all/ZnCWRMfRDMHqSxBb@x1/

xuanruiqi commented 4 months ago

I am on Arch and not the CachyOS repos, so I'll have to rebuild pahole myself. I will try to do so and report back.

xuanruiqi commented 4 months ago

Said patch indeed fixes the build process. Hopefully it will land in the next pahole version.