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
gollvm: mold linker failing #51875
Comments
CC @thanm |
The relevant lines in your build log are these:
Official support for mold was added to GCC for the upcoming release of version 12, but you're still using GCC 11. To use mold in combination with GCC 11, read the bullet point GCC before 12.1.0 under the section A classic way to use mold here: https://github.com/rui314/mold#how-to-use |
|
I believe you need to pass |
|
Checking:
I shall report if would build:
|
@advancedwebdeveloper Can you trim the logs before posting them? Pasting thousands of log lines (most of them unrelated to the issue you're having) makes navigating the thread very difficult. And putting them between |
@ALTree , thanks. |
@thanm , I was able to build using release/13.x of LLVM - but with another linker. |
The output given in #51875 (comment) shows a bunch of compile errors but no link errors. So this has nothing to do with mold so far. |
Timed out in state WaitingForInfo. Closing. (I am just a bot, though. Please speak up if this is a mistake or you have the requested information.) |
This (gold linker) works:
Build log
But this (uses mold) doesn't:
Build log
CMakeError.log
CMakeOutput.log
CC @rui314 @sicherha
The text was updated successfully, but these errors were encountered: