clang-aarch64-full-2stage: build lld for stage2 tests #139
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
A new bitcode format for debug info was added in LLVM in
e419084da7a00b269368aeb95698e0d36b24e8ec (currently reverted).
Several tests started failing for this stage2 builder: https://lab.llvm.org/buildbot/#/builders/179/builds/9629
The error indicates the tests are using an incompatible lld to load the new bitcode:
ld.lld: error: Invalid value (Producer: 'LLVM19.0.0git' Reader: 'LLVM 17.0.6')
Locally, re-enabling the currently reverted patch, these tests pass if LLD is built with LLVM_ENABLE_PROJECTS, and fail otherwise.
I don't really know how zorg works - I'm not sure if this is the right way to get the stage2 build to build an lld for those tests to use. I think a stage1 build of lld would also be fine, if those tests can find it? Any help would be appreciated.