public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/gcc-patches:master commit in: 5.4.0/gentoo/
@ 2018-08-25 17:39 Sergei Trofimovich
  0 siblings, 0 replies; 6+ messages in thread
From: Sergei Trofimovich @ 2018-08-25 17:39 UTC (permalink / raw
  To: gentoo-commits

commit:     7b860e235dc4d72a20928b4ce927a1d96c33064f
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 25 17:39:26 2018 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Aug 25 17:39:26 2018 +0000
URL:        https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=7b860e23

5.4.0: fix building against glibc-2.28 (ustat.h)

All patches are taken as-is from gcc-7-branch.

Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 ...bsanitizer-avoidustat.h-glibc-2.28-part-1.patch | 67 ++++++++++++++++++++++
 ...bsanitizer-avoidustat.h-glibc-2.28-part-2.patch | 32 +++++++++++
 5.4.0/gentoo/README.history                        |  3 +
 3 files changed, 102 insertions(+)

diff --git a/5.4.0/gentoo/96_all_libsanitizer-avoidustat.h-glibc-2.28-part-1.patch b/5.4.0/gentoo/96_all_libsanitizer-avoidustat.h-glibc-2.28-part-1.patch
new file mode 100644
index 0000000..a2da9b1
--- /dev/null
+++ b/5.4.0/gentoo/96_all_libsanitizer-avoidustat.h-glibc-2.28-part-1.patch
@@ -0,0 +1,67 @@
+From 61f38c64c01a15560026115a157b7021ec67bd3b Mon Sep 17 00:00:00 2001
+From: hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
+Date: Thu, 24 May 2018 20:21:54 +0000
+Subject: [PATCH] libsanitizer: Use pre-computed size of struct ustat for Linux
+
+Cherry-pick compiler-rt revision 333213:
+
+<sys/ustat.h> has been removed from glibc 2.28 by:
+
+commit cf2478d53ad7071e84c724a986b56fe17f4f4ca7
+Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
+Date:   Sun Mar 18 11:28:59 2018 +0800
+
+    Deprecate ustat syscall interface
+
+This patch uses pre-computed size of struct ustat for Linux.
+
+	PR sanitizer/85835
+	* sanitizer_common/sanitizer_platform_limits_posix.cc: Don't
+	include <sys/ustat.h> for Linux.
+	(SIZEOF_STRUCT_USTAT): New.
+	(struct_ustat_sz): Use SIZEOF_STRUCT_USTAT for Linux.
+
+
+
+git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-7-branch@260688 138bc75d-0d04-0410-961f-82ee72b054a4
+---
+ libsanitizer/ChangeLog                            |  8 ++++++++
+ .../sanitizer_platform_limits_posix.cc            | 15 +++++++++++++--
+ 2 files changed, 21 insertions(+), 2 deletions(-)
+
+diff --git a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc
+index 31a5e697eae..8017afd21c5 100644
+--- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc
++++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc
+@@ -154,7 +154,6 @@ typedef struct user_fpregs elf_fpregset_t;
+ # include <sys/procfs.h>
+ #endif
+ #include <sys/user.h>
+-#include <sys/ustat.h>
+ #include <linux/cyclades.h>
+ #include <linux/if_eql.h>
+ #include <linux/if_plip.h>
+@@ -247,7 +246,19 @@ namespace __sanitizer {
+ #endif // SANITIZER_LINUX || SANITIZER_FREEBSD
+ 
+ #if SANITIZER_LINUX && !SANITIZER_ANDROID
+-  unsigned struct_ustat_sz = sizeof(struct ustat);
++  // Use pre-computed size of struct ustat to avoid <sys/ustat.h> which
++  // has been removed from glibc 2.28.
++#if defined(__aarch64__) || defined(__s390x__) || defined (__mips64) \
++  || defined(__powerpc64__) || defined(__arch64__) || defined(__sparcv9) \
++  || defined(__x86_64__)
++#define SIZEOF_STRUCT_USTAT 32
++#elif defined(__arm__) || defined(__i386__) || defined(__mips__) \
++  || defined(__powerpc__) || defined(__s390__)
++#define SIZEOF_STRUCT_USTAT 20
++#else
++#error Unknown size of struct ustat
++#endif
++  unsigned struct_ustat_sz = SIZEOF_STRUCT_USTAT;
+   unsigned struct_rlimit64_sz = sizeof(struct rlimit64);
+   unsigned struct_statvfs64_sz = sizeof(struct statvfs64);
+ #endif // SANITIZER_LINUX && !SANITIZER_ANDROID
+-- 
+2.18.0
+

diff --git a/5.4.0/gentoo/97_all_libsanitizer-avoidustat.h-glibc-2.28-part-2.patch b/5.4.0/gentoo/97_all_libsanitizer-avoidustat.h-glibc-2.28-part-2.patch
new file mode 100644
index 0000000..e9b5c8f
--- /dev/null
+++ b/5.4.0/gentoo/97_all_libsanitizer-avoidustat.h-glibc-2.28-part-2.patch
@@ -0,0 +1,32 @@
+From 6a7c93905151724f7169612d64a5c8ce45dff9fb Mon Sep 17 00:00:00 2001
+From: doko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>
+Date: Thu, 31 May 2018 09:59:35 +0000
+Subject: [PATCH] 2018-05-31  Matthias Klose  <doko@ubuntu.com>
+
+        PR sanitizer/86012
+        * sanitizer_common/sanitizer_platform_limits_posix.cc: Define
+        SIZEOF_STRUCT_USTAT for 32bit sparc.
+
+
+git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-7-branch@260992 138bc75d-0d04-0410-961f-82ee72b054a4
+---
+ libsanitizer/ChangeLog                                      | 6 ++++++
+ .../sanitizer_common/sanitizer_platform_limits_posix.cc     | 2 +-
+ 2 files changed, 7 insertions(+), 1 deletion(-)
+
+diff --git a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc
+index 8017afd21c5..97eae3fc7bc 100644
+--- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc
++++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc
+@@ -253,7 +253,7 @@ namespace __sanitizer {
+   || defined(__x86_64__)
+ #define SIZEOF_STRUCT_USTAT 32
+ #elif defined(__arm__) || defined(__i386__) || defined(__mips__) \
+-  || defined(__powerpc__) || defined(__s390__)
++  || defined(__powerpc__) || defined(__s390__) || defined(__sparc__)
+ #define SIZEOF_STRUCT_USTAT 20
+ #else
+ #error Unknown size of struct ustat
+-- 
+2.18.0
+

diff --git a/5.4.0/gentoo/README.history b/5.4.0/gentoo/README.history
index 0462e07..1ecf10a 100644
--- a/5.4.0/gentoo/README.history
+++ b/5.4.0/gentoo/README.history
@@ -1,3 +1,6 @@
+1.9		TODO
+	+ 96_all_libsanitizer-avoidustat.h-glibc-2.28-part-1.patch
+	+ 97_all_libsanitizer-avoidustat.h-glibc-2.28-part-2.patch
 1.8		12 Jan 2018
 	+ 95_all_libjava-ucontext.patch
 1.7		26 Oct 2017


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] proj/gcc-patches:master commit in: 5.4.0/gentoo/
@ 2018-08-27 11:23 Sergei Trofimovich
  0 siblings, 0 replies; 6+ messages in thread
From: Sergei Trofimovich @ 2018-08-27 11:23 UTC (permalink / raw
  To: gentoo-commits

commit:     c1ed7071af37f0cacd16b2c64222ecda394a95c9
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 27 11:23:19 2018 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Mon Aug 27 11:23:19 2018 +0000
URL:        https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=c1ed7071

5.4.0: cut 1.9 patchset

Single change: compatibility with glibc-2.28 (ustat.h)

Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 5.4.0/gentoo/README.history | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/5.4.0/gentoo/README.history b/5.4.0/gentoo/README.history
index 1ecf10a..4845af8 100644
--- a/5.4.0/gentoo/README.history
+++ b/5.4.0/gentoo/README.history
@@ -1,4 +1,4 @@
-1.9		TODO
+1.9		27 Aug 2018
 	+ 96_all_libsanitizer-avoidustat.h-glibc-2.28-part-1.patch
 	+ 97_all_libsanitizer-avoidustat.h-glibc-2.28-part-2.patch
 1.8		12 Jan 2018


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] proj/gcc-patches:master commit in: 5.4.0/gentoo/
@ 2018-09-23 21:21 Sergei Trofimovich
  0 siblings, 0 replies; 6+ messages in thread
From: Sergei Trofimovich @ 2018-09-23 21:21 UTC (permalink / raw
  To: gentoo-commits

commit:     f7bf58c08b35512ed6af47821a0c42e7f5db1688
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 23 20:56:07 2018 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Sep 23 20:56:07 2018 +0000
URL:        https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=f7bf58c0

5.4.0: cut 1.10 release

Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 5.4.0/gentoo/README.history | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/5.4.0/gentoo/README.history b/5.4.0/gentoo/README.history
index e372386..16e8681 100644
--- a/5.4.0/gentoo/README.history
+++ b/5.4.0/gentoo/README.history
@@ -1,4 +1,4 @@
-1.10		TODO
+1.10		23 Sep 2018
 	+ 98_all_respect-build-cxxflags.patch
 1.9		27 Aug 2018
 	+ 96_all_libsanitizer-avoidustat.h-glibc-2.28-part-1.patch


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] proj/gcc-patches:master commit in: 5.4.0/gentoo/
@ 2018-10-19  6:30 Sergei Trofimovich
  0 siblings, 0 replies; 6+ messages in thread
From: Sergei Trofimovich @ 2018-10-19  6:30 UTC (permalink / raw
  To: gentoo-commits

commit:     da41777d92ea1cdc2ccc8fd360c14c97225ef03a
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 19 06:30:25 2018 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Oct 19 06:30:25 2018 +0000
URL:        https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=da41777d

5.4.0: drop assumed -lieee from -mieee-fp, backport removal of -Werror

Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 5.4.0/gentoo/100_all_libgfortran-Werror.patch      | 20 +++++++++
 5.4.0/gentoo/101_all_libgomp-Werror.patch          | 20 +++++++++
 5.4.0/gentoo/102_all_libitm-Werror.patch           | 19 +++++++++
 5.4.0/gentoo/103_all_libatomic-Werror.patch        | 19 +++++++++
 5.4.0/gentoo/104_all_libbacktrace-Werror.patch     | 17 ++++++++
 .../105_all_libsanitizer-libbacktrace-Werror.patch | 17 ++++++++
 5.4.0/gentoo/99_all_remove-lieee.patch             | 47 ++++++++++++++++++++++
 5.4.0/gentoo/README.history                        |  9 +++++
 8 files changed, 168 insertions(+)

diff --git a/5.4.0/gentoo/100_all_libgfortran-Werror.patch b/5.4.0/gentoo/100_all_libgfortran-Werror.patch
new file mode 100644
index 0000000..f6c26bf
--- /dev/null
+++ b/5.4.0/gentoo/100_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/5.4.0/gentoo/101_all_libgomp-Werror.patch b/5.4.0/gentoo/101_all_libgomp-Werror.patch
new file mode 100644
index 0000000..416808a
--- /dev/null
+++ b/5.4.0/gentoo/101_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/5.4.0/gentoo/102_all_libitm-Werror.patch b/5.4.0/gentoo/102_all_libitm-Werror.patch
new file mode 100644
index 0000000..27181e0
--- /dev/null
+++ b/5.4.0/gentoo/102_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/5.4.0/gentoo/103_all_libatomic-Werror.patch b/5.4.0/gentoo/103_all_libatomic-Werror.patch
new file mode 100644
index 0000000..0550722
--- /dev/null
+++ b/5.4.0/gentoo/103_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/5.4.0/gentoo/104_all_libbacktrace-Werror.patch b/5.4.0/gentoo/104_all_libbacktrace-Werror.patch
new file mode 100644
index 0000000..57dd284
--- /dev/null
+++ b/5.4.0/gentoo/104_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"
++  WARN_FLAGS="$WARN_FLAGS"
+ fi
+--- a/libbacktrace/configure.ac
++++ b/libbacktrace/configure.ac
+@@ -138,3 +138,3 @@ ACX_PROG_CC_WARNING_OPTS([-W -Wall -Wwrite-strings -Wstrict-prototypes \
+ if test -n "${with_target_subdir}"; then
+-  WARN_FLAGS="$WARN_FLAGS -Werror"
++  WARN_FLAGS="$WARN_FLAGS"
+ fi

diff --git a/5.4.0/gentoo/105_all_libsanitizer-libbacktrace-Werror.patch b/5.4.0/gentoo/105_all_libsanitizer-libbacktrace-Werror.patch
new file mode 100644
index 0000000..46a219a
--- /dev/null
+++ b/5.4.0/gentoo/105_all_libsanitizer-libbacktrace-Werror.patch
@@ -0,0 +1,17 @@
+libsanitizer/libbacktrace does not respect --disable-werror
+
+https://bugs.gentoo.org/667104
+--- a/libsanitizer/libbacktrace/Makefile.am
++++ b/libsanitizer/libbacktrace/Makefile.am
+@@ -37,3 +37,3 @@ AM_CPPFLAGS = -I $(top_srcdir)/../include -I $(top_srcdir)/../libgcc \
+ WARN_FLAGS = -W -Wall -Wwrite-strings -Wmissing-format-attribute \
+-	     -Wcast-qual -Werror
++	     -Wcast-qual
+ C_WARN_FLAGS = $(WARN_FLAGS) -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
+--- a/libsanitizer/libbacktrace/Makefile.in
++++ b/libsanitizer/libbacktrace/Makefile.in
+@@ -293,3 +293,3 @@ AM_CPPFLAGS = -I $(top_srcdir)/../include -I $(top_srcdir)/../libgcc \
+ WARN_FLAGS = -W -Wall -Wwrite-strings -Wmissing-format-attribute \
+-	     -Wcast-qual -Werror
++	     -Wcast-qual
+ 

diff --git a/5.4.0/gentoo/99_all_remove-lieee.patch b/5.4.0/gentoo/99_all_remove-lieee.patch
new file mode 100644
index 0000000..390a3b0
--- /dev/null
+++ b/5.4.0/gentoo/99_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 <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
+Date: Thu, 12 Jul 2018 11:53:34 +0000
+Subject: [PATCH] 2018-07-12  Richard Biener  <rguenther@suse.de>
+
+	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/5.4.0/gentoo/README.history b/5.4.0/gentoo/README.history
index 16e8681..e57705f 100644
--- a/5.4.0/gentoo/README.history
+++ b/5.4.0/gentoo/README.history
@@ -1,3 +1,12 @@
+1.11		TODO
+	+ 100_all_libgfortran-Werror.patch
+	+ 101_all_libgomp-Werror.patch
+	+ 102_all_libitm-Werror.patch
+	+ 103_all_libatomic-Werror.patch
+	+ 104_all_libbacktrace-Werror.patch
+	+ 105_all_libsanitizer-libbacktrace-Werror.patch
+	+ 99_all_remove-lieee.patch
+
 1.10		23 Sep 2018
 	+ 98_all_respect-build-cxxflags.patch
 1.9		27 Aug 2018


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] proj/gcc-patches:master commit in: 5.4.0/gentoo/
@ 2018-10-27 19:12 Sergei Trofimovich
  0 siblings, 0 replies; 6+ messages in thread
From: Sergei Trofimovich @ 2018-10-27 19:12 UTC (permalink / raw
  To: gentoo-commits

commit:     f96ce6d8638f7f23edce6ef98975fa47d429f856
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 27 19:11:22 2018 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Oct 27 19:11:22 2018 +0000
URL:        https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=f96ce6d8

5.4.0: cut 1.11 patchset

Eight new patches:
+ 99_all_remove-lieee.patch
+ 100_all_libgfortran-Werror.patch
+ 101_all_libgomp-Werror.patch
+ 102_all_libitm-Werror.patch
+ 103_all_libatomic-Werror.patch
+ 104_all_libbacktrace-Werror.patch
+ 105_all_libsanitizer-libbacktrace-Werror.patch
+ 106_all_libstdcxx-no-vtv.patch

Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 5.4.0/gentoo/README.history | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/5.4.0/gentoo/README.history b/5.4.0/gentoo/README.history
index d6a6946..1818c5e 100644
--- a/5.4.0/gentoo/README.history
+++ b/5.4.0/gentoo/README.history
@@ -1,4 +1,4 @@
-1.11		TODO
+1.11		27 Oct 2018
 	+ 99_all_remove-lieee.patch
 	+ 100_all_libgfortran-Werror.patch
 	+ 101_all_libgomp-Werror.patch


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] proj/gcc-patches:master commit in: 5.4.0/gentoo/
@ 2018-10-27 19:12 Sergei Trofimovich
  0 siblings, 0 replies; 6+ messages in thread
From: Sergei Trofimovich @ 2018-10-27 19:12 UTC (permalink / raw
  To: gentoo-commits

commit:     969a97bb015e65c8a867f695e2fe753bd228dee0
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 27 19:10:49 2018 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Oct 27 19:10:49 2018 +0000
URL:        https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=969a97bb

5.4.0: pull in vtv RPATH patch

Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 5.4.0/gentoo/106_all_libstdcxx-no-vtv.patch | 61 +++++++++++++++++++++++++++++
 5.4.0/gentoo/README.history                 |  3 +-
 2 files changed, 63 insertions(+), 1 deletion(-)

diff --git a/5.4.0/gentoo/106_all_libstdcxx-no-vtv.patch b/5.4.0/gentoo/106_all_libstdcxx-no-vtv.patch
new file mode 100644
index 0000000..68508bd
--- /dev/null
+++ b/5.4.0/gentoo/106_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/5.4.0/gentoo/README.history b/5.4.0/gentoo/README.history
index e57705f..d6a6946 100644
--- a/5.4.0/gentoo/README.history
+++ b/5.4.0/gentoo/README.history
@@ -1,11 +1,12 @@
 1.11		TODO
+	+ 99_all_remove-lieee.patch
 	+ 100_all_libgfortran-Werror.patch
 	+ 101_all_libgomp-Werror.patch
 	+ 102_all_libitm-Werror.patch
 	+ 103_all_libatomic-Werror.patch
 	+ 104_all_libbacktrace-Werror.patch
 	+ 105_all_libsanitizer-libbacktrace-Werror.patch
-	+ 99_all_remove-lieee.patch
+	+ 106_all_libstdcxx-no-vtv.patch
 
 1.10		23 Sep 2018
 	+ 98_all_respect-build-cxxflags.patch


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-10-27 19:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-27 11:23 [gentoo-commits] proj/gcc-patches:master commit in: 5.4.0/gentoo/ Sergei Trofimovich
  -- strict thread matches above, loose matches on Subject: below --
2018-10-27 19:12 Sergei Trofimovich
2018-10-27 19:12 Sergei Trofimovich
2018-10-19  6:30 Sergei Trofimovich
2018-09-23 21:21 Sergei Trofimovich
2018-08-25 17:39 Sergei Trofimovich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox