[MacPorts] #62911: qpdf @10.3.1 cannot be built with gcc because -latomic is not included in the link
MacPorts
noreply at macports.org
Sat Aug 21 10:46:19 UTC 2021
#62911: qpdf @10.3.1 cannot be built with gcc because -latomic is not included in
the link
------------------------+---------------------
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):
**With** my patch `qpdf` built on PPC Leopard with found `libatomic`.
Could be the patch needs to be extended:
{{{
configure.ac:263:dnl -latomic in order for std::atomic to work. Passing
--as-needed
configure.ac:266:LDFLAGS="$LDFLAGS -Wl,--as-needed -latomic"
}}}
It might also be useful to add `configure` options `--with-docbook-
xsl=/opt/local/share/xsl/docbook-xsl-nons --with-docbookx-
dtd=/opt/local/share/xml/docbook/4.5/docbookx.dtd` and also set
`SHA256SUM=gsha256sum`.
--
Ticket URL: <https://trac.macports.org/ticket/62911#comment:15>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list