[Bug 230888] Missing 64 bit atomic functions for i386 (libatomic)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Sep 8 20:34:38 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230888

--- Comment #32 from Dimitry Andric <dim at FreeBSD.org> ---
Reopen, as various stable builds with old gcc's broke due to base r365471, with
lots of errors similar to:

/usr/src/contrib/llvm-project/compiler-rt/lib/builtins/atomic.c:68: warning:
implicit declaration of function '__c11_atomic_compare_exchange_weak'
/usr/src/contrib/llvm-project/compiler-rt/lib/builtins/atomic.c:69: error:
'__ATOMIC_ACQUIRE' undeclared (first use in this function)
/usr/src/contrib/llvm-project/compiler-rt/lib/builtins/atomic.c:70: error:
'__ATOMIC_RELAXED' undeclared (first use in this function)
/usr/src/contrib/llvm-project/compiler-rt/lib/builtins/atomic.c: In function
'__atomic_load_c':
/usr/src/contrib/llvm-project/compiler-rt/lib/builtins/atomic.c:178: warning:
implicit declaration of function '__c11_atomic_is_lock_free'
/usr/src/contrib/llvm-project/compiler-rt/lib/builtins/atomic.c:178: warning:
implicit declaration of function '__c11_atomic_load'

I'll have to figure out what heavy bludgeon gcc needs to compile this. Any
hints are appreciated.

Failed builds:

https://ci.freebsd.org/job/FreeBSD-stable-11-powerpc-build/2379/
https://ci.freebsd.org/job/FreeBSD-stable-11-powerpc-build/2379/
https://ci.freebsd.org/job/FreeBSD-stable-11-powerpc-build/2379/
https://ci.freebsd.org/job/FreeBSD-stable-11-sparc64-build/5136/
https://ci.freebsd.org/job/FreeBSD-stable-11-sparc64-build/5136/
https://ci.freebsd.org/job/FreeBSD-stable-12-mips-build/3235/
https://ci.freebsd.org/job/FreeBSD-stable-12-powerpc-build/3239/
https://ci.freebsd.org/job/FreeBSD-stable-12-powerpc64-build/3164/
https://ci.freebsd.org/job/FreeBSD-stable-12-sparc64-build/3300/

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-toolchain mailing list