[MacPorts] #69815: libjxl @0.10.2 does not build on PPC Leopard, Mac OS X 10.5.8, because of a lot of problems ld has

MacPorts noreply at macports.org
Thu Apr 25 13:29:21 UTC 2024


#69815: libjxl @0.10.2 does not build on PPC Leopard, Mac OS X 10.5.8, because of a
lot of problems ld has
------------------------+-------------------------
  Reporter:  ballapete  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.9.3
Resolution:             |   Keywords:  leopard ppc
      Port:  libjxl     |
------------------------+-------------------------

Comment (by kencu):

 the final error is

 {{{
 info:build ld: illegal text-relocation to lC14 in ../lib/libjxl_extras-
 internal.a(metrics.cc.o) from
 jxl::N_SCALAR::ComputeDistanceP(jxl::Plane<float> const&,
 jxl::ButteraugliParams const&, double) in ../lib/libjxl_extras-
 internal.a(metrics.cc.o) for architecture ppc
 5060    :info:build collect2: error: ld returned 1 exit status
 }}}

 so you could try adding this:

 {{{
 configure.ldflags-append -Wl,-read_only_relocs,suppress
 }}}

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


More information about the macports-tickets mailing list