[MacPorts] #62911: qpdf @10.3.1 cannot be built with gcc because -latomic is not included in the link

MacPorts noreply at macports.org
Thu Aug 19 20:17:12 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):

 Replying to [comment:7 kencu]:
 > there is an interesting writeup on the as-needed linker flag here:
 >
 > https://wiki.gentoo.org/wiki/Project:Quality_Assurance/As-needed
 >
 > I think that might be why configure is getting confused about whether
 -latomic should be added, but I haven't tested it.

 I never looked at `configure`'s output or the contents of `config.log` –
 now I see that `--as-needed` causes the failure: `ld: unknown option`. So
 it should be best to patch the `configure` script…

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


More information about the macports-tickets mailing list