Skip to content

update riscv toolchain to 8.2#71

Merged
kaspar030 merged 1 commit intoRIOT-OS:masterfrom
kaspar030:update_riscv
Aug 9, 2019
Merged

update riscv toolchain to 8.2#71
kaspar030 merged 1 commit intoRIOT-OS:masterfrom
kaspar030:update_riscv

Conversation

@kaspar030
Copy link
Copy Markdown
Contributor

@kaspar030 kaspar030 commented Apr 11, 2019

The current risc-v toolchain makes some applications not pass the tests.
This gcc 8.1 based one works fine. I didn't dig for reasons. My gut feeling is that the newly available newlib-nano saves enough stack space to not break the tests.

Supercedes #62.
Waiting for #70.

@aabadie
Copy link
Copy Markdown
Contributor

aabadie commented May 23, 2019

There's already a new release of the toolchain. Maybe use this one ?

@kaspar030 kaspar030 changed the title update riscv toolchain to 8.1 update riscv toolchain to 8.2 Jul 18, 2019
@kaspar030
Copy link
Copy Markdown
Contributor Author

  • changed to 8.2
  • parameterized toolchain version to easy future updates
  • changed commit message to reflect new version

Copy link
Copy Markdown
Contributor

@fjmolinas fjmolinas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was able to build the docker Image successfully. I only have one question, see below.

cd -

# HACK download arch linux' flex dynamic library
RUN wget -q https://sgp.mirror.pkgbuild.com/core/os/x86_64/flex-2.6.4-2-x86_64.pkg.tar.xz -O- \
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this needed before and why is is not needed anymore?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See #39, libfl on ubuntu is somehow weird. the riscv toolchain could not use it. thus we used arch linux' libfl package.
The current risc-v toolchain comes bundled with libfl, thus the hack is not needed anymore.

Copy link
Copy Markdown
Contributor

@fjmolinas fjmolinas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Untested-ACK, since I don't have any hardware to test this.

@kaspar030
Copy link
Copy Markdown
Contributor Author

Thanks @fjmolinas! &go.

@kaspar030 kaspar030 merged commit eef10d7 into RIOT-OS:master Aug 9, 2019
@kaspar030 kaspar030 deleted the update_riscv branch August 9, 2019 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants