CFU-Playground icon indicating copy to clipboard operation
CFU-Playground copied to clipboard

Upgrade to use GCC 10.x toolchain

Open tcal-x opened this issue 3 years ago • 8 comments

@danc86 saw a significant performance improvement when using GCC 10.x toolchain. We can update the docs to point to the newer version of the toolchain.

tcal-x avatar Jul 21 '21 21:07 tcal-x

Link to relevant discussion with numbers here: https://github.com/google/CFU-Playground/pull/172#discussion_r672673739

JosephBushagour avatar Jul 21 '21 21:07 JosephBushagour

Hi :

I got a problem after update to gcc 10.2.0 from sifive release.

In this release, it seems have no prebuild libstdc++.a for rv32im, which the march setting in CFU-Playground.

Could any one kindly to tell me which version could be used or change march setting to which architecture?

Many thanks.

BR, Akio

akioolin avatar Jul 22 '21 08:07 akioolin

avg noticed this issue with the Sifive prebuilt 10.2 toolchain. He observed that the 10.1 release still had rv32im, so we could use that in the short term.

danc86 avatar Jul 22 '21 09:07 danc86

Hi, @danc86 :

Many thanks. downloading 10.1.0.

BR, Akio

akioolin avatar Jul 22 '21 09:07 akioolin

We should probably move to our own custom built toolchains in conda -> https://github.com/hdl/conda-compilers

mithro avatar Jul 22 '21 13:07 mithro

I've been experimenting with make-env (Conda) in CFU Playground, and currently the only issue is finding a Conda package for the GCC RISC-V toolchain that includes g++. I've opened https://github.com/hdl/conda-compilers/issues/25 to request a package for GCC v10.1 including g++.

tcal-x avatar Sep 06 '21 01:09 tcal-x

I've opened hdl/conda-compilers#25 to request a package for GCC v10.1 including g++.

This is something we should be able to do ASAP. @PiotrZierhoffer - Who should look into this?

mithro avatar Sep 06 '21 02:09 mithro

I created https://github.com/hdl/conda-compilers/pull/26 to kick this off

PiotrZierhoffer avatar Sep 06 '21 23:09 PiotrZierhoffer