riscv32 wait() problem, qemu or glibc?

Alistair Francis alistair23@gmail.com
Wed Sep 16 21:05:10 GMT 2020


On Wed, Sep 16, 2020 at 2:09 PM Andreas K. Hüttel <dilfridge@gentoo.org> wrote:
>
> > My guess is that somewhere in QEMU the types don't match what RV32 is
> > using. It's probably worth printing out the size, alignment and value
> > of everything at every stage and see what breaks.
>
> Thanks.

Sorry I can't be more helpful. Hopefully one day I will look into it,
but it's not a high priority.

>
> > AFAIK RV32 linux-user mode is pretty much un-tested. So their might be
> > all sorts of issues with it unfortunately.
>
> Would you consider qemu system mode more reliable?

Yes. For RISC-V the softmmu implementations are much more thoroughly tested.

>
> I need to prepare some bootable riscv gentoo images eventually anyway. Might
> as well try a riscv32 one for comparison then if that is more promising.

It would be great to have more distros supporting RV32.

Alistair

>
> --
> Andreas K. Hüttel
> dilfridge@gentoo.org
> Gentoo Linux developer
> (council, qa, toolchain, base-system, perl, libreoffice)


More information about the Libc-alpha mailing list