Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Sep 2020 20:34:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 230888] Missing 64 bit atomic functions for i386 (libatomic)
Message-ID:  <bug-230888-29464-zYPMzcJtiz@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-230888-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-230888-29464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230888

--- Comment #32 from Dimitry Andric <dim@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: warnin=
g:
implicit declaration of function '__c11_atomic_is_lock_free'
/usr/src/contrib/llvm-project/compiler-rt/lib/builtins/atomic.c:178: warnin=
g:
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/

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230888-29464-zYPMzcJtiz>