[MacPorts] #55709: libcxx @5.0.1_1+universal: upgrade failure on Leopard
MacPorts
noreply at macports.org
Thu Jan 18 02:45:02 UTC 2018
#55709: libcxx @5.0.1_1+universal: upgrade failure on Leopard
---------------------+-------------------------------
Reporter: potmj | Owner: jeremyhu
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.4.2
Resolution: | Keywords: leopard universal
Port: libcxx |
---------------------+-------------------------------
Comment (by kencu):
Looks like the thing that is preventing the build with gcc is the
libcxxabi buildit script, which has a number of very `clang`-specific
flags in the `EXTRA_FLAGS` variable.
{{{
EXTRA_FLAGS="-std=c++11 -stdlib=libc++ -fstrict-aliasing -Wstrict-
aliasing=2 \
-Wsign-conversion -Wshadow -Wconversion -Wunused-variable \
-Wmissing-field-initializers -Wchar-subscripts -Wmismatched-
tags \
-Wmissing-braces -Wshorten-64-to-32 -Wsign-compare \
-Wstrict-aliasing=2 -Wstrict-overflow=4 -Wunused-parameter \
-Wnewline-eof -D_LIBCPP_BUILDING_LIBRARY"
}}}
probably have to sort out a proper bunch of these flags that are
compatible with gcc and then set up a gcc patch for them.
In the meantime, libcxx (and libccabi) will only build with clang. And
that means no `ppc` in the `universal_archs` unless you're using my
clang-3.8 for PPC.
--
Ticket URL: <https://trac.macports.org/ticket/55709#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list