-
Notifications
You must be signed in to change notification settings - Fork 12.3k
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
[scudo][standalone] Unable to link against -latomic causes inability build scudo test cases on LLVM 13.0.0-rc1 (PowerPC, RHEL) #50773
Comments
This failure is due to the fact that the RHEL system does not have libatomic on the system, and so we cannot link with it. The specific failures: [85/1028] Generating ScudoCxxUnitTest-powerpc64le-Test [86/1028] Generating ScudoUnitTest-powerpc64le-Test The following commit has enabled the scudo standalone tests for Power: commit f4ccbaf
Moreover, in 2019, a commit to link against libatomic was added: commit f50a953
I think a solution can be linking against libatomic if libatomic is found. |
I have put up https://reviews.llvm.org/D108503 to attempt to resolve this issue. |
Hi Tom, I've committed https://reviews.llvm.org/rG4cd8dd3fe05e099792e1494dedd074eb5ba289b6 to attempt to resolve this issue. Can we get this cherry-picked into the release branch? |
Merged: cf035ca |
mentioned in issue #51489 |
Extended Description
The following fail on Linux RHEL on PowerPC8:
compiler-rt/lib/scudo/standalone/tests/ScudoCxxUnitTest-powerpc64le-Test
compiler-rt/lib/scudo/standalone/tests/ScudoCUnitTest-powerpc64le-Test
runtimes/CMakeFiles/check-runtimes
Due to:
ld.lld: error: unable to find library -latomic
This is still being investigated.
The text was updated successfully, but these errors were encountered: