[Bug 220822] Missing libatomic.a for clang?

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jul 19 00:03:52 UTC 2017


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

--- Comment #3 from Ed Maste <emaste at 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 = x * y;
 return result;
}
")

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

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


More information about the freebsd-bugs mailing list