[Bug 220822] Missing libatomic.a for clang?

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jul 18 09:03:23 UTC 2017


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

            Bug ID: 220822
           Summary: Missing libatomic.a for clang?
           Product: Base System
           Version: 11.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: yuri at rawbw.com

Created attachment 184466
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=184466&action=edit
testcase: shar of audio/jack port

The latest version of audio/jack fails to link an executable: undefined
reference to `__atomic_store'
Adding any of these gcc libraries makes the linking stage to succeed:
/usr/local/lib/gcc5/libatomic.a
/usr/local/lib/gcc48/libatomic.a
/usr/local/lib/gcc6/libatomic.a

But jack is built with clang and shouldn't depend on anything gcc, and there
are no other libatomic.a available.

What should be the resolution of this problem?

Attaching the failing port.

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


More information about the freebsd-bugs mailing list