Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update riscv toolchain to 8.2 #71

Merged
merged 1 commit into from
Aug 9, 2019
Merged

Conversation

kaspar030
Copy link
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
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
Contributor Author

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

Copy link
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.


# 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
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
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
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
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