[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
Sun Oct 6 20:38:52 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 ballapete):

 The new version produces a build failure:

 {{{
 ld: warning: direct access in
 jpegxl::tools::AvifCodec::Decompress(std::basic_string<char,
 std::char_traits<char>, std::allocator<char> > const&, jxl::Span<unsigned
 char const>, jxl::ThreadPool*, jxl::CodecInOut*,
 jpegxl::tools::SpeedStats*) to global weak symbol
 jpegxl::tools::AvifCodec::Decompress(std::basic_string<char,
 std::char_traits<char>, std::allocator<char> > const&, jxl::Span<unsigned
 char const>, jxl::ThreadPool*, jxl::CodecInOut*,
 jpegxl::tools::SpeedStats*) means the weak symbol cannot be overriden at
 runtime. This was likely caused by different translation units being
 compiled with different visiblity settings.
 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
 }}}

 Do I now need to delete `-fvisibility=hidden -fvisibility-inlines-hidden`
 from the g++ incocations?

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


More information about the macports-tickets mailing list