commit: 5e0282f09dd17cd6af3a668d1c38b15c388aeba2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> AuthorDate: Sat Jun 1 07:37:13 2019 +0000 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> CommitDate: Sat Jun 1 07:37:13 2019 +0000 URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=5e0282f0
9.1.0: disable riscv32 ABIs Currently glibc does not support riscv32. Bug: https://gcc.gnu.org/PR90419 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> 9.1.0/gentoo/28_all_disable-riscv32-ABIs.patch | 53 ++++++++++++++++++++++++++ 9.1.0/gentoo/README.history | 1 + 2 files changed, 54 insertions(+) diff --git a/9.1.0/gentoo/28_all_disable-riscv32-ABIs.patch b/9.1.0/gentoo/28_all_disable-riscv32-ABIs.patch new file mode 100644 index 0000000..ad0128a --- /dev/null +++ b/9.1.0/gentoo/28_all_disable-riscv32-ABIs.patch @@ -0,0 +1,53 @@ +Autogenerated patch disabling the 32bit RISCV support +See https://gcc.gnu.org/PR90419 + +diff -ruN gcc-9.1.0.orig/gcc/config/riscv/t-linux-multilib gcc-9.1.0/gcc/config/riscv/t-linux-multilib +--- gcc-9.1.0.orig/gcc/config/riscv/t-linux-multilib 2017-02-06 22:38:37.000000000 +0100 ++++ gcc-9.1.0/gcc/config/riscv/t-linux-multilib 2019-05-18 23:04:54.849400774 +0200 +@@ -1,40 +1,18 @@ + # This file was generated by multilib-generator with the command: +-# ./multilib-generator rv32imac-ilp32-rv32ima,rv32imaf,rv32imafd,rv32imafc,rv32imafdc- rv32imafdc-ilp32d-rv32imafd- rv64imac-lp64-rv64ima,rv64imaf,rv64imafd,rv64imafc,rv64imafdc- rv64imafdc-lp64d-rv64imafd- +-MULTILIB_OPTIONS = march=rv32imac/march=rv32ima/march=rv32imaf/march=rv32imafd/march=rv32imafc/march=rv32imafdc/march=rv32g/march=rv32gc/march=rv64imac/march=rv64ima/march=rv64imaf/march=rv64imafd/march=rv64imafc/march=rv64imafdc/march=rv64g/march=rv64gc mabi=ilp32/mabi=ilp32d/mabi=lp64/mabi=lp64d +-MULTILIB_DIRNAMES = rv32imac \ +-rv32ima \ +-rv32imaf \ +-rv32imafd \ +-rv32imafc \ +-rv32imafdc \ +-rv32g \ +-rv32gc \ +-rv64imac \ ++# ./multilib-generator rv64imac-lp64-rv64ima,rv64imaf,rv64imafd,rv64imafc,rv64imafdc- rv64imafdc-lp64d-rv64imafd- ++MULTILIB_OPTIONS = march=rv64imac/march=rv64ima/march=rv64imaf/march=rv64imafd/march=rv64imafc/march=rv64imafdc/march=rv64g/march=rv64gc mabi=lp64/mabi=lp64d ++MULTILIB_DIRNAMES = rv64imac \ + rv64ima \ + rv64imaf \ + rv64imafd \ + rv64imafc \ + rv64imafdc \ + rv64g \ +-rv64gc ilp32 \ +-ilp32d \ +-lp64 \ ++rv64gc lp64 \ + lp64d +-MULTILIB_REQUIRED = march=rv32imac/mabi=ilp32 \ +-march=rv32imafdc/mabi=ilp32d \ +-march=rv64imac/mabi=lp64 \ ++MULTILIB_REQUIRED = march=rv64imac/mabi=lp64 \ + march=rv64imafdc/mabi=lp64d +-MULTILIB_REUSE = march.rv32imac/mabi.ilp32=march.rv32ima/mabi.ilp32 \ +-march.rv32imac/mabi.ilp32=march.rv32imaf/mabi.ilp32 \ +-march.rv32imac/mabi.ilp32=march.rv32imafd/mabi.ilp32 \ +-march.rv32imac/mabi.ilp32=march.rv32imafc/mabi.ilp32 \ +-march.rv32imac/mabi.ilp32=march.rv32imafdc/mabi.ilp32 \ +-march.rv32imac/mabi.ilp32=march.rv32g/mabi.ilp32 \ +-march.rv32imac/mabi.ilp32=march.rv32gc/mabi.ilp32 \ +-march.rv32imafdc/mabi.ilp32d=march.rv32imafd/mabi.ilp32d \ +-march.rv32imafdc/mabi.ilp32d=march.rv32gc/mabi.ilp32d \ +-march.rv32imafdc/mabi.ilp32d=march.rv32g/mabi.ilp32d \ +-march.rv64imac/mabi.lp64=march.rv64ima/mabi.lp64 \ ++MULTILIB_REUSE = march.rv64imac/mabi.lp64=march.rv64ima/mabi.lp64 \ + march.rv64imac/mabi.lp64=march.rv64imaf/mabi.lp64 \ + march.rv64imac/mabi.lp64=march.rv64imafd/mabi.lp64 \ + march.rv64imac/mabi.lp64=march.rv64imafc/mabi.lp64 \ diff --git a/9.1.0/gentoo/README.history b/9.1.0/gentoo/README.history index d85c980..737fa71 100644 --- a/9.1.0/gentoo/README.history +++ b/9.1.0/gentoo/README.history @@ -1,6 +1,7 @@ 1.1 TODO + 26_all_ipa-incomplete.patch + 27_all_es-po.patch + + 28_all_disable-riscv32-ABIs.patch 1.0 03 May 2019 + 01_all_default-fortify-source.patch