[MacPorts] #57612: clang does not respect -syslibroot when linking

MacPorts noreply at macports.org
Mon Dec 17 06:05:38 UTC 2018


#57612: clang does not respect -syslibroot when linking
---------------------+--------------------
  Reporter:  kencu   |      Owner:  (none)
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:          |
---------------------+--------------------

Comment (by kencu):

 Replying to [comment:28 jeremyhu]:

 > Why are we in a situation where you are trying to use the 10.13 SDK on
 macOS 10.14?  Perhaps if I understood that, we could improve the logic in
 xcrun.

 We have a few important 32bit-requiring emulators like wine in particular
 and a few others to keep around while those projects get 64bit sorted out
 (and indeed they work nicely when you do get the SDK working). Homebrew
 can force-install software built on their 10.13 builders onto 10.14
 systems, so that's what they are doing. MacPorts can't do that, though.

 In general I would have guessed that a build system would prioritize a
 specified syslibroot path over an automatically-determined isysroot path
 for linking..but it's obviously not a major deal as it took us this long
 to figure out it didn't :>

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


More information about the macports-tickets mailing list