Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem compiling 6.9.4 #63

Closed
xuanruiqi opened this issue Jun 13, 2024 · 7 comments
Closed

Problem compiling 6.9.4 #63

xuanruiqi opened this issue Jun 13, 2024 · 7 comments

Comments

@xuanruiqi
Copy link

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
Copy link
Member

ptr1337 commented Jun 13, 2024

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

@xuanruiqi
Copy link
Author

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

@ptr1337
Copy link
Member

ptr1337 commented Jun 13, 2024

Its fine

@xuanruiqi
Copy link
Author

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

@sirlucjan
Copy link
Member

sirlucjan commented Jun 18, 2024

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

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

@xuanruiqi
Copy link
Author

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.

@ptr1337 ptr1337 closed this as completed Jun 18, 2024
@xuanruiqi
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants