]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
[libcxx] Fix atomic type for mips32 on gcc to work w/out needing libatomic
authoradrian <adrian@FreeBSD.org>
Sun, 18 Oct 2020 17:31:10 +0000 (17:31 +0000)
committeradrian <adrian@FreeBSD.org>
Sun, 18 Oct 2020 17:31:10 +0000 (17:31 +0000)
commitcd12cd6f90817410ce7903d64d2ea2c3622f34e6
treec9b37b0d7bc84961419ccb05458744d49702a5f4
parent12125c3477c065f59376fe7af20f46ba05da8ef0
[libcxx] Fix atomic type for mips32 on gcc to work w/out needing libatomic

When compiling this for mips32 on gcc-6.x, we'd hit issues where we
don't have 64 bit atomics on mips32.

gcc implements this using libatomic, which we don't currently include
in our freebsd-gcc compiler packages.

So for now add this work around so mips32 works.  It's also fine for
mips64.  We can fix this later once we get libatomic included.

Approved by: dim
Differential Revision: https://reviews.freebsd.org/D26774
contrib/llvm-project/libcxx/include/atomic