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

MacPorts noreply at macports.org
Fri Apr 21 02:24:57 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):

 And just to add this as well -- this failure to find a library on
 SnowLeopard looks a lot like this issue [ticket:51542].

 I notice libLTO.dylib is linked into the /opt/local/libexec/ld64/ld like
 so, on my current machine...
 {{{
       cmd LC_LOAD_DYLIB
       cmdsize 64
       name @executable_path/../lib/libLTO.dylib (offset 24)
    time stamp 2 Wed Dec 31 16:00:02 1969
       current version 3.9.0
 compatibility version 1.0.0
 }}}

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


More information about the macports-tickets mailing list