[MacPorts] #49273: clang-mp-3.7 and MACOSX_DEPLOYMENT_TARGET=10.3 do not mix

MacPorts noreply at macports.org
Wed Oct 14 04:06:00 PDT 2015


#49273: clang-mp-3.7 and MACOSX_DEPLOYMENT_TARGET=10.3 do not mix
----------------------+------------------------
  Reporter:  jhi@…    |      Owner:  jeremyhu@…
      Type:  defect   |     Status:  closed
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.3.4
Resolution:  invalid  |   Keywords:
      Port:  clang    |
----------------------+------------------------

Comment (by jhi@…):

 > This has nothing to do with the deployment target. This has to do with
 the text based stubs support.

 Well, the deployment target is how the error became visible, as you can
 see from my example.  Are you saying the clang-mp-3.7 was just lucky to
 work (to compile and link) when being compiled without the deployment
 target?

 > I think this is the problem where you need to reinstall the ld64 port
 with the +ld64_xcode variant ("sudo port install ld64 +ld64_xcode")
 because earlier versions of ld64 don't understand the changes that were
 made in Xcode 7.

 > Use the +ld64_xcode variant of ld64 to get this to link for now.
 +ld64_latest will support text based stubs once opensource.apple.com drops
 an updated ld64 from Xcode 7 which we can pull in.

 Umm, thanks, never heard of this ld64 thing.  ld64_xcode?  ld64_latest?
 Is there some documentation for the use of these options?  (I'd like to
 amend the Perl build instructions, if there is).

 For example, from the above it sounds like one should normally use
 +ld64_xcode ... exactly when?  Always?

 But you are also saying that this is a transient failure, that
 +ld64_latest will eventually understand XCode 7?

 > But why are you setting MACOSX_DEPLOYMENT_TARGET to 10.3 when you're
 compiling for Intel? There were never any Intel Macs running Mac OS X
 10.3.

 > Why are you using such an old deployment target. We didn't even have
 intel support until 10.4.x

 This is actually an open question in the Perl project, if you have
 feedback/opinions on that, it would be great.

 We know that the 10.3 target is getting a little bit old... but we are a
 little bit cautious over dropping the support for older OS X-es.  That is,
 if a Perl would be compiled now without a deployment target (defaulting to
 the compiling OS X), how bad would it be if run in older OS X-es?

-- 
Ticket URL: <https://trac.macports.org/ticket/49273#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list