This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[RFC v1 16/16] Add RISC-V 32-bit target to build-many-glibcs.py
- From: Alistair Francis <alistair dot francis at wdc dot com>
- To: libc-alpha at sourceware dot org
- Cc: alistair dot francis at wdc dot com, alistair23 at gmail dot com
- Date: Fri, 21 Jun 2019 21:37:54 -0700
- Subject: [RFC v1 16/16] Add RISC-V 32-bit target to build-many-glibcs.py
- Ironport-sdr: oraL1HUXa5l6tD2Hg8zri90wBfIWZGbkqXBiQ4yILGR88XoErAdXxI/yUgqhSlpXrOYzPS6kVq gxEo9jKmkNEhrSvS8GNWC8hPmf+MZeAi/GZ0FmaeWUIl3Bh4nopfGLRlLimPm2xbg8oumzmw/c bVR+JR6wniFyOjlAsLWhdvLmQCmPq4sydslXhW5RoVfdZHFn1DCIUWMxDLRUZr38XpuZn2uHzW +2HjhdU9RpfTbEmXe4rpVCRTsaVVaKXL0YhCnmhQoP9+ZPXK1CkiavXf9qeHC0er49u1+XNz5Q EJf+RLAx7IV0HsSAsK29z1/t
- Ironport-sdr: 9HzIVhfJKH3KSY6xAjodhpFk6ZWWsSBjofNUhD64oKuHjCdBbtJqQZ+FADX+27CrR8buAFHJsB PBKfWPCws8oxyAFfJQF8BRCcSnzH23crd+ylSfQ7kqVkvW36XxNblcc7XNrItf3tuq7jhhbyZr MpfFOf6FpP7vyzBka246SH+w8ge4Guo7NLi4DErTRZCICaYDUWBeprh2MSJk/o9yUGgg0I/jta D/E+SqbV2Vq3Ur8Vhvtid9ox4sCW479WV3yj6GNtFxyMm3UDoWvj70B4CVXVFCU04rspJRuhvQ klk=
- References: <cover.1561177967.git.alistair.francis@wdc.com>
From: Zong Li <zongbox@gmail.com>
Support building three variant of 32 bit RISC-V glibc as follows:
- riscv32-linux-gnu-rv32imac-ilp32
- riscv32-linux-gnu-rv32imafdc-ilp32
- riscv32-linux-gnu-rv32imafdc-ilp32d
2018-11-29 Zong Li <zong@andestech.com>
* scripts/build-many-glibcs.py (Context): Add rv32 targets.
---
ChangeLog | 11 +++++++++++
scripts/build-many-glibcs.py | 15 +++++++++++++++
2 files changed, 26 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 61984154e0..320a5e701c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -102,6 +102,17 @@
* sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
* sysdeps/riscv/preconfigure: Likewise.
* sysdeps/riscv/rv32/fix-fp-int-convert-overflow.h: New file.
+ * sysdeps/riscv/rv32/Implies-after: New file.
+ * sysdeps/riscv/rv32/rvd/Implies: Likewise.
+ * sysdeps/riscv/rv32/rvf/Implies: Likewise.
+ * sysdeps/unix/sysv/linux/riscv/rv32/Implies: Likewise.
+ * sysdeps/unix/sysv/linux/riscv/Makefile: Support rv32.
+ * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
+ * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
+ * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
+ * sysdeps/riscv/preconfigure: Likewise.
+ * sysdeps/riscv/rv32/fix-fp-int-convert-overflow.h: New file.
+ * scripts/build-many-glibcs.py (Context): Add rv32 targets.
2019-06-20 Dmitry V. Levin <ldv@altlinux.org>
Florian Weimer <fweimer@redhat.com>
diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
index c5821df25e..5923371149 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -318,6 +318,21 @@ class Context(object):
self.add_config(arch='powerpc64le',
os_name='linux-gnu',
gcc_cfg=['--disable-multilib', '--enable-secureplt'])
+ self.add_config(arch='riscv32',
+ os_name='linux-gnu',
+ variant='rv32imac-ilp32',
+ gcc_cfg=['--with-arch=rv32imac', '--with-abi=ilp32',
+ '--disable-multilib'])
+ self.add_config(arch='riscv32',
+ os_name='linux-gnu',
+ variant='rv32imafdc-ilp32',
+ gcc_cfg=['--with-arch=rv32imafdc', '--with-abi=ilp32',
+ '--disable-multilib'])
+ self.add_config(arch='riscv32',
+ os_name='linux-gnu',
+ variant='rv32imafdc-ilp32d',
+ gcc_cfg=['--with-arch=rv32imafdc', '--with-abi=ilp32d',
+ '--disable-multilib'])
self.add_config(arch='riscv64',
os_name='linux-gnu',
variant='rv64imac-lp64',
--
2.22.0