[fink:package-submissions] #4989 avoid PR81797 in gcc6 on APFS filesystem
Jack Howarth via Fink-tracker <[email protected]>
| Newsgroups | gmane.os.apple.fink.tracker |
|---|---|
| Message-ID | <59ab988333262e79279e62d8.package-submissions@fink.p.sourceforge.net> |
---
** [package-submissions:#4989] avoid PR81797 in gcc6 on APFS filesystem**
**Status:** open
**Group:** Undergoing_Validation
**Created:** Sun Sep 03, 2017 05:52 AM UTC by Jack Howarth
**Last Updated:** Sun Sep 03, 2017 05:52 AM UTC
**Owner:** nobody
The attached info file and new gcc6-apfs.patch works around https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797 until upstream finds the proper fix. The info file change is...
~~~
Index: gcc6.info
===================================================================
RCS file: /cvsroot/fink/dists/10.9-libcxx/stable/main/finkinfo/languages/gcc6.info,v
retrieving revision 1.9
diff -u -r1.9 gcc6.info
--- gcc6.info 6 Jul 2017 02:06:56 -0000 1.9
+++ gcc6.info 3 Sep 2017 04:28:59 -0000
@@ -12,6 +12,8 @@
# See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66848#c11
PatchFile2: %n-boehmgc-hack.patch
PatchFile2-MD5: 52fa69b98d5a657b7a6d8c26e39b4e28
+PatchFile3: %n-apfs.patch
+PatchFile3-MD5: ddb5df56c7705d8edab883662d6920c5
PatchScript: <<
%{default_script}
# autoconf2.6ish patch for modern XQuartz paths
@@ -322,6 +324,9 @@
PR71767 4/4 https://gcc.gnu.org/ml/gcc-patches/2016-11/msg00540.html
PR57438 https://gcc.gnu.org/ml/gcc-patches/2016-11/msg00541.html
PR67710 https://gcc.gnu.org/ml/gcc-patches/2016-11/msg00545.html
+
+ Add apfs patch to suppress https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797
+ by adding ".NOTPARALLEL: install-headers" to libstdc++-v3/include/Makefile.in.
<<
Homepage: http://gcc.gnu.org/
Maintainer: None <[email protected]>
~~~
and the new patch contains...
~~~
diff -uNr gcc-6.4.0.orig/libstdc++-v3/include/Makefile.in gcc-6.4.0/libstdc++-v3/include/Makefile.in
--- gcc-6.4.0.orig/libstdc++-v3/include/Makefile.in 2016-10-03 10:36:13.000000000 -0400
+++ gcc-6.4.0/libstdc++-v3/include/Makefile.in 2017-09-02 18:14:56.000000000 -0400
@@ -1745,6 +1745,8 @@
@GLIBCXX_HOSTED_TRUE@install-data-local: install-headers
@GLIBCXX_HOSTED_FALSE@install-data-local: install-freestanding-headers
+.NOTPARALLEL: install-headers
+
# This is a subset of the full install-headers rule. We only need <ciso646>,
# <cstddef>, <cfloat>, <limits>, <climits>, <cstdint>, <cstdlib>, <new>,
# <typeinfo>, <exception>, <initializer_list>, <cstdalign>, <cstdarg>,
~~~
Tested with 'fink -m' on 10.13 booted from an APFS filesystem.
---
Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/fink/package-submissions/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/fink/admin/package-submissions/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Fink-tracker mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.tracker