[MacPorts] #68697: lfortran @0.29.0 Fails to link on 10.9 due to missing -lMacportsLegacySupport and our libc++.dylib

MacPorts noreply at macports.org
Wed Nov 15 01:59:32 UTC 2023


#68697: lfortran @0.29.0 Fails to link on 10.9 due to missing
-lMacportsLegacySupport and our libc++.dylib
------------------------+--------------------------
  Reporter:  badger200  |      Owner:  barracuda156
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:
      Port:  lfortran   |
------------------------+--------------------------

Comment (by barracuda156):

 Replying to [ticket:68697 badger200]:
 > Lfortran .>0.21 have been broken this way. The fix is easy. CMake
 settings for EXE LINK should simply add -lMacportsLegacySupport and
 /opt/local/lib/libcxx/libc++.dylib. Now lfortran and associated binaries
 successfully link and the port completes its build.

 Could you please submit PR with a fix? (I do not have commit access to fix
 anything directly.)

 P. S. If you do, please make adding flags conditional: PowerPC builds (and
 provisionally Intel with `libstdc++`) are fine and should not be linked to
 `libc++`.

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


More information about the macports-tickets mailing list