libatomic linking needed for some archs (arm, ppc)
#3939
barracuda156
started this conversation in
General
Replies: 3 comments
|
Curious about your current toolchain, the sdk requires libcurl and a libcrypto (openssl/aws-lc) dependency, how are you getting those? are you building them yourself or getting them via other means? |
0 replies
|
@sbaluja I build everything from source, but largely using MacPorts’ ports – and adding mine when something is missing in upstream or needs extra fixes/tweaks. Specifically curl and openssl are from MacPorts. All AWS libs’ ports are mine (loosely based off FreeBSD ones with Darwin-specific fixes). |
0 replies
|
Converting this to a Discussion. It's an improvements we plan to pursue over time rather than one actionable change with a near-term milestone, so a Discussion better fits collecting the specifics and design input. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
Some archs require linking to
libatomic, otherwise build fails to link with undefined___atomic_fetch_add_8etc.Regression Issue
Expected Behavior
On platforms without hardware support for 8-byte atomics,
libatomicshould be used.Current Behavior
Reproduction Steps
Run the build on an affected platform.
Possible Solution
Add a configure test to CMakeLists for support of 8-byte atomics.
Additional Information/Context
Relevant for some 32-bit archs: arm, ppc, possibly mips.
AWS CPP SDK version used
1.11.649
Compiler and Version used
gcc 14.3.0
Operating System and version
macOS 10.6.8
All reactions