public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/gcc-patches:master commit in: 4.9.4/gentoo/
@ 2020-10-02  9:33 Sergei Trofimovich
  0 siblings, 0 replies; 10+ messages in thread
From: Sergei Trofimovich @ 2020-10-02  9:33 UTC (permalink / raw
  To: gentoo-commits

commit:     0ca68948b5f9ca6b9703e7e9287236e80aa196e5
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  2 09:30:11 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Oct  2 09:30:11 2020 +0000
URL:        https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=0ca68948

4.9.4: mark branch as abandoned

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

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

diff --git a/4.9.4/gentoo/README.history b/4.9.4/gentoo/README.history
index fe06197..772fd57 100644
--- a/4.9.4/gentoo/README.history
+++ b/4.9.4/gentoo/README.history
@@ -1,4 +1,4 @@
-4		TODO
+4		Abandoned
 	+ 105_all_plugin-objdump.patch
 
 3		1 Aug 2020


^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [gentoo-commits] proj/gcc-patches:master commit in: 4.9.4/gentoo/
@ 2020-08-28 19:03 Sergei Trofimovich
  0 siblings, 0 replies; 10+ messages in thread
From: Sergei Trofimovich @ 2020-08-28 19:03 UTC (permalink / raw
  To: gentoo-commits

commit:     8c55e39248c6290c15762fc0ae6e8aae93ff0df1
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 28 19:02:33 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Aug 28 19:02:33 2020 +0000
URL:        https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=8c55e392

4.9.4: backport 'objdump' lookup for plugins

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

 4.9.4/gentoo/105_all_plugin-objdump.patch | 34 +++++++++++++++++++++++++++++++
 4.9.4/gentoo/README.history               |  3 +++
 2 files changed, 37 insertions(+)

diff --git a/4.9.4/gentoo/105_all_plugin-objdump.patch b/4.9.4/gentoo/105_all_plugin-objdump.patch
new file mode 100644
index 0000000..a9c33fd
--- /dev/null
+++ b/4.9.4/gentoo/105_all_plugin-objdump.patch
@@ -0,0 +1,34 @@
+https://gcc.gnu.org/PR95648
+--- a/config/gcc-plugin.m4
++++ b/config/gcc-plugin.m4
+@@ -45,7 +45,7 @@ AC_DEFUN([GCC_ENABLE_PLUGINS],
+      ;;
+      *)
+        if test x$build = x$host; then
+-	 export_sym_check="objdump${exeext} -T"
++	 export_sym_check="$ac_cv_prog_OBJDUMP -T"
+        elif test x$host = x$target; then
+ 	 export_sym_check="$gcc_cv_objdump -T"
+        else
+--- a/gcc/configure
++++ b/gcc/configure
+@@ -30386,7 +30386,7 @@ fi
+      ;;
+      *)
+        if test x$build = x$host; then
+-	 export_sym_check="objdump${exeext} -T"
++	 export_sym_check="$ac_cv_prog_OBJDUMP -T"
+        elif test x$host = x$target; then
+ 	 export_sym_check="$gcc_cv_objdump -T"
+        else
+--- a/libcc1/configure
++++ b/libcc1/configure
+@@ -14819,7 +14819,7 @@ fi
+      ;;
+      *)
+        if test x$build = x$host; then
+-	 export_sym_check="objdump${exeext} -T"
++	 export_sym_check="$ac_cv_prog_OBJDUMP -T"
+        elif test x$host = x$target; then
+ 	 export_sym_check="$gcc_cv_objdump -T"
+        else

diff --git a/4.9.4/gentoo/README.history b/4.9.4/gentoo/README.history
index db046cd..fe06197 100644
--- a/4.9.4/gentoo/README.history
+++ b/4.9.4/gentoo/README.history
@@ -1,3 +1,6 @@
+4		TODO
+	+ 105_all_plugin-objdump.patch
+
 3		1 Aug 2020
 	+ 104_all_gcc-c++17.patch
 


^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [gentoo-commits] proj/gcc-patches:master commit in: 4.9.4/gentoo/
@ 2020-08-01  9:37 Sergei Trofimovich
  0 siblings, 0 replies; 10+ messages in thread
