[MacPorts] #62911: qpdf @10.3.1 cannot be built on PPC Leopard because it misses a builtin function

MacPorts noreply at macports.org
Mon May 17 21:41:12 UTC 2021


#62911: qpdf @10.3.1 cannot be built on PPC Leopard because it misses a builtin
function
------------------------+---------------------
  Reporter:  ballapete  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.4
Resolution:             |   Keywords:  leopard
      Port:  qpdf       |
------------------------+---------------------

Comment (by ballapete):

 The `configure` script has this test:

 {{{
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use -latomic"
 >&5
 $as_echo_n "checking whether to use -latomic... " >&6; }
 oLDFLAGS="$LDFLAGS"
 LDFLAGS="$LDFLAGS -Wl,--as-needed -latomic"
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <atomic>
     int main()
     {
         static std::atomic<int> a{0};
         a = a.fetch_add(1);
         return 0;
     }

 _ACEOF
 if ac_fn_cxx_try_link "$LINENO"; then :
   qpdf_USE_ATOMIC=1
 else
   qpdf_USE_ATOMIC=0
 fi
 }}}

 Could be it is too simplistic…

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


More information about the macports-tickets mailing list