[DragonFlyBSD - Bug #3233] (Resolved) LLVM does not ship with stdatomic and libatomic
    bugtracker-admin at leaf.dragonflybsd.org 
    bugtracker-admin at leaf.dragonflybsd.org
       
    Tue Aug 18 10:09:29 PDT 2020
    
    
  
Issue #3233 has been updated by mneumann.
Status changed from New to Resolved
zrj on IRC recommends to use port `misc/cxx_atomics`. 
----------------------------------------
Bug #3233: LLVM does not ship with stdatomic and libatomic
http://bugs.dragonflybsd.org/issues/3233#change-13919
* Author: mneumann
* Status: Resolved
* Priority: Low
* Assignee: 
* Category: Other
* Target version: 
----------------------------------------
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).
-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account
    
    
More information about the Bugs
mailing list