This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[RFC v4 21/24] 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: arnd at arndb dot de, adhemerval dot zanella at linaro dot org, fweimer at redhat dot com, palmer at sifive dot com, macro at wdc dot com, zongbox at gmail dot com, alistair dot francis at wdc dot com, alistair23 at gmail dot com
- Date: Fri, 9 Aug 2019 18:00:43 -0700
- Subject: [RFC v4 21/24] Add RISC-V 32-bit target to build-many-glibcs.py
- Ironport-sdr: MMFYhs6+j9cTZdaZYCUWes3HP8IHi6Nlwpp8k/Pi81kwlJxhG3JoQHh/e2JYdKy7eKXdEiEKzi zTKz1BUBn7b+nG2VZNGq+QDkjxprjwDVJk8dSQzxNP45eJ0eaOX3cM7DkpAL7vz9T2vBCNAbnm xJklRLCYIjIpNJ9oZI5hLuFFm8HUzOXxShGLWDH0SDyBDOVBO7Nb9cLdfuvYySizAFSVnDUNub PlJUqIdwLZoyoNoFazoKq219joofP3Nx+seWHZmNgdQIdjsroHuz7nLfvJI1Qoib5sYMXiscPh I6w=
- Ironport-sdr: /sMs2BBt0wdswyMnFHvSq/KzTQsQ0xIq3Su34MQjRhccl7cfGSON4sioPclF1OUpYiHd7LXymV p5I9+Si3kDGjWyvkzJvyCKb1dI1HsrLC3u8iMz8EggmLHxtKTHr56Gmkxaqux3HsWReerAH6bd NiDNDAPNB5QxyPS2Q4Boe5h0g8zrpe8VYwCb5SVhc61+JXqn8W/uURKwOxL+Bd+eKFBe6ZP1Yz zHuOz1lAaXG4pjl3bI884bBpW6w88WNWuvQN3tJ9MetR9VZDistu7PRW9FWqqJWmqX0WfWhvtI phmH+BEjo314jyMDMadrddVl
- Ironport-sdr: w75yX0LPwnF4Dp4E4MHzczt/weUDGxov2jfXf05ElQaZivIdTybB/xx8b6hAiNA5YI6Idj+mLr RYOIW0j3ewIoBBvcxsB6REGp7ewYiKRA4oTrm3WcDGTNrvh/Cww3CGgZ7ufVFJnqC/jPNvBoN1 c3DUnsc1TO8EVgJLrxaPlgIqajognKa8GvpDwgFY1ansm2ps3xDpX+0S07zcdNhpn8DwpI2yPs jmOTXSWxEUwgnZjOjKpvLuuEG5D3v9Ab8WngVcgpjHMgYAHg3Bh4fhui9O8xknaX296IUrWm8B aDg=
- References: <cover.1565398513.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 3316d22efaf..a3c2443d090 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1501,6 +1501,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 aa6884e046d..205f70168ed 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -320,6 +320,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