From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Mon, 14 Jan 2019 21:44:08 +0100 Subject: [Buildroot] [PATCH v4 1/3] arch: add support for RISC-V 32-bit (riscv32) architecture In-Reply-To: <20181021191203.2148-1-mark.corbin@embecosm.com> References: <20181021191203.2148-1-mark.corbin@embecosm.com> Message-ID: <20190114214408.77e95ac8@windsurf> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hello Mark, 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 > --- > 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: http://autobuild.buildroot.net/?arch=riscv32 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 ? Thanks! Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com