-
Notifications
You must be signed in to change notification settings - Fork 36
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
ld.lld: error: undefined symbol: __popcountdi2 #31
Comments
This doesn't look like gcc/LLD issue. Try compiling the same kernel source with an older version of gcc. |
Old gcc compiles normally. Only this newer gcc one doesn't compile. |
I'll trigger a build now, check with that. Build will take approximately 6hours. |
It seems like lld specific issue. Try switching from LLD to LD and see if that works. |
GCC version: 22082024 - (Build this version without any problems). |
No it has nothing to do with your system. You're using lld instead of gnu ld. Try using the gnu ld itself. |
It's not HOSTLD, your kernel cross compiler ld differs. Drop the flag for using LLD with GCC and just use the regular GNU ld. |
Hmm so it does look like a GCC side issue. I think you might need a kernel backport for this. For now you can stick to using older GCC. |
Log:
ld.lld: error: undefined symbol: __popcountdi2
Full log:
https://bin.cyberknight777.dev/eVQ6/raw
kt: https://github.com/dev-sm8350/kernel_oneplus_sm8350
gcc used: 29082024
gcc of the day: 22082024. It was ok
The text was updated successfully, but these errors were encountered: