[MacPorts] #59832: cmake 3.16.0: does not build on PPC Mac OS X 10.5.8, "Bus Error"
MacPorts
noreply at macports.org
Mon Mar 16 16:16:08 UTC 2020
#59832: cmake 3.16.0: does not build on PPC Mac OS X 10.5.8, "Bus Error"
--------------------------+-----------------------
Reporter: timishimuni | Owner: michaelld
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Resolution: | Keywords: leopard
Port: cmake |
--------------------------+-----------------------
Comment (by noloader):
Replying to [comment:15 kencu]:
> ...
>
> I believe the underlying issue relates to the different ABIs used by
libstdc++ from our libgcc7 port, and the libstdc++ used by the system.
>
> Presently we build libgcc7 using the default (new) ABI, but force all
the builds to the old abi by building with an enabled macro
{{{_GLIBCXX_USE_CXX11_ABI=0}}}. That is most likely the issue here. See
<https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html>.
Forgive me for the noise... If needed, here is the blog post covering
`_GLIBCXX_USE_CXX11_ABI` from Red Hat: [GCC 5 in
Fedora](https://developers.redhat.com/blog/2015/02/10/gcc-5-in-fedora-2/).
Also see [Dual
ABI](https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html)
in the GCC docs.
`-Wabi-tags` may be useful while experimenting with
`_GLIBCXX_USE_CXX11_ABI`.
--
Ticket URL: <https://trac.macports.org/ticket/59832#comment:23>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list