Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jul 2017 00:03:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 220822] Missing libatomic.a for clang?
Message-ID:  <bug-220822-8-1cCm2eGuNA@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-220822-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-220822-8@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=3D220822

--- Comment #3 from Ed Maste <emaste@freebsd.org> ---
Upstream builds atomic.c if(COMPILER_RT_HAS_ATOMIC_KEYWORD AND NOT
COMPILER_RT_EXCLUDE_ATOMIC_BUILTIN)

builtin_check_c_compiler_source(COMPILER_RT_HAS_ATOMIC_KEYWORD
"
int foo(int x, int y) {
 _Atomic int result =3D x * y;
 return result;
}
")

I suspect that we can just add atomic.c on archs that now build with Clang

--=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-220822-8-1cCm2eGuNA>