[MacPorts] #53931: clang's ld doesn't recognise "-lto_library" flag on 10.6

MacPorts noreply at macports.org
Fri Apr 21 15:10:30 UTC 2017


#53931: clang's ld doesn't recognise "-lto_library" flag on 10.6
-------------------------------------------------+-------------------------
  Reporter:  mojca                               |      Owner:  jeremyhu
      Type:  defect                              |     Status:  new
  Priority:  Normal                              |  Milestone:
 Component:  ports                               |    Version:
Resolution:                                      |   Keywords:  snowleopard
      Port:  clang-3.9 clang-4.0 llvm-3.9        |
  llvm-4.0                                       |
-------------------------------------------------+-------------------------

Comment (by kencu):

 OK - looking at the source code for the two versions of ld64
 <https://opensource.apple.com/tarballs/ld64/>  , the issue is that
 ld64-127 does not understand `-lto_library` whereas ld64-136 does
 understand it.

 So it appears to be the rollback to ld64-127 on snowleopard that has
 caused this (together with the fact that it's now the default to invoke
 it).

 Jeremy's obviously very busy these days - but presumably he had a reason
 to roll back ld64 on snowleopard -- I just don't know what it is.

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


More information about the macports-tickets mailing list