HAVE_CXX11_ATOMIC vs libatomic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi folks,

In Reef and newer, all RHEL versions on all arches have
HAVE_CXX11_ATOMIC=false, so they all build with -latomic.

Is this expected?

Obviously it "works", but I thought newer compilers (like RHEL 9's
gcc-c++-8.5.0-18.el8) should result in HAVE_CXX11_ATOMIC=true. Maybe I
have that backwards, and we should expect HAVE_CXX11_ATOMIC to be
false for all newer compilers? Am I mis-understanding the purpose of
CheckCxxAtomic.cmake?

Is HAVE_CXX11_ATOMIC better than libatomic for performance? Or something else?

The reason I ask is that we've fixed a couple corner-case bugs (eg
s390x) here over the past few years. Reef+ can build on modern GCC
with s390x now that we've fixed these bugs, but I'm wondering if the
consequence of always setting HAVE_CXX11_ATOMIC=false now is
intentional or desirable.
_______________________________________________
Dev mailing list -- dev@xxxxxxx
To unsubscribe send an email to dev-leave@xxxxxxx



[Index of Archives]     [CEPH Users]     [Ceph Devel]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux