[Buildroot] [PATCH v4 1/3] arch: add support for RISC-V 32-bit (riscv32) architecture
thomas.petazzoni at bootlin.com
Mon Jan 14 20:44:08 UTC 2019
On Sun, 21 Oct 2018 20:12:01 +0100, Mark Corbin wrote:
> This enables a riscv32 system to be built with a Buildroot generated
> toolchain (gcc >= 7.x, binutils >= 2.30, glibc only).
> This requires a custom version of glibc 2.26 from the riscv-glibc
> repository. Note that there are no tags in this repository, so the
> glibc version just consists of the 40 character commit id string.
> Thanks to Fabrice Bellard for pointing me towards the 32-bit glibc
> repository and for providing the necessary patch to get it to build.
> Signed-off-by: Mark Corbin <mark.corbin at embecosm.com>
> Changes v3 -> v4:
> - added choice for selecting 32-bit or 64-bit in Config.in.riscv
> This provides a new variable BR2_RISCV_32
I'm sure you noticed through the autobuilder e-mails, but I wanted to
point out that riscv32 is causing a number of build issues:
Most of the ones I looked at are due to missing mcontext_t definition
in glibc. Is this something you could have a look at ?
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
More information about the buildroot