From: Sergei Trofimovich @ 2020-08-01  9:37 UTC (permalink / raw
  To: gentoo-commits

commit:     a1414c48febaa456b7ca927b9b39fc21415ef12b
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Aug  1 09:34:54 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Aug  1 09:34:54 2020 +0000
URL:        https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=a1414c48

4.9.4: cut 3 patchset

Single new patch to be buildable with c++17.

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

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

diff --git a/4.9.4/gentoo/README.history b/4.9.4/gentoo/README.history
index 34868a4..db046cd 100644
--- a/4.9.4/gentoo/README.history
+++ b/4.9.4/gentoo/README.history
@@ -1,4 +1,4 @@
-3		TODO
+3		1 Aug 2020
 	+ 104_all_gcc-c++17.patch
 
 2		29 May 2020


^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [gentoo-commits] proj/gcc-patches:master commit in: 4.9.4/gentoo/
@ 2020-07-24  9:01 Sergei Trofimovich
  0 siblings, 0 replies; 10+ messages in thread
From: Sergei Trofimovich @ 2020-07-24  9:01 UTC (permalink / raw
  To: gentoo-commits

commit:     dd1d98b2d98f4b5b4015cd31fe41311ee9eb9549
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 24 08:59:48 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Jul 24 08:59:48 2020 +0000
URL:        https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=dd1d98b2

4.9.4: tweak to build against gcc-11

One new patch:
+ 104_all_gcc-c++17.patch: avoid use of '++' on 'bool'.

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

 4.9.4/gentoo/104_all_gcc-c++17.patch | 12 ++++++++++++
 4.9.4/gentoo/README.history          |  3 +++
 2 files changed, 15 insertions(+)

diff --git a/4.9.4/gentoo/104_all_gcc-c++17.patch b/4.9.4/gentoo/104_all_gcc-c++17.patch
new file mode 100644
index 0000000..d940d4c
--- /dev/null
+++ b/4.9.4/gentoo/104_all_gcc-c++17.patch
@@ -0,0 +1,12 @@
+Fix compatibility with c++17
+--- a/gcc/reload.h
++++ b/gcc/reload.h
+@@ -168,7 +168,7 @@ struct target_reload {
+      value indicates the level of indirect addressing supported, e.g., two
+      means that (MEM (MEM (REG n))) is also valid if (REG n) does not get
+      a hard register.  */
+-  bool x_spill_indirect_levels;
++  unsigned char x_spill_indirect_levels;
+ 
+   /* True if caller-save has been reinitialized.  */
+   bool x_caller_save_initialized_p;

diff --git a/4.9.4/gentoo/README.history b/4.9.4/gentoo/README.history
index 12ffe1f..34868a4 100644
--- a/4.9.4/gentoo/README.history
+++ b/4.9.4/gentoo/README.history
@@ -1,3 +1,6 @@
+3		TODO
+	+ 104_all_gcc-c++17.patch
+
 2		29 May 2020
 	+ 102_all_ustat-sparc.patch
 	+ 103_all_whitespace-pa.patch


^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [gentoo-commits] proj/gcc-patches:master commit in: 4.9.4/gentoo/
@ 2020-05-29 21:27 Sergei Trofimovich
  0 siblings, 0 replies; 10+ messages in thread
From: Sergei Trofimovich @ 2020-05-29 21:27 UTC (permalink / raw
  To: gentoo-commits

commit:     eea76ed39d12aea368fa1d0ae9429d5a623c7a71
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri May 29 21:22:22 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri May 29 21:22:22 2020 +0000
URL:        https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=eea76ed3

4.9.4: cut 2 patchset

Two new patches:
+ 102_all_ustat-sparc.patch: tweak asan for moder glibc
+ 103_all_whitespace-pa.patch: backport whitespace change

Reported-by: Jeroen Roovers
Bug: https://bugs.gentoo.org/725676
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 4.9.4/gentoo/README.history | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/4.9.4/gentoo/README.history b/4.9.4/gentoo/README.history
index e127492..12ffe1f 100644
--- a/4.9.4/gentoo/README.history
+++ b/4.9.4/gentoo/README.history
@@ -1,4 +1,4 @@
-2		TODO
+2		29 May 2020
 	+ 102_all_ustat-sparc.patch
 	+ 103_all_whitespace-pa.patch
 
@@ -9,12 +9,15 @@
 
 1.3		12 Jan 2018
 	+ 98_all_libjava-ucontext.patch
+
 1.2		27 Oct 2017
 	+ 95_all_asan-signal_h.patch
 	+ 96_all_ucontext-to-ucontext_t.patch
 	+ 97_all_no-sigaltstack.patch
+
 1.1		06 Aug 2017
 	+ 94_all_compatibility_fix_with_perl_5.26.patch
+
 1.0		14 Aug 2016
 	+ 09_all_default-ssp.patch
 	+ 10_all_default-fortify-source.patch


^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [gentoo-commits] proj/gcc-patches:master commit in: 4.9.4/gentoo/
@ 2020-05-29 21:27 Sergei Trofimovich
  0 siblings, 0 replies; 10+ messages in thread
From: Sergei Trofimovich @ 2020-05-29 21:27 UTC (permalink / raw
  To: gentoo-commits

commit:     aa9c51332bdf9ffad64ef02bcab3cc38205b7f46
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri May 29 20:59:12 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri May 29 20:59:12 2020 +0000
URL:        https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=aa9c5133

4.9.4: backport whitespace change

Reported-by: Jeroen Roovers
Bug: https://bugs.gentoo.org/725676
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 4.9.4/gentoo/103_all_whitespace-pa.patch | 28 ++++++++++++++++++++++++++++
 4.9.4/gentoo/README.history              |  1 +
 2 files changed, 29 insertions(+)

diff --git a/4.9.4/gentoo/103_all_whitespace-pa.patch b/4.9.4/gentoo/103_all_whitespace-pa.patch
new file mode 100644
index 0000000..9c65b29
--- /dev/null
+++ b/4.9.4/gentoo/103_all_whitespace-pa.patch
@@ -0,0 +1,28 @@
+From bd7a5c5dc082707dd62083514bbb88c6f78e5bdb Mon Sep 17 00:00:00 2001
+From: John David Anglin <danglin@gcc.gnu.org>
+Date: Fri, 20 Sep 2019 21:47:56 +0000
+Subject: [PATCH] pa.c (pa_trampoline_init): Remove spurious extended
+ character.
+
+	* config/pa/pa.c (pa_trampoline_init): Remove spurious extended
+	character.
+
+From-SVN: r276007
+---
+ gcc/config/pa/pa.c | 2 +-
+
+--- a/gcc/config/pa/pa.c
++++ b/gcc/config/pa/pa.c
+@@ -10152,7 +10152,7 @@ pa_trampoline_init (rtx m_tramp, tree fndecl, rtx chain_value)
+     }
+ 
+ #ifdef HAVE_ENABLE_EXECUTE_STACK
+-  emit_library_call (gen_rtx_SYMBOL_REF (Pmode, "__enable_execute_stack"),
+-		     LCT_NORMAL, VOIDmode, 1, XEXP (m_tramp, 0), Pmode);
++  emit_library_call (gen_rtx_SYMBOL_REF (Pmode, "__enable_execute_stack"),
++		      LCT_NORMAL, VOIDmode, 1, XEXP (m_tramp, 0), Pmode);
+ #endif
+ }
+-- 
+2.25.0
+

diff --git a/4.9.4/gentoo/README.history b/4.9.4/gentoo/README.history
index 7ed72a8..e127492 100644
--- a/4.9.4/gentoo/README.history
+++ b/4.9.4/gentoo/README.history
@@ -1,5 +1,6 @@
 2		TODO
 	+ 102_all_ustat-sparc.patch
+	+ 103_all_whitespace-pa.patch
 
 1.4		1 Jun 2019
 	+ 99_all_remove-lieee.patch


^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [gentoo-commits] proj/gcc-patches:master commit in: 4.9.4/gentoo/
@ 2020-01-08  8:19 Sergei Trofimovich
  0 siblings, 0 replies; 10+ messages in thread
From: Sergei Trofimovich @ 2020-01-08  8:19 UTC (permalink / raw
  To: gentoo-commits

commit:     2dbd672ae7da4a9a12b8eea686d1f66f339e6d0e
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  8 08:18:36 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Jan  8 08:18:36 2020 +0000
URL:        https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=2dbd672a

9.4.9: backport ustat size for asan on __sparc__

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

 4.9.4/gentoo/102_all_ustat-sparc.patch | 27 +++++++++++++++++++++++++++
 4.9.4/gentoo/README.history            |  3 +++
 2 files changed, 30 insertions(+)

diff --git a/4.9.4/gentoo/102_all_ustat-sparc.patch b/4.9.4/gentoo/102_all_ustat-sparc.patch
new file mode 100644
index 0000000..98cc48b
--- /dev/null
+++ b/4.9.4/gentoo/102_all_ustat-sparc.patch
@@ -0,0 +1,27 @@
+From 27453e962b3fe2f918c5105b2a48ec3e92d4c873 Mon Sep 17 00:00:00 2001
+From: doko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>
+Date: Thu, 31 May 2018 09:57:33 +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/trunk@260990 138bc75d-0d04-0410-961f-82ee72b054a4
+---
+
+--- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc
++++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc
+@@ -256,7 +256,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.24.1
+

diff --git a/4.9.4/gentoo/README.history b/4.9.4/gentoo/README.history
index 0d5fc99..7ed72a8 100644
--- a/4.9.4/gentoo/README.history
+++ b/4.9.4/gentoo/README.history
@@ -1,3 +1,6 @@
+2		TODO
+	+ 102_all_ustat-sparc.patch
+
 1.4		1 Jun 2019
 	+ 99_all_remove-lieee.patch
 	+ 100_all_avoid-ustat-glibc-2.28.patch


^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [gentoo-commits] proj/gcc-patches:master commit in: 4.9.4/gentoo/
@ 2019-06-01  8:23 Sergei Trofimovich
  0 siblings, 0 replies; 10+ messages in thread
From: Sergei Trofimovich @ 2019-06-01  8:23 UTC (permalink / raw
  To: gentoo-commits

commit:     2fdc35a11089b01b830f8ea33a6e8b2e61c4fab6
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Jun  1 08:22:21 2019 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Jun  1 08:22:21 2019 +0000
URL:        https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=2fdc35a1

4.9.4: cut 1.4 patchset

Three new patches:
99_all_remove-lieee.patch: don't require empty libieee presence on glibc.
100_all_avoid-ustat-glibc-2.28.patch: fix libsanitizer build against glibc-2.28
101_all_libsanitizer-libbacktrace-Werror.patch: drop -Werror

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

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

diff --git a/4.9.4/gentoo/README.history b/4.9.4/gentoo/README.history
index 3ddedc0..0d5fc99 100644
--- a/4.9.4/gentoo/README.history
+++ b/4.9.4/gentoo/README.history
@@ -1,4 +1,4 @@
-1.4		TODO
+1.4		1 Jun 2019
 	+ 99_all_remove-lieee.patch
 	+ 100_all_avoid-ustat-glibc-2.28.patch
 	+ 101_all_libsanitizer-libbacktrace-Werror.patch


^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [gentoo-commits] proj/gcc-patches:master commit in: 4.9.4/gentoo/
@ 2019-06-01  7:02 Sergei Trofimovich
  0 siblings, 0 replies; 10+ messages in thread
From: Sergei Trofimovich @ 2019-06-01  7:02 UTC (permalink / raw
  To: gentoo-commits

commit:     55fcb515620a8f7d3bb77eba938aa0fcf0d67c96
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Jun  1 07:02:02 2019 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Jun  1 07:02:02 2019 +0000
URL:        https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=55fcb515

4.9.4: backport ustat.h removal fir gcc-4.9.4

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

 4.9.4/gentoo/100_all_avoid-ustat-glibc-2.28.patch  | 71 ++++++++++++++++++++++
 .../101_all_libsanitizer-libbacktrace-Werror.patch | 17 ++++++
 4.9.4/gentoo/README.history                        |  2 +
 3 files changed, 90 insertions(+)

diff --git a/4.9.4/gentoo/100_all_avoid-ustat-glibc-2.28.patch b/4.9.4/gentoo/100_all_avoid-ustat-glibc-2.28.patch
new file mode 100644
index 0000000..e9797e4
--- /dev/null
+++ b/4.9.4/gentoo/100_all_avoid-ustat-glibc-2.28.patch
@@ -0,0 +1,71 @@
+https://github.com/buildroot/buildroot/commit/6b33b7ba517bee4d88af9b1827201df923b4a600.patch
+
+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
+
+Backported from upstream commit
+https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=61f38c64c01a15560026115a157b7021ec67bd3b
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+---
+ libsanitizer/ChangeLog                                    |  8 ++++++++
+ .../sanitizer_common/sanitizer_platform_limits_posix.cc   | 15 +++++++++++++--
+ 2 files changed, 21 insertions(+), 2 deletions(-)
+
+--- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc
++++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc
+@@ -81,7 +89,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>
+@@ -163,7 +170,19 @@
+   unsigned struct_old_utsname_sz = sizeof(struct old_utsname);
+   unsigned struct_oldold_utsname_sz = sizeof(struct oldold_utsname);
+   unsigned struct_itimerspec_sz = sizeof(struct itimerspec);
+-  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;
+ #endif // SANITIZER_LINUX
+ 
+ #if SANITIZER_LINUX && !SANITIZER_ANDROID
+-- 
+2.9.3

diff --git a/4.9.4/gentoo/101_all_libsanitizer-libbacktrace-Werror.patch b/4.9.4/gentoo/101_all_libsanitizer-libbacktrace-Werror.patch
new file mode 100644
index 0000000..46a219a
--- /dev/null
+++ b/4.9.4/gentoo/101_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/4.9.4/gentoo/README.history b/4.9.4/gentoo/README.history
index 67c7a25..3ddedc0 100644
--- a/4.9.4/gentoo/README.history
+++ b/4.9.4/gentoo/README.history
@@ -1,5 +1,7 @@
 1.4		TODO
 	+ 99_all_remove-lieee.patch
+	+ 100_all_avoid-ustat-glibc-2.28.patch
+	+ 101_all_libsanitizer-libbacktrace-Werror.patch
 
 1.3		12 Jan 2018
 	+ 98_all_libjava-ucontext.patch


^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [gentoo-commits] proj/gcc-patches:master commit in: 4.9.4/gentoo/
@ 2018-10-19 22:26 Sergei Trofimovich
  0 siblings, 0 replies; 10+ messages in thread
From: Sergei Trofimovich @ 2018-10-19 22:26 UTC (permalink / raw
  To: gentoo-commits

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

4.9.4: drop assumed -lieee from -mieee-fp

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

 4.9.4/gentoo/99_all_remove-lieee.patch | 47 ++++++++++++++++++++++++++++++++++
 4.9.4/gentoo/README.history            |  3 +++
 2 files changed, 50 insertions(+)

diff --git a/4.9.4/gentoo/99_all_remove-lieee.patch b/4.9.4/gentoo/99_all_remove-lieee.patch
new file mode 100644
index 0000000..390a3b0
--- /dev/null
+++ b/4.9.4/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/4.9.4/gentoo/README.history b/4.9.4/gentoo/README.history
index eec3b4a..67c7a25 100644
--- a/4.9.4/gentoo/README.history
+++ b/4.9.4/gentoo/README.history
@@ -1,3 +1,6 @@
+1.4		TODO
+	+ 99_all_remove-lieee.patch
+
 1.3		12 Jan 2018
 	+ 98_all_libjava-ucontext.patch
 1.2		27 Oct 2017


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

end of thread, other threads:[~2020-10-02  9:33 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-02  9:33 [gentoo-commits] proj/gcc-patches:master commit in: 4.9.4/gentoo/ Sergei Trofimovich
  -- strict thread matches above, loose matches on Subject: below --
2020-08-28 19:03 Sergei Trofimovich
2020-08-01  9:37 Sergei Trofimovich
2020-07-24  9:01 Sergei Trofimovich
2020-05-29 21:27 Sergei Trofimovich
2020-05-29 21:27 Sergei Trofimovich
2020-01-08  8:19 Sergei Trofimovich
2019-06-01  8:23 Sergei Trofimovich
2019-06-01  7:02 Sergei Trofimovich
2018-10-19 22:26 Sergei Trofimovich

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