[MacPorts] #54129: llvm-4.0 build fails due to libtool error on SnowLeopard when built with clang-3.9, but succeeds when built with clang-3.7

MacPorts noreply at macports.org
Sun Jun 18 18:10:36 UTC 2017


#54129: llvm-4.0 build fails due to libtool error on SnowLeopard when built with
clang-3.9, but succeeds when built with clang-3.7
-----------------------+----------------------
  Reporter:  kencu     |      Owner:  jeremyhu
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  llvm-4.0  |
-----------------------+----------------------

Comment (by kencu):

 Your build attempt is somehow still calling `/Developer/usr/bin/libtool`
 as you can see, which does not work to link object files built with
 clang-3.9 on 10.6 as it's too old.

 The fix I suggested above changes that to `/opt/local/bin/libtool` from
 cctools, which does work. Please check that bit carefully in the llvm-4.0
 build file you edited and see if you altered it correctly. Or as I said in
 your other ticket, just check out my SnowLeopardPorts repo where it is all
 done for you.

 I would submit a PR for this for the main MacPorts repo, but Jeremy
 understands bootstrapping dependencies much better than I do. Obviously he
 is very busy these days.

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


More information about the macports-tickets mailing list