-
Notifications
You must be signed in to change notification settings - Fork 308
Fix sanity check step of LLVM by loading binutils as extra module
#3899
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
Conversation
When the system ld is used the sanity check step fails > g++ minimal.cpp -o minimal_cpp $(llvm-config --link-static --system-libs all) failed with exit code 1 (output: /usr/bin/ld.gold: /tmp/boegelbot/ecpr-23603/software/GCCcore/10.3.0/lib64/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/bin/ld.gold) Ensure binutils gets loaded similar to the GCC sanity check step Fixes easybuilders#3891
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks straight-forward and matches what we're doing in GCC.
Tested via easybuilders/easybuild-easyconfigs#23603, which failed for boegelbot previously.
Lets do one more test for safety
|
@boegelbot please test @ jsc-zen3 |
|
@Thyre: Request for testing this PR well received on jsczen3l1.int.jsc-zen3.fz-juelich.de PR test command '
Test results coming soon (I hope)... Details- notification for comment with ID 3228331908 processed Message to humans: this is just bookkeeping information for me, |
|
Test report by @boegelbot Overview of tested easyconfigs (in order)
Build succeeded for 1 out of 1 (1 easyconfigs in total) |
binutils as extra module
boegel
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
|
I guess this would've been a problem only if we are not building In general we tell |
Possible. We are not building
The failing sanity check command is not Clang but GCC:
** So I guess this is expected then, isn't it? |
|
Right missed the |
When the system ld is used the sanity check step fails
Ensure binutils gets loaded similar to the GCC sanity check step
Fixes #3891