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
Was unable to find riscv tool chain with "march=rv64imab" " mabi=lp64" #1072
Comments
There is no toolchain with |
We don't have zb* support in riscv-gnu-toolchain as we haven't upgraded to gcc-12 yet. That release just happened a few days ago. We will probably wait a month or so for early bugs to be caught before we risk upgrading to a new version. You can try building riscv-gnu-toolchain using upstream gcc-12 sources. In theory that should work. We only provide sources. There are some volunteers building packages. Recent enough Debian/Ubuntu has an embedded riscv cross compiler package you can install. Most Linux distros will have a linux riscv cross compiler package you can install, but it won't be multilib, so it will have only rv64gc/lp64d. There is a package for Windows called xPack GNU RISC-V Embedded GCC. But probably none of these use gcc-12 yet. |
Hi cmuellner & wilson, As wilson mentioned "can try building riscv-gnu-toolchain using upstream gcc-12 sources.",
Thanks in advance. Regards, |
I propose that you use the build scripts of this repository and set the GCC sources to your local GCC 12 source directory (using the configure parameter
|
Hi cmuellner, Regards, |
Hi cmuellner,
Thanks in advance. Regards, |
This repository ( gmp and mpfr are dependencies and are expected to be installed on the host machine that builds the cross-toolchain. All dependencies are documented in the README.md (at the beginning). So you can use this repository to build a toolchain with GCC 12.1 and Binutils 2.38 sources by downloading them separately and configuring where they can be found. |
Hi cmuellner, Tried the way you mentioned. But still I face multiple errors which start with I actually pointed to GCC 12.1.0. But still I face this error. Can you please suggest any alternative approach if possible? that can help me install everything from scratch with configurations --with-arch=rv64imab --with-abi=lp64 |
As mentioned in my first response: |
Hi cmuellner, Have given a try with following command. But facing following errors. Can you please suggest what I'm missing out? Thanks in advance |
zbe and zbf isn't supported on upstream binutils 2.38 |
Can you please suggest what version should I upgrade to, in order to get rid of errors? |
Hi,
I'm trying to explore on bitmanip instructions and require riscv tool chain with configurations "march=rv64imab" " mabi=lp64".
Thanks in advance.
Regards,
Kumar
The text was updated successfully, but these errors were encountered: