[MacPorts] #69296: poppler @24.01.0 fails to build on PPC Tiger, Mac OS X 10.4.11, because of some insane ld option: --as-needed

MacPorts noreply at macports.org
Wed Feb 7 14:53:15 UTC 2024


#69296: poppler @24.01.0 fails to build on PPC Tiger, Mac OS X 10.4.11, because of
some insane ld option: --as-needed
------------------------+-----------------------
  Reporter:  ballapete  |      Owner:  (none)
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.9.1
Resolution:  duplicate  |   Keywords:  ppc tiger
      Port:  poppler    |
------------------------+-----------------------

Comment (by ballapete):

 Replying to [comment:1 ryandesign]:

 > Not a bug; behaving correctly. As you see, this test is called
 `GCC_HAS_AS_NEEDED`. The main.log says:
 >
 > {{{
 > :info:configure -- Performing Test GCC_HAS_AS_NEEDED
 > :info:configure -- Performing Test GCC_HAS_AS_NEEDED - Failed
 > }}}
 >
 > So cmake has correctly determined that your compiler does not support
 the `--as-needed` flag.

 And so it seems that for `poppler @24.x` a compiler, or rather linkage
 editor is needed that understands  `--as-needed`? Otherwise there is no
 sense in  interrupting the configuration phase.

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


More information about the macports-tickets mailing list