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

MacPorts noreply at macports.org
Sat Apr 22 22:52:10 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):

 Replying to [comment:14 mojca]:
 > I don't understand the "fixed as usual" bit (I'm not familiar with this
 kind of a fix, but I'm not a regular user of 10.6).

 What I mean is that it's a bug we had worked on before in clang, a couple
 of times in my case, like this similar ticket you reported before
 [ticket:50845], and reported upstream by Jeremy
 https://bugs.llvm.org//show_bug.cgi?id=30858


 >
 > But that indeed means that there is a bit of a bootstrapping problem at
 the moment and we would run into problems if we simply changed the default
 version without changing anything else (installing the binary "doesn't
 count").


 I'm not sure why I'm seeing that bits/c++config.h issue again on this
 machine. I'll boot into a different MacPro I have that is also running
 10.6 and build everything including all the deps from source, and see if
 it still happens.




 > What would be the best/proper fix?

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


More information about the macports-tickets mailing list