[MacPorts] #68055: codeblocks fails to build with gcc12 on 10.6 when build as ppc: error: static assertion failed: comparison object must be invocable as const
MacPorts
noreply at macports.org
Thu Mar 28 00:32:47 UTC 2024
#68055: codeblocks fails to build with gcc12 on 10.6 when build as ppc: error:
static assertion failed: comparison object must be invocable as const
---------------------------+-----------------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords: snowleopard ppc
Port: codeblocks |
---------------------------+-----------------------------
Comment (by kencu):
it might link properly if you forced the build of codeblocks-devel to use
the older GXX ABI.
You would do this by setting this:
{{{
configure.cxxflags-append -fabi-version=2
}}}
This has some potential downsides (the newer ABI has fixes and
enhancements), but ... possibly worth a try.
Alternatively, you could probably rebuild wxWidgets using a newer gcc,
which it would appear defaults to a newer GXX ABI. However, at that point,
you'd be needing to always use that newer gcc to build things against
wxWidgets, which might be just fine.
--
Ticket URL: <https://trac.macports.org/ticket/68055#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list