[gentoo-commits] proj/gcc-patches:master commit in: 7.3.0/gentoo/
commit: eab98feebe31f8777d13b657259feb3e5b545ea6 Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Oct 27 09:09:18 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Oct 27 09:09:18 2018 + URL:https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=eab98fee 7.3.0: cup 1.8 patchset + 101_all_remove-lieee.patch + 102_all_libgfortran-Werror.patch + 103_all_libgomp-Werror.patch + 104_all_libitm-Werror.patch + 105_all_libatomic-Werror.patch + 106_all_libbacktrace-Werror.patch + 107_all_libsanitizer-libbacktrace-Werror.patch + 108_all_libstdcxx-no-vtv.patch Signed-off-by: Sergei Trofimovich gentoo.org> 7.3.0/gentoo/README.history | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/7.3.0/gentoo/README.history b/7.3.0/gentoo/README.history index 9f0506b..182cb43 100644 --- a/7.3.0/gentoo/README.history +++ b/7.3.0/gentoo/README.history @@ -1,4 +1,4 @@ -1.8TODO +1.827 Oct 2018 + 101_all_remove-lieee.patch + 102_all_libgfortran-Werror.patch + 103_all_libgomp-Werror.patch
[gentoo-commits] proj/gcc-patches:master commit in: 7.3.0/gentoo/
commit: a265fe145a8bd064404ab8bf88980478b54bdd04 Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Oct 20 09:38:59 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Oct 20 09:38:59 2018 + URL:https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=a265fe14 7.3.0: pull in vtv RPATH patch Signed-off-by: Sergei Trofimovich gentoo.org> 7.3.0/gentoo/108_all_libstdcxx-no-vtv.patch | 61 + 7.3.0/gentoo/README.history | 1 + 2 files changed, 62 insertions(+) diff --git a/7.3.0/gentoo/108_all_libstdcxx-no-vtv.patch b/7.3.0/gentoo/108_all_libstdcxx-no-vtv.patch new file mode 100644 index 000..68508bd --- /dev/null +++ b/7.3.0/gentoo/108_all_libstdcxx-no-vtv.patch @@ -0,0 +1,61 @@ +Final libstdc++.so should not contain rpath to make libvtv usable. +It's up to final binaries to link against proper libvtv. + +Bug: https://bugs.gentoo.org/582524 +Bug: https://gcc.gnu.org/PR85884 +--- a/libstdc++-v3/src/Makefile.am b/libstdc++-v3/src/Makefile.am +@@ -217,7 +217,6 @@ CXXLINK = \ + $(LIBTOOL) --tag CXX \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=link $(CXX) \ +- $(VTV_CXXLINKFLAGS) \ + $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LTLDFLAGS) -o $@ + + # Symbol versioning for shared libraries. +--- a/libstdc++-v3/src/Makefile.in b/libstdc++-v3/src/Makefile.in +@@ -511,7 +511,6 @@ CXXLINK = \ + $(LIBTOOL) --tag CXX \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=link $(CXX) \ +- $(VTV_CXXLINKFLAGS) \ + $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LTLDFLAGS) -o $@ + + @ENABLE_SYMVERS_TRUE@CLEANFILES = libstdc++-symbols.ver $(version_dep) +--- a/libstdc++-v3/src/c++11/Makefile.am b/libstdc++-v3/src/c++11/Makefile.am +@@ -204,5 +204,4 @@ CXXLINK = \ + $(LIBTOOL) --tag CXX --tag disable-shared \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=link $(CXX) \ +- $(VTV_CXXLINKFLAGS) \ + $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LTLDFLAGS) -o $@ +--- a/libstdc++-v3/src/c++11/Makefile.in b/libstdc++-v3/src/c++11/Makefile.in +@@ -496,7 +496,6 @@ CXXLINK = \ + $(LIBTOOL) --tag CXX --tag disable-shared \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=link $(CXX) \ +- $(VTV_CXXLINKFLAGS) \ + $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LTLDFLAGS) -o $@ + + all: all-am +--- a/libstdc++-v3/src/c++98/Makefile.am b/libstdc++-v3/src/c++98/Makefile.am +@@ -273,5 +273,4 @@ CXXLINK = \ + $(LIBTOOL) --tag CXX --tag disable-shared \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=link $(CXX) \ +- $(VTV_CXXLINKFLAGS) \ + $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LTLDFLAGS) -o $@ +--- a/libstdc++-v3/src/c++98/Makefile.in b/libstdc++-v3/src/c++98/Makefile.in +@@ -500,7 +500,6 @@ CXXLINK = \ + $(LIBTOOL) --tag CXX --tag disable-shared \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=link $(CXX) \ +- $(VTV_CXXLINKFLAGS) \ + $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LTLDFLAGS) -o $@ + + all: all-am diff --git a/7.3.0/gentoo/README.history b/7.3.0/gentoo/README.history index 1a482bc..9f0506b 100644 --- a/7.3.0/gentoo/README.history +++ b/7.3.0/gentoo/README.history @@ -6,6 +6,7 @@ + 105_all_libatomic-Werror.patch + 106_all_libbacktrace-Werror.patch + 107_all_libsanitizer-libbacktrace-Werror.patch + + 108_all_libstdcxx-no-vtv.patch 1.723 Sep 2018 + 98_all_msp430-partial-int.patch
[gentoo-commits] proj/gcc-patches:master commit in: 7.3.0/gentoo/
commit: f696831884a2c0ed929bc70a336f53369ec0ccac Author: Sergei Trofimovich gentoo org> AuthorDate: Thu Oct 18 21:03:44 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Thu Oct 18 21:03:44 2018 + URL:https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=f6968318 7.3.0: pull in all -Werror patches from 8.2.0 Signed-off-by: Sergei Trofimovich gentoo.org> 7.3.0/gentoo/102_all_libgfortran-Werror.patch| 20 7.3.0/gentoo/103_all_libgomp-Werror.patch| 20 7.3.0/gentoo/104_all_libitm-Werror.patch | 19 +++ 7.3.0/gentoo/105_all_libatomic-Werror.patch | 19 +++ 7.3.0/gentoo/106_all_libbacktrace-Werror.patch | 17 + .../107_all_libsanitizer-libbacktrace-Werror.patch | 17 + 7.3.0/gentoo/README.history | 6 ++ 7 files changed, 118 insertions(+) diff --git a/7.3.0/gentoo/102_all_libgfortran-Werror.patch b/7.3.0/gentoo/102_all_libgfortran-Werror.patch new file mode 100644 index 000..f6c26bf --- /dev/null +++ b/7.3.0/gentoo/102_all_libgfortran-Werror.patch @@ -0,0 +1,20 @@ +libgfortran does not respect --disable-werror + +https://bugs.gentoo.org/433435 +http://gcc.gnu.org/PR54724 + + +--- a/libgfortran/configure.ac b/libgfortran/configure.ac +@@ -140,3 +140,3 @@ AM_PROG_CC_C_O + if test "x$GCC" = "xyes"; then +- AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring" ++ AM_FCFLAGS="-I . -Wall -fimplicit-none -fno-repack-arrays -fno-underscoring" + ## We like to use C11 and C99 routines when available. This makes +--- a/libgfortran/configure b/libgfortran/configure +@@ -5764,3 +5764,3 @@ fi + # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC. + if test "x$GCC" = "xyes"; then +- AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring" ++ AM_FCFLAGS="-I . -Wall -fimplicit-none -fno-repack-arrays -fno-underscoring" diff --git a/7.3.0/gentoo/103_all_libgomp-Werror.patch b/7.3.0/gentoo/103_all_libgomp-Werror.patch new file mode 100644 index 000..416808a --- /dev/null +++ b/7.3.0/gentoo/103_all_libgomp-Werror.patch @@ -0,0 +1,20 @@ +libgomp does not respect --disable-werror + +https://bugs.gentoo.org/229059 +http://gcc.gnu.org/PR38436 +--- a/libgomp/configure.ac b/libgomp/configure.ac +@@ -4282,4 +4282,4 @@ save_CFLAGS="$CFLAGS" + # Add -Wall -Werror if we are using GCC. + if test "x$GCC" = "xyes"; then +- XCFLAGS="$XCFLAGS -Wall -Werror" ++ XCFLAGS="$XCFLAGS -Wall" + fi +--- a/libgomp/configure b/libgomp/configure +@@ -4282,4 +4282,4 @@ save_CFLAGS="$CFLAGS" + # Add -Wall -Werror if we are using GCC. + if test "x$GCC" = "xyes"; then +- XCFLAGS="$XCFLAGS -Wall -Werror" ++ XCFLAGS="$XCFLAGS -Wall" + fi diff --git a/7.3.0/gentoo/104_all_libitm-Werror.patch b/7.3.0/gentoo/104_all_libitm-Werror.patch new file mode 100644 index 000..27181e0 --- /dev/null +++ b/7.3.0/gentoo/104_all_libitm-Werror.patch @@ -0,0 +1,19 @@ +libitm does not respect --disable-werror + +https://bugs.gentoo.org/475350 +--- a/libitm/configure.ac b/libitm/configure.ac +@@ -4282,4 +4282,4 @@ save_CFLAGS="$CFLAGS" + # Add -Wall -Werror if we are using GCC. + if test "x$GCC" = "xyes"; then +- XCFLAGS="$XCFLAGS -Wall -Werror" ++ XCFLAGS="$XCFLAGS -Wall" + fi +--- a/libitm/configure b/libitm/configure +@@ -4282,4 +4282,4 @@ save_CFLAGS="$CFLAGS" + # Add -Wall -Werror if we are using GCC. + if test "x$GCC" = "xyes"; then +- XCFLAGS="$XCFLAGS -Wall -Werror" ++ XCFLAGS="$XCFLAGS -Wall" + fi diff --git a/7.3.0/gentoo/105_all_libatomic-Werror.patch b/7.3.0/gentoo/105_all_libatomic-Werror.patch new file mode 100644 index 000..0550722 --- /dev/null +++ b/7.3.0/gentoo/105_all_libatomic-Werror.patch @@ -0,0 +1,19 @@ +libatomic does not respect --disable-werror + +https://bugs.gentoo.org/475350 +--- a/libatomic/configure.ac b/libatomic/configure.ac +@@ -4282,4 +4282,4 @@ save_CFLAGS="$CFLAGS" + # Add -Wall -Werror if we are using GCC. + if test "x$GCC" = "xyes"; then +- XCFLAGS="$XCFLAGS -Wall -Werror" ++ XCFLAGS="$XCFLAGS -Wall" + fi +--- a/libatomic/configure b/libatomic/configure +@@ -4282,4 +4282,4 @@ save_CFLAGS="$CFLAGS" + # Add -Wall -Werror if we are using GCC. + if test "x$GCC" = "xyes"; then +- XCFLAGS="$XCFLAGS -Wall -Werror" ++ XCFLAGS="$XCFLAGS -Wall" + fi diff --git a/7.3.0/gentoo/106_all_libbacktrace-Werror.patch b/7.3.0/gentoo/106_all_libbacktrace-Werror.patch new file mode 100644 index 000..57dd284 --- /dev/null +++ b/7.3.0/gentoo/106_all_libbacktrace-Werror.patch @@ -0,0 +1,17 @@ +libbacktrace does not respect --disable-werror + +https://bugs.gentoo.org/667104 +--- a/libbacktrace/configure b/libbacktrace/configure +@@ -11634,3 +11634,3 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu + if test -n "${with_target_subdir}"; then +- WARN_FLAGS="$WARN_FLAGS -Werror" ++
[gentoo-commits] proj/gcc-patches:master commit in: 7.3.0/gentoo/
commit: 81d95cbcbc17b744280a0e484439f13abd03f957 Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Sep 30 22:24:13 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Sep 30 22:24:13 2018 + URL:https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=81d95cbc 7.3.0: drop assumed -lieee from -mieee-fp glibc-2.28 won't provide -lieee. Backported from upstream as-is. Signed-off-by: Sergei Trofimovich gentoo.org> 7.3.0/gentoo/101_all_remove-lieee.patch | 47 + 7.3.0/gentoo/README.history | 10 +++ 2 files changed, 57 insertions(+) diff --git a/7.3.0/gentoo/101_all_remove-lieee.patch b/7.3.0/gentoo/101_all_remove-lieee.patch new file mode 100644 index 000..390a3b0 --- /dev/null +++ b/7.3.0/gentoo/101_all_remove-lieee.patch @@ -0,0 +1,47 @@ +Modern glibc stopped providing ieee.a + +From 401a6ba8d6aa5a92acaedae24b84c59d284f446d Mon Sep 17 00:00:00 2001 +From: rguenth +Date: Thu, 12 Jul 2018 11:53:34 + +Subject: [PATCH] 2018-07-12 Richard Biener + + PR target/84829 + * config/gnu-user.h (GNU_USER_TARGET_NO_PTHREADS_LIB_SPEC): + Remove -mieee-fp handling. + + * gcc.target/i386/pr84829.c: New testcase. + + +git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262582 138bc75d-0d04-0410-961f-82ee72b054a4 +--- + gcc/ChangeLog | 6 ++ + gcc/config/gnu-user.h | 2 +- + gcc/testsuite/ChangeLog | 5 + + gcc/testsuite/gcc.target/i386/pr84829.c | 7 +++ + 4 files changed, 19 insertions(+), 1 deletion(-) + create mode 100644 gcc/testsuite/gcc.target/i386/pr84829.c + +--- a/gcc/config/gnu-user.h b/gcc/config/gnu-user.h +@@ -120,7 +120,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see + + #define GNU_USER_TARGET_NO_PTHREADS_LIB_SPEC \ + "%{shared:-lc} \ +- %{!shared:%{mieee-fp:-lieee} %{profile:-lc_p}%{!profile:-lc}}" ++ %{!shared:%{profile:-lc_p}%{!profile:-lc}}" + + #define GNU_USER_TARGET_LIB_SPEC \ + "%{pthread:-lpthread} " \ +--- /dev/null b/gcc/testsuite/gcc.target/i386/pr84829.c +@@ -0,0 +1,7 @@ ++/* { dg-do link } */ ++/* { dg-options "-mieee-fp" } */ ++ ++int main() ++{ ++ return 0; ++} +-- +2.19.0 + diff --git a/7.3.0/gentoo/README.history b/7.3.0/gentoo/README.history index e4a94de..97821a1 100644 --- a/7.3.0/gentoo/README.history +++ b/7.3.0/gentoo/README.history @@ -1,23 +1,33 @@ +1.8TODO + + 101_all_remove-lieee.patch + 1.723 Sep 2018 + 98_all_msp430-partial-int.patch + 99_all_x32-fix-eh-return-address.patch + 100_all_respect-build-cxxflags.patch + 1.618 Aug 2018 + 97_all_isl-include.patch + 1.517 Aug 2018 + 94_all_libgo-remove-ustat.h-glibc-2.28.patch + 95_all_libsanitizer-avoidustat.h-glibc-2.28-part-1.patch + 96_all_libsanitizer-avoidustat.h-glibc-2.28-part-2.patch + 1.418 May 2018 U 13_all_default-ssp-fix.patch + 1.316 May 2018 U 13_all_default-ssp-fix.patch U 55_all_extra-options.patch + 93_all_copy-constructible-fix.patch + 1.214 Apr 2018 + 92_all_sh-drop-sysroot-suffix.patch + 1.111 Feb 2018 + 91_all_bmi-i386-PR-target-81763.patch + 1.025 Jan 2018 + 10_all_default-fortify-source.patch + 11_all_default-warn-format-security.patch
[gentoo-commits] proj/gcc-patches:master commit in: 7.3.0/gentoo/
commit: ec6e82ad7dae7e2f8083a4f80cf5dcb8d923d4b8 Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Sep 23 20:40:49 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Sep 23 20:42:43 2018 + URL:https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=ec6e82ad 7.3.0: cut 1.7 release Signed-off-by: Sergei Trofimovich gentoo.org> 7.3.0/gentoo/README.history | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/7.3.0/gentoo/README.history b/7.3.0/gentoo/README.history index 1c3ac12..e4a94de 100644 --- a/7.3.0/gentoo/README.history +++ b/7.3.0/gentoo/README.history @@ -1,4 +1,4 @@ -1.6TODO +1.723 Sep 2018 + 98_all_msp430-partial-int.patch + 99_all_x32-fix-eh-return-address.patch + 100_all_respect-build-cxxflags.patch
[gentoo-commits] proj/gcc-patches:master commit in: 7.3.0/gentoo/, 5.4.0/gentoo/, 8.2.0/gentoo/, 6.4.0/gentoo/
commit: 52d8f44f45d244184d737cec5a26a1754f877e75 Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Sep 15 18:40:09 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Sep 15 18:40:09 2018 + URL:https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=52d8f44f Pass CXXFLAGS as CXXFLAGS_FOR_BUILD to stage1. Fixes build failure when CXXFLAGS contains TARGET-specific flags. Tested on x86_64-pc-linux-gnu host as: # CFLAGS='-O2 -mfpu=neon-vfpv4' CXXFLAGS='-O2 -mfpu=neon-vfpv4' \ armv7a-unknown-linux-gnueabihf-emerge -v1 sys-devel/gcc --quiet-build=n Fix by Peter Levine. Bug: https://bugs.gentoo.org/581406 Signed-off-by: Sergei Trofimovich gentoo.org> 5.4.0/gentoo/98_all_respect-build-cxxflags.patch | 39 +++ 5.4.0/gentoo/README.history | 2 ++ 6.4.0/gentoo/102_all_respect-build-cxxflags.patch | 39 +++ 6.4.0/gentoo/README.history | 1 + 7.3.0/gentoo/100_all_respect-build-cxxflags.patch | 39 +++ 7.3.0/gentoo/README.history | 1 + 8.2.0/gentoo/102_all_respect-build-cxxflags.patch | 39 +++ 8.2.0/gentoo/README.history | 1 + 8 files changed, 161 insertions(+) diff --git a/5.4.0/gentoo/98_all_respect-build-cxxflags.patch b/5.4.0/gentoo/98_all_respect-build-cxxflags.patch new file mode 100644 index 000..14139ea --- /dev/null +++ b/5.4.0/gentoo/98_all_respect-build-cxxflags.patch @@ -0,0 +1,39 @@ +Pass CXXFLAGS as CXXFLAGS_FOR_BUILD to stage1. + +Fixes build failure when CXXFLAGS contains +TARGET-specific flags. + +Tested on x86_64-pc-linux-gnu host as: +# CFLAGS='-O2 -mfpu=neon-vfpv4' CXXFLAGS='-O2 -mfpu=neon-vfpv4' \ +armv7a-unknown-linux-gnueabihf-emerge -v1 sys-devel/gcc --quiet-build=n + +Fix by Peter Levine. +https://bugs.gentoo.org/581406 +--- a/Makefile.in b/Makefile.in +@@ -170,6 +170,7 @@ + # built for the build system to override those in BASE_FLAGS_TO_PASS. + EXTRA_BUILD_FLAGS = \ + CFLAGS="$(CFLAGS_FOR_BUILD)" \ ++ CXXFLAGS="$(CXXFLAGS_FOR_BUILD)" \ + LDFLAGS="$(LDFLAGS_FOR_BUILD)" + + # This is the list of directories to built for the host system. +@@ -710,6 +711,7 @@ + "CC_FOR_BUILD=$(CC_FOR_BUILD)" \ + "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \ + "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \ ++ "CXXFLAGS_FOR_BUILD=$(CXXFLAGS_FOR_BUILD)" \ + "EXPECT=$(EXPECT)" \ + "FLEX=$(FLEX)" \ + "INSTALL=$(INSTALL)" \ +--- a/Makefile.tpl b/Makefile.tpl +@@ -172,6 +172,7 @@ + # built for the build system to override those in BASE_FLAGS_TO_PASS. + EXTRA_BUILD_FLAGS = \ + CFLAGS="$(CFLAGS_FOR_BUILD)" \ ++ CXXFLAGS="$(CXXFLAGS_FOR_BUILD)" \ + LDFLAGS="$(LDFLAGS_FOR_BUILD)" + + # This is the list of directories to built for the host system. diff --git a/5.4.0/gentoo/README.history b/5.4.0/gentoo/README.history index 4845af8..e372386 100644 --- a/5.4.0/gentoo/README.history +++ b/5.4.0/gentoo/README.history @@ -1,3 +1,5 @@ +1.10 TODO + + 98_all_respect-build-cxxflags.patch 1.927 Aug 2018 + 96_all_libsanitizer-avoidustat.h-glibc-2.28-part-1.patch + 97_all_libsanitizer-avoidustat.h-glibc-2.28-part-2.patch diff --git a/6.4.0/gentoo/102_all_respect-build-cxxflags.patch b/6.4.0/gentoo/102_all_respect-build-cxxflags.patch new file mode 100644 index 000..14139ea --- /dev/null +++ b/6.4.0/gentoo/102_all_respect-build-cxxflags.patch @@ -0,0 +1,39 @@ +Pass CXXFLAGS as CXXFLAGS_FOR_BUILD to stage1. + +Fixes build failure when CXXFLAGS contains +TARGET-specific flags. + +Tested on x86_64-pc-linux-gnu host as: +# CFLAGS='-O2 -mfpu=neon-vfpv4' CXXFLAGS='-O2 -mfpu=neon-vfpv4' \ +armv7a-unknown-linux-gnueabihf-emerge -v1 sys-devel/gcc --quiet-build=n + +Fix by Peter Levine. +https://bugs.gentoo.org/581406 +--- a/Makefile.in b/Makefile.in +@@ -170,6 +170,7 @@ + # built for the build system to override those in BASE_FLAGS_TO_PASS. + EXTRA_BUILD_FLAGS = \ + CFLAGS="$(CFLAGS_FOR_BUILD)" \ ++ CXXFLAGS="$(CXXFLAGS_FOR_BUILD)" \ + LDFLAGS="$(LDFLAGS_FOR_BUILD)" + + # This is the list of directories to built for the host system. +@@ -710,6 +711,7 @@ + "CC_FOR_BUILD=$(CC_FOR_BUILD)" \ + "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \ + "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \ ++ "CXXFLAGS_FOR_BUILD=$(CXXFLAGS_FOR_BUILD)" \ + "EXPECT=$(EXPECT)" \ + "FLEX=$(FLEX)" \ + "INSTALL=$(INSTALL)" \ +--- a/Makefile.tpl b/Makefile.tpl +@@ -172,6 +172,7 @@ + # built for the build system to override those in BASE_FLAGS_TO_PASS. + EXTRA_BUILD_FLAGS = \ + CFLAGS="$(CFLAGS_FOR_BUILD)" \ ++ CXXFLAGS="$(CXXFLAGS_FOR_BUILD)" \ + LDFLAGS="$(LDFLAGS_FOR_BUILD)" + + # This is the list of directories to built for the host system. diff --git a/6.4.0/gentoo/README.history b/6.4.0/gentoo/README.history index
[gentoo-commits] proj/gcc-patches:master commit in: 7.3.0/gentoo/
commit: 2189e27f491ed8774f46a47b3ceca258c911137a Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Aug 26 12:14:57 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Aug 26 12:14:57 2018 + URL:https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=2189e27f 7.3.0: fix partial int in msp430, bug #664014 Reported-by: Alex Orange Bug: https://bugs.gentoo.org/664014 Bug: https://gcc.gnu.org/PR79242 Signed-off-by: Sergei Trofimovich gentoo.org> 7.3.0/gentoo/98_all_msp430-partial-int.patch | 72 7.3.0/gentoo/README.history | 2 + 2 files changed, 74 insertions(+) diff --git a/7.3.0/gentoo/98_all_msp430-partial-int.patch b/7.3.0/gentoo/98_all_msp430-partial-int.patch new file mode 100644 index 000..404f6c3 --- /dev/null +++ b/7.3.0/gentoo/98_all_msp430-partial-int.patch @@ -0,0 +1,72 @@ +https://bugs.gentoo.org/664014 +https://gcc.gnu.org/PR79242 + +From 59f5415b4462a60d9f2dd6dc5229247da183b9fc Mon Sep 17 00:00:00 2001 +From: law +Date: Sat, 17 Feb 2018 00:25:15 + +Subject: [PATCH] 2018-02-16 Jozef Lawrynowicz + + PR target/79242 + * machmode.def: Define a complex mode for PARTIAL_INT. + * genmodes.c (complex_class): Return MODE_COMPLEX_INT for + MODE_PARTIAL_INT. + * doc/rtl.texi: Document CSPImode. + * config/msp430/msp430.c (msp430_hard_regno_nregs): Add CPSImode + handling. + (msp430_hard_regno_nregs_with_padding): Likewise. + + PR target/79242 + gcc.target/msp430/pr79242.c: New test. + +git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-7-branch@257779 138bc75d-0d04-0410-961f-82ee72b054a4 +--- + gcc/ChangeLog | 11 +++ + gcc/config/msp430/msp430.c| 4 + gcc/doc/rtl.texi | 5 +++-- + gcc/genmodes.c| 1 + + gcc/machmode.def | 1 + + gcc/testsuite/ChangeLog | 5 + + gcc/testsuite/gcc.target/msp430/pr79242.c | 11 +++ + 7 files changed, 36 insertions(+), 2 deletions(-) + create mode 100644 gcc/testsuite/gcc.target/msp430/pr79242.c + +--- a/gcc/config/msp430/msp430.c b/gcc/config/msp430/msp430.c +@@ -905,6 +905,8 @@ msp430_hard_regno_nregs (int regno ATTRIBUTE_UNUSED, + { + if (mode == PSImode && msp430x) + return 1; ++ if (mode == CPSImode && msp430x) ++return 2; + return ((GET_MODE_SIZE (mode) + UNITS_PER_WORD - 1) + / UNITS_PER_WORD); + } +@@ -927,6 +929,8 @@ msp430_hard_regno_nregs_with_padding (int regno ATTRIBUTE_UNUSED, + { + if (mode == PSImode) + return 2; ++ if (mode == CPSImode) ++return 4; + return msp430_hard_regno_nregs (regno, mode); + } + +--- a/gcc/genmodes.c b/gcc/genmodes.c +@@ -116,6 +116,7 @@ complex_class (enum mode_class c) + switch (c) + { + case MODE_INT: return MODE_COMPLEX_INT; ++case MODE_PARTIAL_INT: return MODE_COMPLEX_INT; + case MODE_FLOAT: return MODE_COMPLEX_FLOAT; + default: + error ("no complex class for class %s", mode_class_names[c]); +--- a/gcc/machmode.def b/gcc/machmode.def +@@ -243,6 +243,7 @@ UACCUM_MODE (UTA, 16, 64, 64); /* 64.64 */ + + /* Complex modes. */ + COMPLEX_MODES (INT); ++COMPLEX_MODES (PARTIAL_INT); + COMPLEX_MODES (FLOAT); + + /* Decimal floating point modes. */ diff --git a/7.3.0/gentoo/README.history b/7.3.0/gentoo/README.history index 6a8069b..9eb4c76 100644 --- a/7.3.0/gentoo/README.history +++ b/7.3.0/gentoo/README.history @@ -1,3 +1,5 @@ +1.6TODO + + 98_all_msp430-partial-int.patch 1.618 Aug 2018 + 97_all_isl-include.patch 1.517 Aug 2018
[gentoo-commits] proj/gcc-patches:master commit in: 7.3.0/gentoo/
commit: add3fe56a47bed5c2330edd600d2c468fec63b2e Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Aug 18 19:55:16 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Aug 18 19:55:16 2018 + URL:https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=add3fe56 7.3.0: fix building against isl-0.20 (PR86724) Bug: https://bugs.gentoo.org/662500 Bug: https://gcc.gnu.org/PR86724 Signed-off-by: Sergei Trofimovich gentoo.org> 7.3.0/gentoo/97_all_isl-include.patch | 35 +++ 7.3.0/gentoo/README.history | 2 ++ 2 files changed, 37 insertions(+) diff --git a/7.3.0/gentoo/97_all_isl-include.patch b/7.3.0/gentoo/97_all_isl-include.patch new file mode 100644 index 000..bb3bcee --- /dev/null +++ b/7.3.0/gentoo/97_all_isl-include.patch @@ -0,0 +1,35 @@ +https://bugs.gentoo.org/662500 +https://gcc.gnu.org/PR86724 + +From d6470854446446a4e8b3b958a00e5013ed86ae7f Mon Sep 17 00:00:00 2001 +From: rguenth +Date: Wed, 1 Aug 2018 07:21:08 + +Subject: [PATCH] 2018-08-01 Richard Biener + + PR bootstrap/86724 + * graphite.h: Include isl/id.h and isl/space.h to allow build + with ISL 0.20. + + +git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@263193 138bc75d-0d04-0410-961f-82ee72b054a4 +--- + gcc/ChangeLog | 6 ++ + gcc/graphite.h | 2 ++ + 2 files changed, 8 insertions(+) + +diff --git a/gcc/graphite.h b/gcc/graphite.h +index 4e0e58c60ab..be0a22b3894 100644 +--- a/gcc/graphite.h b/gcc/graphite.h +@@ -37,6 +37,8 @@ along with GCC; see the file COPYING3. If not see + #include + #include + #include ++#include ++#include + + typedef struct poly_dr *poly_dr_p; + +-- +2.18.0 + diff --git a/7.3.0/gentoo/README.history b/7.3.0/gentoo/README.history index 3d29449..6a8069b 100644 --- a/7.3.0/gentoo/README.history +++ b/7.3.0/gentoo/README.history @@ -1,3 +1,5 @@ +1.618 Aug 2018 + + 97_all_isl-include.patch 1.517 Aug 2018 + 94_all_libgo-remove-ustat.h-glibc-2.28.patch + 95_all_libsanitizer-avoidustat.h-glibc-2.28-part-1.patch
[gentoo-commits] proj/gcc-patches:master commit in: 7.3.0/gentoo/
commit: 4ba8ee15c1263a829a0308057dd4e9ae981f7bb7 Author: Sergei Trofimovich gentoo org> AuthorDate: Thu Aug 16 23:12:41 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Thu Aug 16 23:12:41 2018 + URL:https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=4ba8ee15 7.3.0: cut 1.5 patchset Signed-off-by: Sergei Trofimovich gentoo.org> 7.3.0/gentoo/README.history | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/7.3.0/gentoo/README.history b/7.3.0/gentoo/README.history index 75814a0..3d29449 100644 --- a/7.3.0/gentoo/README.history +++ b/7.3.0/gentoo/README.history @@ -1,4 +1,4 @@ -1.5TODO +1.517 Aug 2018 + 94_all_libgo-remove-ustat.h-glibc-2.28.patch + 95_all_libsanitizer-avoidustat.h-glibc-2.28-part-1.patch + 96_all_libsanitizer-avoidustat.h-glibc-2.28-part-2.patch
[gentoo-commits] proj/gcc-patches:master commit in: 7.3.0/gentoo/
commit: 93c6a619de1cea61f0d05a9b37d0efa0be1d1931 Author: Sergei Trofimovich gentoo org> AuthorDate: Wed Aug 15 21:36:14 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Wed Aug 15 21:36:14 2018 + URL:https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=93c6a619 7.3.0: fix building against glibc-2.28 (ustat.h) All patches are taken as-is from gcc-7-branch. Signed-off-by: Sergei Trofimovich gentoo.org> .../94_all_libgo-remove-ustat.h-glibc-2.28.patch | 171 + ...bsanitizer-avoidustat.h-glibc-2.28-part-1.patch | 67 ...bsanitizer-avoidustat.h-glibc-2.28-part-2.patch | 32 7.3.0/gentoo/README.history| 4 + 4 files changed, 274 insertions(+) diff --git a/7.3.0/gentoo/94_all_libgo-remove-ustat.h-glibc-2.28.patch b/7.3.0/gentoo/94_all_libgo-remove-ustat.h-glibc-2.28.patch new file mode 100644 index 000..ec80018 --- /dev/null +++ b/7.3.0/gentoo/94_all_libgo-remove-ustat.h-glibc-2.28.patch @@ -0,0 +1,171 @@ +From 66c953ac7dd5902346d6c6d09a9efd1eb4fc3a79 Mon Sep 17 00:00:00 2001 +From: ian +Date: Fri, 22 Jun 2018 14:25:18 + +Subject: [PATCH] syscall: remove Ustat + +glibc 2.28 removes ustat.h and the ustat function entirely, which +breaks syscall.Ustat. + +Updates golang/go#25990 + +Reviewed-on: https://go-review.googlesource.com/120535 + + +git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-7-branch@261894 138bc75d-0d04-0410-961f-82ee72b054a4 +--- + libgo/config.h.in | 3 --- + libgo/configure | 33 - + libgo/configure.ac | 18 -- + libgo/go/syscall/libcall_linux_ustat.go | 12 - + libgo/mksysinfo.sh | 14 --- + libgo/sysinfo.c | 3 --- + 6 files changed, 83 deletions(-) + delete mode 100644 libgo/go/syscall/libcall_linux_ustat.go + +diff --git a/libgo/config.h.in b/libgo/config.h.in +index a7b1d47ac9b..312da8b2837 100644 +--- a/libgo/config.h.in b/libgo/config.h.in +@@ -340,9 +340,6 @@ + /* Define to 1 if you have the `unshare' function. */ + #undef HAVE_UNSHARE + +-/* Define to 1 if you have the header file and it works. */ +-#undef HAVE_USTAT_H +- + /* Define to 1 if you have the `utimensat' function. */ + #undef HAVE_UTIMENSAT + +diff --git a/libgo/configure b/libgo/configure +index 1d3d714fc05..94c42f67e82 100755 +--- a/libgo/configure b/libgo/configure +@@ -14784,39 +14784,6 @@ fi + done + + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether can be used" >&5 +-$as_echo_n "checking whether can be used... " >&6; } +-if test "${libgo_cv_c_ustat_h+set}" = set; then : +- $as_echo_n "(cached) " >&6 +-else +- CFLAGS_hold=$CFLAGS +-CFLAGS="$CFLAGS -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE $OSCFLAGS" +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +-#include +-#ifdef HAVE_LINUX_FILTER_H +-#include +-#endif +-#include +- +-_ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : +- libgo_cv_c_ustat_h=yes +-else +- libgo_cv_c_ustat_h=no +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-CFLAGS=$CFLAGS_hold +-fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_ustat_h" >&5 +-$as_echo "$libgo_cv_c_ustat_h" >&6; } +-if test $libgo_cv_c_ustat_h = yes; then +- +-$as_echo "#define HAVE_USTAT_H 1" >>confdefs.h +- +-fi +- + if test "$ac_cv_header_sys_mman_h" = yes; then + HAVE_SYS_MMAN_H_TRUE= + HAVE_SYS_MMAN_H_FALSE='#' +diff --git a/libgo/configure.ac b/libgo/configure.ac +index 51b2c161846..0adbadf20d4 100644 +--- a/libgo/configure.ac b/libgo/configure.ac +@@ -572,24 +572,6 @@ AC_CHECK_HEADERS([linux/filter.h linux/if_addr.h linux/if_ether.h linux/if_tun.h + #endif + ]) + +-AC_CACHE_CHECK([whether can be used], +-[libgo_cv_c_ustat_h], +-[CFLAGS_hold=$CFLAGS +-CFLAGS="$CFLAGS -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE $OSCFLAGS" +-AC_COMPILE_IFELSE( +-[AC_LANG_SOURCE([ +-#include +-#ifdef HAVE_LINUX_FILTER_H +-#include +-#endif +-#include +-])], [libgo_cv_c_ustat_h=yes], [libgo_cv_c_ustat_h=no]) +-CFLAGS=$CFLAGS_hold]) +-if test $libgo_cv_c_ustat_h = yes; then +- AC_DEFINE(HAVE_USTAT_H, 1, +-[Define to 1 if you have the header file and it works.]) +-fi +- + AM_CONDITIONAL(HAVE_SYS_MMAN_H, test "$ac_cv_header_sys_mman_h" = yes) + + AC_CHECK_FUNCS(strerror_r strsignal wait4 mincore setenv unsetenv dl_iterate_phdr) +diff --git a/libgo/go/syscall/libcall_linux_ustat.go b/libgo/go/syscall/libcall_linux_ustat.go +deleted file mode 100644 +index 261f086f47e..000 +--- a/libgo/go/syscall/libcall_linux_ustat.go /dev/null +@@ -1,12 +0,0 @@ +-// Copyright 2015 The Go Authors. All rights reserved. +-// Use of this source code is governed by a BSD-style +-// license that can be found in the LICENSE file. +- +-// GNU/Linux library ustat call. +-// This is not supported on some kernels, such as arm64. +-// +build !