[MacPorts] #58712: clang-7.0 and clang-8.0 are missing atomic builtins on i386

MacPorts noreply at macports.org
Sat Jul 13 16:19:26 UTC 2019


#58712: clang-7.0 and clang-8.0 are missing atomic builtins on i386
----------------------------------+----------------------
  Reporter:  devernay             |      Owner:  jeremyhu
      Type:  defect               |     Status:  assigned
  Priority:  Normal               |  Milestone:
 Component:  ports                |    Version:
Resolution:                       |   Keywords:
      Port:  clang-7.0 clang-8.0  |
----------------------------------+----------------------

Comment (by devernay):

 Yes, it builds, but can you check if that i386 build has the __atomic_load
 functions using
 {{{
 nm -arch i386  /Volumes/opt/local-
 libc++/libexec/llvm-8.0/lib/clang/8.0.0/lib/darwin/libclang_rt.osx.a|fgrep
 atomic_load
 }}}

 By the way, I checked and these fixes add the missing symbols. I put it in
 the "<= 10.6" section:
 https://github.com/NatronGitHub/Natron/blob/RB-2.3/tools/MacPorts/lang/llvm-7.0/Portfile.patch
 https://github.com/NatronGitHub/Natron/blob/RB-2.3/tools/MacPorts/lang/llvm-8.0/Portfile.patch

 The author of the commit that changes this behavior is right, but he did
 not provide a proper fix.

-- 
Ticket URL: <https://trac.macports.org/ticket/58712#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list