-
Notifications
You must be signed in to change notification settings - Fork 13.4k
1.87 build fails with LLVM 19 #141353
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
Comments
This comment has been minimized.
This comment has been minimized.
This looks like an internal LLVM build error. |
We are using LLVM 20 since this, but LLVM 19 should work too, I guess... I haven't tested yet. |
Building with LLVM 20 works for me too, but LLVM is frozen to 19 in one of our stable branches. |
My best guess is that you're using some broken build configuration that tries to use an external LLVM 19 while also building an LLVM 20 LLD? Can you please share your config file? |
The same configuration works for LLVM 20 in master https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/merge_requests/26419 These are with LLVM 19 on the release/24.08 branch: Build log: rust.txt |
The config looks reasonable to me. Maybe there's a bootstrap bug that makes this comment not true: Lines 720 to 725 in e7f4317
lld = false should probably fix it?
|
That seems to have worked https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/merge_requests/26458 |
On master, since #139853, you won't be able to compile in-tree lld with external LLVM. So this error isn't reproducible on master today. |
I see, feel free to close then if there is a check against this mixed behaviour. We also switched to our LLVM's lld in the master branch. |
1.87 build fails with LLVM 19. Does 1.87 require LLVM 20+ or it's a bug?
The text was updated successfully, but these errors were encountered: