Actions
Bug #3233
closedLLVM does not ship with stdatomic and libatomic
Status:
Resolved
Priority:
Low
Assignee:
-
Category:
Other
Target version:
-
Start date:
04/16/2020
Due date:
% Done:
0%
Estimated time:
Description
Compilation of
#include <stdatomic.h>
int main(int argc, char **argv) {}
fails when compiled with clang. Works on gcc. Note that LLVM/clang will also
link against -latomic is some cases (-mcx16 ?), despite using opcodes instead of
library calls to libatomic (e.g. __atomic_compare_exchange_16). So, having a libatomic.a
would help too (even an empty one).
Updated by mneumann over 4 years ago
- Status changed from New to Resolved
zrj on IRC recommends to use port `misc/cxx_atomics`.
Actions