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: 8.3.0/gentoo/
Date: Mon, 04 Nov 2019 22:37:46
Message-Id: 1572907032.39178e83208513117241da885ef83e20ccbe2a44.slyfox@gentoo
1 commit: 39178e83208513117241da885ef83e20ccbe2a44
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 4 22:37:12 2019 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 4 22:37:12 2019 +0000
6 URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=39178e83
7
8 8.3.0: disable riscv32 ABIs
9
10 Currently glibc does not support riscv32.
11
12 Bug: https://gcc.gnu.org/PR90419
13 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
14
15 8.3.0/gentoo/32_all_disable-riscv32-ABIs.patch | 28 ++++++++++++++++++++++++++
16 8.3.0/gentoo/README.history | 3 +++
17 2 files changed, 31 insertions(+)
18
19 diff --git a/8.3.0/gentoo/32_all_disable-riscv32-ABIs.patch b/8.3.0/gentoo/32_all_disable-riscv32-ABIs.patch
20 new file mode 100644
21 index 0000000..52476e6
22 --- /dev/null
23 +++ b/8.3.0/gentoo/32_all_disable-riscv32-ABIs.patch
24 @@ -0,0 +1,28 @@
25 +https://gcc.gnu.org/PR90419
26 +
27 +--- gcc-8.3.0.orig/gcc/config/riscv/t-linux-multilib 2017-02-06 22:38:37.000000000 +0100
28 ++++ gcc-8.3.0/gcc/config/riscv/t-linux-multilib 2019-04-28 16:37:44.377841943 +0200
29 +@@ -20,21 +20,9 @@
30 + ilp32d \
31 + lp64 \
32 + lp64d
33 +-MULTILIB_REQUIRED = march=rv32imac/mabi=ilp32 \
34 +-march=rv32imafdc/mabi=ilp32d \
35 +-march=rv64imac/mabi=lp64 \
36 ++MULTILIB_REQUIRED = march=rv64imac/mabi=lp64 \
37 + march=rv64imafdc/mabi=lp64d
38 +-MULTILIB_REUSE = march.rv32imac/mabi.ilp32=march.rv32ima/mabi.ilp32 \
39 +-march.rv32imac/mabi.ilp32=march.rv32imaf/mabi.ilp32 \
40 +-march.rv32imac/mabi.ilp32=march.rv32imafd/mabi.ilp32 \
41 +-march.rv32imac/mabi.ilp32=march.rv32imafc/mabi.ilp32 \
42 +-march.rv32imac/mabi.ilp32=march.rv32imafdc/mabi.ilp32 \
43 +-march.rv32imac/mabi.ilp32=march.rv32g/mabi.ilp32 \
44 +-march.rv32imac/mabi.ilp32=march.rv32gc/mabi.ilp32 \
45 +-march.rv32imafdc/mabi.ilp32d=march.rv32imafd/mabi.ilp32d \
46 +-march.rv32imafdc/mabi.ilp32d=march.rv32gc/mabi.ilp32d \
47 +-march.rv32imafdc/mabi.ilp32d=march.rv32g/mabi.ilp32d \
48 +-march.rv64imac/mabi.lp64=march.rv64ima/mabi.lp64 \
49 ++MULTILIB_REUSE = march.rv64imac/mabi.lp64=march.rv64ima/mabi.lp64 \
50 + march.rv64imac/mabi.lp64=march.rv64imaf/mabi.lp64 \
51 + march.rv64imac/mabi.lp64=march.rv64imafd/mabi.lp64 \
52 + march.rv64imac/mabi.lp64=march.rv64imafc/mabi.lp64 \
53
54 diff --git a/8.3.0/gentoo/README.history b/8.3.0/gentoo/README.history
55 index 94ff87a..6ede7c5 100644
56 --- a/8.3.0/gentoo/README.history
57 +++ b/8.3.0/gentoo/README.history
58 @@ -1,3 +1,6 @@
59 +4 TODO
60 + + 32_all_disable-riscv32-ABIs.patch
61 +
62 3 04 Not 2019
63 - 30_all_sparc-PIC-constant-PR91472.patch