[MacPorts] #60196: clang-3.7: libcompiler_rt.a: No such file or directory

MacPorts noreply at macports.org
Fri Apr 3 05:05:30 UTC 2020


#60196: clang-3.7: libcompiler_rt.a: No such file or directory
-------------------------+-----------------------
  Reporter:  ryandesign  |      Owner:  jeremyhu
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.2
Resolution:              |   Keywords:  elcapitan
      Port:  clang-3.7   |
-------------------------+-----------------------

Comment (by kencu):

 I upgraded (finally) my 10.11 system to Xcode 8.2.1 (perhaps port diagnose
 should help report the wrong xcode versions for older systems? ).

 Anyway, clang-3.7 does build on 10.11 with Xcode 8.2.1 if you set
 {{{use_xcode yes}}, however it somehow stupidly winds up choosing the
 `iphoneOS` SDK to build against (how?? -- I have seen this happen before
 in another scenario -- trying to recall the exact port and system). That
 SDK has only *.tbd linker files in it, so you have to update ld64 to
 ld64-latest, which you should do anyway on 10.11, but it is a few manual
 steps:
 {{{
 sudo port -v install ld64-latest
 sudo port -v -n upgrade --enforce-variants ld64 -ld64_274
 }}}
 and then it builds.

 That's workable, a bit ugly.

 On 10.4 I just hack in the SDK I want clang-3.7 to use instead of letting
 it get caught up in this mess of SDK-finding that so often goes wrong...

 What port wants clang-3.7 on 10.11 anyway? That's kinda silly right there,
 to be honest. Perhaps we should just fix *that* problem and forget this
 mess...

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


More information about the macports-tickets mailing list