[MacPorts] #69628: Gildas 202303a fails to link on 10.8: Undefined symbols for architecture x86_64: "__ZNKSs7compareEPKc" etc.
MacPorts
noreply at macports.org
Wed Apr 3 15:47:29 UTC 2024
#69628: Gildas 202303a fails to link on 10.8: Undefined symbols for architecture
x86_64: "__ZNKSs7compareEPKc" etc.
---------------------------+--------------------------
Reporter: barracuda156 | Owner: bardeau
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.9.1
Resolution: | Keywords: mountainlion
Port: gildas |
---------------------------+--------------------------
Comment (by kencu):
on systems < 10.9, {{{/usr/bin/clang++}}} links c++ code against
{{{libstdc++}}} , not against {{{libc++}}}, unless you tell it otherwise.
so you likely need to manually put {{{-stdlib=libc++}}} into the cxxflags.
--
Ticket URL: <https://trac.macports.org/ticket/69628#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list