Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Sep 2020 22:00:22 +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-0E1ssrbCrp@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

Tijl Coosemans <tijl@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tijl@FreeBSD.org

--- Comment #34 from Tijl Coosemans <tijl@FreeBSD.org> ---
(In reply to Dimitry Andric from comment #32)
For the old gcc you will probably have to use the __sync_* builtins as in o=
ur
stdatomic.h.  But I think there's a problem with the implementation in
compiler_rt.  Clang generates functions calls to compiler_rt if it can't in=
line
__c11_atomic_* (e.g. if the architecture only guarantees atomicity if an ob=
ject
is properly aligned and a given object isn't aligned) so how can compiler_rt
then use __c11_atomic_*?

--=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-0E1ssrbCrp>