This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):
- From: "chrisj at rtems dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 27 Oct 2017 06:06:42 +0000
- Subject: [Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):
- Auto-submitted: auto-generated
- References: <bug-81797-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797
--- Comment #45 from Chris Johns <chrisj at rtems dot org> ---
This simple hack as a test works for me with `-j 8` on an i7 without
.NOTPARALLEL:
--- gcc-7.2.0/libstdc++-v3/include/Makefile.am.orig 2017-10-27
15:30:16.000000000 +1100
+++ gcc-7.2.0/libstdc++-v3/include/Makefile.am 2017-10-27 15:34:00.000000000
+1100
@@ -22,6 +22,8 @@
include $(top_srcdir)/fragment.am
+LN_S = cp
+
# Standard C++ includes.
std_srcdir = ${glibcxx_srcdir}/include/std
std_builddir = .
--- gcc-7.2.0/libstdc++-v3/include/Makefile.in.orig 2017-10-27
15:33:44.000000000 +1100
+++ gcc-7.2.0/libstdc++-v3/include/Makefile.in 2017-10-27 15:34:05.000000000
+1100
@@ -163,7 +163,7 @@
LIBS = @LIBS@
LIBTOOL = @LIBTOOL@
LIPO = @LIPO@
-LN_S = @LN_S@
+LN_S = cp
LONG_DOUBLE_COMPAT_FLAGS = @LONG_DOUBLE_COMPAT_FLAGS@
LTLIBICONV = @LTLIBICONV@
LTLIBOBJS = @LTLIBOBJS@
In terms of make I would expect `cp` and `ln -s` to be the same. Maybe Apple
would like to help out?