Re: [MacPorts] #69638: libSDL2pp does not build on 10.7–10.12: Undefined symbols for architecture x86_64: "std::bad_optional_access::~bad_optional_access()" etc.

MacPorts noreply at macports.org
Mon Apr 1 15:17:35 UTC 2024


#69638: libSDL2pp does not build on 10.7–10.12: Undefined symbols for architecture
x86_64: "std::bad_optional_access::~bad_optional_access()" etc.
-------------------------+-------------------------------------------------
  Reporter:              |      Owner:  barracuda156
  barracuda156           |
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.9.1
Resolution:              |   Keywords:  sierra, elcapitan, yosemite,
      Port:  libSDL2pp   |  mavericks, mountainlion, lion
-------------------------+-------------------------------------------------

Comment (by barracuda156):

 Replying to [comment:3 ryandesign]:
 > The missing functionality is undoubtedly part of libc++, which is why it
 doesn't affect gcc-using systems since they don't use libc++, nor 10.6
 since it uses a newer MacPorts libc++ already. The solution is presumably
 to use `legacysupport.use_mp_libcxx yes`, assuming that works and does not
 cause any problems due to mixing of standard library versions.

 Thank you, I can try that locally, since I have 10.8 in a VM.

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


More information about the macports-tickets mailing list