On Wed, Feb 7, 2018 at 12:01 PM, David H. Lynch Jr. <
dhly...@gmail.com> wrote:
> Straight from the repository I can build and run a risc-v 64 bit linux.
> using either make sim or make qemu
>
> But I need to build a risc-v 32 bit linux.
We only support 64-bit linux at present.
The 32-bit linux binutils/gcc/glibc support should be good. The
32-bit qemu user support should be good. We test this regularly using
the binutils and gcc testsuites. I know that there is a problem with
stack unwinding through an exception frame, but that is probably an
issue of the 32-bit qemu user support not tracking all of the ucontext
changes that have been made over the last few months. I don't think
that this would affect booting the kernel. The 32-bit glibc support
has not been upstreamed yet, but that is mostly because we didn't have
enough time to validate both the 64-bit and 32-bit support in time for
the glibc-2.27 release, so we could only upstream the 64-bit support.
The plan is to add the 32-bit support before the next glibc release.
This is unlikely to require much in the way of changes, this is mostly
spending time running tests to validate it.
I don't know if anyone has tested the 32-bit kernel support, or the
32-bit qemu system support.
Jim