[MacPorts] #53839: nco +gcc6 failing to build with missing symbols from antlr

MacPorts noreply at macports.org
Thu Dec 26 05:37:43 UTC 2019

#53839: nco +gcc6 failing to build with missing symbols from antlr
  Reporter:  gnurser  |      Owner:  tenomoto
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.4.1
Resolution:           |   Keywords:
      Port:  nco      |

Comment (by ryandesign):

 This looks similar to #59674, only the other way around.

 nco uses antlr's static library which has been built with the default
 compiler (clang) and linked with the default c++ standard library. On your
 macOS 10.12 system, that's libc++. But now you're building nco with g++,
 and g++ doesn't use libc++; it uses its own c++ standard library called
 libstdc++, which is not compatible with libc++. I don't see how using g++
 here could ever work. (It could have worked back on OS X 10.8 and earlier,
 back when the default c++ standard library was libstdc++.) I don't know
 why the port gives you the option of attempting a build that will never
 work. It seems like the gcc variants should be removed from the port.

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

More information about the macports-tickets mailing list