This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Questions about support for 32 bit RISC-V
- From: Benjamin Landers <benjaminrlanders at gmail dot com>
- To: libc-help at sourceware dot org
- Date: Sun, 5 Jan 2020 21:21:07 -0800
- Subject: Questions about support for 32 bit RISC-V
I have been having trouble compiling C programs to the target rv32g
using gcc. For an empty program that just returns immediately from
main, it results in a linking error. And importing almost anything
results in a compilation error "rv32i-based targets are not
supported."
It seems like this is because the changes from the RISC-V port [] for
32 bit have still not been merged. If that is correct, what is the
timeline for getting 32 bit support included in a release? It seems
that it is not on the table for 2.31.
Alternatively, if is its supported, did I make some mistake in my
usage of gcc / glibc that makes compilation to rv32g not work?
Benjamin Landers