[MacPorts] #39761: llvm-3.3 can't link on Leopard/PPC

MacPorts noreply at macports.org
Sat Jul 27 02:40:26 PDT 2013


#39761: llvm-3.3 can't link on Leopard/PPC
------------------------+-----------------------------
  Reporter:  khepler@…  |      Owner:  jeremyhu@…
      Type:  defect     |     Status:  reopened
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.1.3
Resolution:             |   Keywords:  leopard powerpc
      Port:  llvm-3.3   |
------------------------+-----------------------------

Comment (by braumann@…):

 Replying to [comment:13 jeremyhu@…]:
 > I think the easiest way at this point is just to force them off if ppc
 is a build arch.

 Unfortunately, after applying your patch I basically get the same linker
 error:

 {{{
 ld: bl out of range (-16777524 max is +/-16M)
 }}}

 See the full build log I have uploaded before as main.2.log.

 I have no further idea what is going wrong. I mean, a considerable portion
 of the code is skipped now, isn't it? Should I again add the -mlongcall
 option?

 Under
 http://www.paraview.org/pipermail/paraview/2008-March/007359.html
 I have found this dialogue:

 {{{
 What you want to avoid is the *error* "ld: bl out of range".
 Quoting from a message on this list 10 days ago:

 > The problem was fixed by turning BUILD_SHARED_LIBS on.
 }}}
 Would this be a solution to turn this variable on? If yes, again from the
 Portfile level?

 Further, in the log file I found two strange lines:

 {{{
 :info:configure ./configure: line 1990: -O2: command not found
 :info:configure ./configure: line 1991: -O2: command not found
 }}}

 Maybe this is also affecting our builds?

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


More information about the macports-tickets mailing list