Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 12 Mar 2020 09:57:15 -0400
From: Rich Felker <>
Subject: Re: musl support riscv32

On Thu, Mar 12, 2020 at 11:09:37AM +0000, chengzhiwei (C) wrote:
> Hi, all:
> Recently, we did a survey about musl lib supported by the target of riscv. As we know,  musl-riscv64 was released last year, it's a great job:
> But we want to know when musl will suoport riscv-32 target and be released in the community based on the latest version?
> From the community, we found that the previous branch version supported 32 bits backend,
> I guess there are still lots of tests to be done for stability reasons. Next release can support riscv-32 target?
> Maybe it's not an easy job about atomic operation.  If the version support date is uncertain, can you share some solutions to circumvent it?
> Our team is also considering the possibility of implementing the functionality in C code, could you give us some suggestions?
> Hope your responseļ¼

The main blocker for riscv32 has been that the kernel has not declared
it a stable ABI yet. At the time it was first proposed, there were
still problems related to it being a 32-bit arch with no legacy 32-bit
time_t syscalls, but that's not an issue now. I'd be happy to look at
an updated riscv32 port now (ideally based on what's upstram in musl
for riscv64, converted to 32-bit, rather than the old proposal, since
lots of bugs were fixed after it was merged) and hopefully convince
Linus/kernel ppl to consider it stabilized on the basis that there's a
libc ready to use it.


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.