-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Are P* extensions supported for 32-bit toolchain ? #1298
Comments
Seem like you hit bug in their compiler implementation, cc @pz9115 |
I had repeated this bug, it seems exist some compatible problems with current riscv-gnu-tool chain repo. I will check it soon. |
@vedanttalnikar I had fixed this bug, now you can try build again on RV32, thanks for your report. |
@pz9115 Thanks for the quick support. |
The original build works but this one fails:
Full compressed build log: build.log.tar.gz |
Since the P extension
@TommyMurphyTM1234 Repeated and fixed this problem, thanks |
@cmuellner / @kito-cheng / others ... Can/should this issue be closed? It doesn't really seem to be a valid And/or this long open PR on the It's still unclear to me what the precise purpose of the |
Yes, we can close this issue because it is not directly related to the riscv-gnu-toolchain repo or repositories that are referenced by the submodules. It is a valid issue (thank you for reporting), but the issue tracker of this repo is not the right place. We don't need to be too strict on this, but after three months it is reasonable to close it here. Especially since the issue got recognition from the owner of the affected code. |
I am getting below error:
riscv32-unknown-elf-ar rc ../libc.a *.o
riscv32-unknown-elf-ar: ../stdlib/lib.a: No such file or directory
riscv32-unknown-elf-ar: ../time/lib.a: No such file or directory
riscv32-unknown-elf-ranlib libc.a
I used following build procedure:
$ git clone https://github.com/riscv-collab/riscv-gnu-toolchain.git
$ cd riscv-gnu-toolchain/
as mentioned in #1291 I used following repositories
$ git clone https://github.com/plctlab/riscv-gcc -b riscv-gcc-p-ext riscv-gcc-p-ext
$ git clone https://github.com/plctlab/riscv-binutils-gdb -b riscv-binutils-p-ext riscv-binutils-p-ext
$ ./configure --prefix=$RISCV32 --with-arch=rv32imafd_zpn_zifencei --with-abi=ilp32d --with-gcc-src=
pwd
/riscv-gcc-p-ext --with-binutils-src=pwd
/riscv-binutils-p-ext$ make
I have attached the make.log
where you can spot the actual error as mentioned below :
make.log
Is the current configuration mentioned in configure command supported by the toolchain or anything missing in the procedure ?
The text was updated successfully, but these errors were encountered: