-
Notifications
You must be signed in to change notification settings - Fork 40
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
Configure error #29
Comments
I have installed riscv-gnu-toolchain, riscv-pk and riscv-isa-sim. The reason why I installed this is I want to use rvv benchmark to test riscv-v-spec isa. |
You can try this cmake command: |
I try what you have told.
It shows that In CMakeOutput.log, I found nothing except |
install ninja |
Try |
Thanks for your answers. It works. |
Another problem, how to fix this? 我的clang安装步骤如下 $ cmake -DLLVM_ENABLE_PROJECTS="clang" -G Ninja ../llvm How to solve the difference of version? |
use |
It worked. However, it failed into another problems. /home/qiao_sh_pudong/RISCV/Bin/riscv64/lib/gcc/riscv64-unknown-elf/10.1.0/../../../../bin/riscv64-unknown-elf-ld: failed to merge target specific data of file /tmp/main-1cdbbf.o |
this may be a gnu-toolchain's error. You can try different branches of riscv-gnu-toolchain and rebuild. |
/home/qiao_sh_pudong/RISCV/Bin/riscv64/lib/gcc/riscv64-unknown-elf/10.1.0/../../../../bin/riscv64-unknown-elf-ld: error: /tmp/main-1cdbbf.o: Mis-matched ISA version for 'v' extension. 0.10 vs 1.0 What about this? |
$ git clone https://github.com/plctlab/llvm-project
GCC_TOOLCHAIN_DIR=$RISCV/
SYSROOT_DIR= $GCC_TOOLCHAIN_DIR/riscv64-unknown-elf/
$ cd llvm_project/
$ mkdir build
$ cd build
$ cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=$GCC_TOOLCHAIN_DIR/riscv64-unknown-elf/ -DLLVM_ENABLE_PROJECTS="clang" -S /home/qiao_sh_pudong/RISCV/Src/llvm-project/clang/
it shows
-- Linker detection: GNU ld
/usr/bin/ar: creating t.a
-- Building with -fPIC
-- Clang version: 10.0.0
CMake Error at tools/driver/CMakeLists.txt:56 (export_executable_symbols_for_plugins):
Unknown CMake command "export_executable_symbols_for_plugins".
-- Configuring incomplete, errors occurred!
What have I missed?
The text was updated successfully, but these errors were encountered: