Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

#3452 closed enhancement (fixed)

Update RISC-V tool chain to support standard 64-bit chips

Reported by: Sebastian Huber Owned by: Sebastian Huber
Priority: normal Milestone: 5.1
Component: arch/riscv Version: 5
Severity: normal Keywords:
Cc: Blocked By:
Blocking: #3433

Description

First step is to include this bug fix in Binutils:

https://sourceware.org/bugzilla/show_bug.cgi?id=23244

Second step is a multilib update. Third step is a merge of the riscv32 and riscv64 tool chains into a single riscv tool chain.

Change History (13)

comment:1 Changed on 06/13/18 at 08:45:14 by Sebastian Huber

Blocking: 3433 added

comment:2 Changed on 06/13/18 at 08:47:12 by Sebastian Huber <sebastian.huber@…>

In [changeset:"9530518b4ad2430521aaf017648f40919e5e6e34/rtems-source-builder" 9530518/rtems-source-builder]:

Build only the Binutils

The Binutils and GDB share a repository. In order to build the Binutils
from a repository snapshot some components must be disabled.

Update #3452.

comment:3 Changed on 06/13/18 at 08:47:28 by Sebastian Huber <sebastian.huber@…>

In [changeset:"f432e19a5402ed367c3c75011e564f7fe4ca7387/rtems-source-builder" f432e19/rtems-source-builder]:

5: Update RISC-V Binutils

This includes the following bug fix:

https://sourceware.org/bugzilla/show_bug.cgi?id=23244

Update #3452.

comment:4 Changed on 06/20/18 at 06:36:21 by Sebastian Huber <sebastian.huber@…>

In [changeset:"8ee4e8cd557c25fca59bb9751751ad4172530958/rtems-source-builder" 8ee4e8c/rtems-source-builder]:

5: Update RISC-V Binutils and GDB

This includes the following bug fix:

https://sourceware.org/bugzilla/show_bug.cgi?id=23305

Update #3452.

comment:5 Changed on 06/22/18 at 04:24:21 by Sebastian Huber <sebastian.huber@…>

In [changeset:"4bd8de535bbede68c7b46ea88a1b8eed356c3897/rtems-source-builder" 4bd8de5/rtems-source-builder]:

5: Use GCC 8 snapshot for RISC-V

This picks up the new multilib set for RISC-V.

Update #3452.

comment:6 Changed on 07/24/18 at 07:06:52 by Sebastian Huber <sebastian.huber@…>

In [changeset:"dc6b9405ac33ddc29fc8e306fa23db33ec3d6672/rtems-source-builder" dc6b940/rtems-source-builder]:

5: Update Newlib

Update RISC-V GCC to a GCC 9 branch commit.

Close #3342.
Close #3343.
Update #3452.

comment:7 Changed on 07/24/18 at 07:06:59 by Sebastian Huber <sebastian.huber@…>

Resolution: fixed
Status: assignedclosed

In [changeset:"d33c1519f2502db9ff6c9ce87ed9aba7d6c8467f/rtems-source-builder" d33c151/rtems-source-builder]:

5: Merge riscv32 and riscv64 into riscv

After several upstream updates in Binutils, GCC, Newlib, and GDB it is
now possible to use a common riscv tool chain for the 32-bit and 64-bit
RISC-V.

Update GDB to ce73f310150418a9a1625ab60a527d959096a9e2 Git commit.

Close #3452.

comment:8 Changed on 07/24/18 at 10:10:47 by Sebastian Huber <sebastian.huber@…>

In [changeset:"2ef6dfe921bcd5d68c3dcd89ded67e5ed3b07741/rtems-source-builder" 2ef6dfe9/rtems-source-builder]:

5: Fix rtems-all due to recent RISC-V changes

Update #3452.

comment:9 Changed on 07/25/18 at 12:06:34 by Sebastian Huber

Resolution: fixed
Status: closedreopened

comment:10 Changed on 07/26/18 at 07:08:20 by Sebastian Huber <sebastian.huber@…>

In [changeset:"2cd6cefe0ec5d876240f5d378eb3f7162401f27b/rtems-source-builder" 2cd6cef/rtems-source-builder]:

5: Change riscv to riscv32

This is a temporary workaround for this bug:

https://sourceware.org/bugzilla/show_bug.cgi?id=23451

It is not clear how this can be resolved upstream.

Update #3452.

comment:11 Changed on 07/30/18 at 08:10:59 by Sebastian Huber <sebastian.huber@…>

In [changeset:"c40d1260e0d2fc7f938ade7313a846de387cd601/rtems-source-builder" c40d126/rtems-source-builder]:

5: Change riscv32 back to riscv

Update Binutils to include a bug fix for:

https://sourceware.org/bugzilla/show_bug.cgi?id=23451

Update #3452.

comment:12 Changed on 08/03/18 at 10:06:11 by Sebastian Huber <sebastian.huber@…>

Resolution: fixed
Status: reopenedclosed

In [changeset:"8f742407bd41785aead054d11a91bb0924bbe36e/rtems-source-builder" 8f74240/rtems-source-builder]:

5: Update Newlib

It includes a fix for bug in the ctype support, some FreeBSD
compatibility changes in <sys/cdefs.h> for libbsd and a new
configuration option for all targets newlib/configure.host which is used
by the RISC-V port.

Close #3452.

comment:13 Changed on 08/20/18 at 12:55:53 by Sebastian Huber <sebastian.huber@…>

In [changeset:"79c83cd097333ef31a9c34ce1c7d05d9d3df1b78/rtems-source-builder" 79c83cd/rtems-source-builder]:

5: Update Newlib for RISC-V

Use the latest Newlib to fix the GCC libgomp build (TLS support was not
detected due to broken crt0).

Update #3452.

Note: See TracTickets for help on using tickets.