[DragonFlyBSD - Bug #3233] (New) LLVM does not ship with stdatomic and libatomic

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Thu Apr 16 11:19:00 PDT 2020


Issue #3233 has been reported by mneumann.

----------------------------------------
Bug #3233: LLVM does not ship with stdatomic and libatomic
http://bugs.dragonflybsd.org/issues/3233

* Author: mneumann
* Status: New
* 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