-
Notifications
You must be signed in to change notification settings - Fork 419
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
Build on PowerPC breaks at linking stage #285
Comments
Linux or Mac OS X? |
It might help if you could pastebin your ./CMakeFiles//CMakeCXXCompiler.cmake and post a link here or mail it. I wonder if we can narrow it down to platform and/or compiler maybe just check CMAKE_CXX_COMPILER_ID for (Apple)Clang. |
I doubt if there is clang for Mac OS X PPC since last one is 10.4 |
This is a Linux box running Debian 8.0 / Linux 2.6.32. |
@kkostyan Do you think it would work otherwise? Like checking for libatomic presence and it having that function and linking against it? It seems like that's what I saw in llvm patch |
i had a similar problem when building for MIPS, temp solution was to add -latomic to link flags. |
Trying to make it work for Darwin PPC: #1726 (comment) |
I try to build i2pd 0.10.0 for powerpc 32bit arch
and it stops at linking stage with following message:
adding
-latomic
to linker flags solves this problem.Could you add checking if arch supports
__atomic_load_8
or__atomic_fetch_add_8
function, and link tolibatomic
if not.The text was updated successfully, but these errors were encountered: