[MacPorts] #66483: python311 @3.11.1 does not build on PPC Tiger, Mac OS X 10.4.11, because 'ld returned 1 exit status' (absolute addressing not allowed in slidable image)

MacPorts noreply at macports.org
Sat Dec 17 01:19:00 UTC 2022


#66483: python311 @3.11.1 does not build on PPC Tiger, Mac OS X 10.4.11, because
'ld returned 1 exit status' (absolute addressing not allowed in slidable
image)
------------------------+-----------------------
  Reporter:  ballapete  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.8.0
Resolution:             |   Keywords:  tiger ppc
      Port:  python311  |
------------------------+-----------------------

Comment (by kencu):

 the fix needed on Tiger PPC was this:
 {{{
 configure.ldflags-append -Wl,-read_only_relocs,suppress
 }}}

 but we have to see if that is just for TigerPPC, or also for Leopard PPC.
 It is related to gcc7 being the compiler? Or the system.

 And then not sure about +universal yet. Because of the need for gcc7, the
 only universal that is now possible is either "i386/x86_64" or "ppc/ppc64"
 and not many people are actually trying to build those archs on these old
 systems.

 So a bit of work to do to get it exactly right, but it does work:
 {{{
 $ port -v installed python311
 The following ports are currently installed:
   python311 @3.11.1_0 (active) requested_variants='' platform='darwin 8'
 archs='ppc' date='2022-12-16T12:59:57-0800'
 }}}

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


More information about the macports-tickets mailing list