[MacPorts] #70341: g++ fails to compile when -libstd=libc++ is set
MacPorts
noreply at macports.org
Thu Jul 18 06:36:16 UTC 2024
#70341: g++ fails to compile when -libstd=libc++ is set
--------------------------------+--------------------
Reporter: mouse07410 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: gcc12 gcc13 gcc14 |
--------------------------------+--------------------
Comment (by kencu):
Xcode 16 will be of no value, and will do nothing to help improve the
situation.
If you look through the commit history in the LLVM Libcxx directory,
you’ll find the commit two years ago, where the workaround that used to
make this work was removed and broke this. It’s no surprise that Louis
didn’t want to put it back in. He was the one who took it out.
Your options at this point in time are to give up, which would probably be
the best idea. Alternatively, you could find the commit yourself, which
took me no more than 60 seconds to find, and patch it back in for your own
use. Or you could use the headers from LLVM 14, which pre-date the commit
that broke it, rather than LLVM 17, which has the updated headers that
broke it.
Even if you do that, you will be highly likely to find other
inconsistencies soon enough.
as to Chris’s point about standing by the decision to push things that are
broken, just so people can experiment with them, I think this is just a
recipe for frustration and disaster much like the frustration that you are
currently experiencing, and then asking people to go about fixing things
when you have no idea how to do it yourself is probably not going to lead
anywhere useful.
--
Ticket URL: <https://trac.macports.org/ticket/70341#comment:23>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list