commit: 0fd9a7b2c931a36b23ca11e55874f1633a056b68
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 30 11:41:16 2019 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Mon Dec 30 11:41:16 2019 +0000
URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=0fd9a7b2
4.7.4: fix build failure against gcc-9.2.0 (thread_local name collision)
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
4.7.4/gentoo/97_all_remove-thread_local.patch | 23 +++++++++++++++++++++++
4.7.4/gentoo/README.history | 3 +++
2 files changed, 26 insertions(+)
diff --git a/4.7.4/gentoo/97_all_remove-thread_local.patch
b/4.7.4/gentoo/97_all_remove-thread_local.patch
new file mode 100644
index 0000000..b71b307
--- /dev/null
+++ b/4.7.4/gentoo/97_all_remove-thread_local.patch
@@ -0,0 +1,23 @@
+From 4f364235dcb67b1953b21be78391110b4c633e1b Mon Sep 17 00:00:00 2001
+From: jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
+Date: Tue, 5 Feb 2013 15:56:20 +0000
+Subject: [PATCH] * tree.h (struct tree_decl_with_vis): Remove
+ thread_local field.
+
+git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195762
138bc75d-0d04-0410-961f-82ee72b054a4
+--- a/gcc/tree.h
++++ b/gcc/tree.h
+@@ -3198,13 +3198,12 @@ struct GTY(()) tree_decl_with_vis {
+ /* Belong to VAR_DECL exclusively. */
+ unsigned defer_output : 1;
+ unsigned hard_register : 1;
+- unsigned thread_local : 1;
+ unsigned common_flag : 1;
+ unsigned in_text_section : 1;
+ unsigned in_constant_pool : 1;
+ unsigned dllimport_flag : 1;
+ /* Don't belong to VAR_DECL exclusively. */
+ unsigned weak_flag : 1;
+
+ unsigned seen_in_bind_expr : 1;
+ unsigned comdat_flag : 1;
diff --git a/4.7.4/gentoo/README.history b/4.7.4/gentoo/README.history
index 0e6aef1..985d80b 100644
--- a/4.7.4/gentoo/README.history
+++ b/4.7.4/gentoo/README.history
@@ -1,3 +1,6 @@
+2 TODO
+ + 97_all_remove-thread_local.patch
+
1.6 1 Jun 2019
+ 96_all_libjava-ucontext.patch