Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gcc-patches:master commit in: 4.7.4/gentoo/
Date: Mon, 30 Dec 2019 11:41:49
Message-Id: 1577706076.0fd9a7b2c931a36b23ca11e55874f1633a056b68.slyfox@gentoo
1 commit: 0fd9a7b2c931a36b23ca11e55874f1633a056b68
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 30 11:41:16 2019 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 30 11:41:16 2019 +0000
6 URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=0fd9a7b2
7
8 4.7.4: fix build failure against gcc-9.2.0 (thread_local name collision)
9
10 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
11
12 4.7.4/gentoo/97_all_remove-thread_local.patch | 23 +++++++++++++++++++++++
13 4.7.4/gentoo/README.history | 3 +++
14 2 files changed, 26 insertions(+)
15
16 diff --git a/4.7.4/gentoo/97_all_remove-thread_local.patch b/4.7.4/gentoo/97_all_remove-thread_local.patch
17 new file mode 100644
18 index 0000000..b71b307
19 --- /dev/null
20 +++ b/4.7.4/gentoo/97_all_remove-thread_local.patch
21 @@ -0,0 +1,23 @@
22 +From 4f364235dcb67b1953b21be78391110b4c633e1b Mon Sep 17 00:00:00 2001
23 +From: jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
24 +Date: Tue, 5 Feb 2013 15:56:20 +0000
25 +Subject: [PATCH] * tree.h (struct tree_decl_with_vis): Remove
26 + thread_local field.
27 +
28 +git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195762 138bc75d-0d04-0410-961f-82ee72b054a4
29 +--- a/gcc/tree.h
30 ++++ b/gcc/tree.h
31 +@@ -3198,13 +3198,12 @@ struct GTY(()) tree_decl_with_vis {
32 + /* Belong to VAR_DECL exclusively. */
33 + unsigned defer_output : 1;
34 + unsigned hard_register : 1;
35 +- unsigned thread_local : 1;
36 + unsigned common_flag : 1;
37 + unsigned in_text_section : 1;
38 + unsigned in_constant_pool : 1;
39 + unsigned dllimport_flag : 1;
40 + /* Don't belong to VAR_DECL exclusively. */
41 + unsigned weak_flag : 1;
42 +
43 + unsigned seen_in_bind_expr : 1;
44 + unsigned comdat_flag : 1;
45
46 diff --git a/4.7.4/gentoo/README.history b/4.7.4/gentoo/README.history
47 index 0e6aef1..985d80b 100644
48 --- a/4.7.4/gentoo/README.history
49 +++ b/4.7.4/gentoo/README.history
50 @@ -1,3 +1,6 @@
51 +2 TODO
52 + + 97_all_remove-thread_local.patch
53 +
54 1.6 1 Jun 2019
55 + 96_all_libjava-ucontext.patch