Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v4 1/3] arch: add support for RISC-V 32-bit (riscv32) architecture
Date: Mon, 14 Jan 2019 21:44:08 +0100	[thread overview]
Message-ID: <20190114214408.77e95ac8@windsurf> (raw)
In-Reply-To: <20181021191203.2148-1-mark.corbin@embecosm.com>

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 <mark.corbin@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:

  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

  parent reply	other threads:[~2019-01-14 20:44 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-21 19:12 [Buildroot] [PATCH v4 1/3] arch: add support for RISC-V 32-bit (riscv32) architecture Mark Corbin
2018-10-21 19:12 ` [Buildroot] [PATCH v4 2/3] configs/qemu: add qemu_riscv32_virt_defconfig Mark Corbin
2018-11-02  3:09   ` Matthew Weber
2019-01-10 20:32   ` Thomas Petazzoni
2018-10-21 19:12 ` [Buildroot] [PATCH v4 3/3] support/config-fragments: add RISC-V 32-bit to autobuild configs Mark Corbin
2018-11-02  3:09   ` Matthew Weber
2019-01-10 20:32   ` Thomas Petazzoni
2018-11-02  3:08 ` [Buildroot] [PATCH v4 1/3] arch: add support for RISC-V 32-bit (riscv32) architecture Matthew Weber
2019-01-06 13:18 ` Thomas Petazzoni
2019-01-07 14:36   ` Mark Corbin
2019-01-07 15:21     ` Thomas Petazzoni
2019-01-14 20:44 ` Thomas Petazzoni [this message]
2019-01-15 10:19   ` Mark Corbin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190114214408.77e95ac8@windsurf \
    --to=thomas.petazzoni@bootlin.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox