On Wed, Sep 16, 2020 at 2:09 PM Andreas K. Hüttel <dilfri...@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 > dilfri...@gentoo.org > Gentoo Linux developer > (council, qa, toolchain, base-system, perl, libreoffice)