-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Building Error of OpenBLAS C910V Target #4029
Comments
can you please try the riscv branch instead of develop ? unfortunately the rvv extension and intrinsics are still a bit unstable, the develop branch still uses the older rvv-0.7.1 syntax as far as I know, which may no longer be supported by newer toolchains |
in risc-v branch ../kernel/riscv64/max_vector.c:62:31: error: incompatible types when assigning to type 'vfloat64m1_t' from type 'int' ../kernel/riscv64/max_vector.c:61:30: error: incompatible types when assigning to type 'vfloat64m8_t' from type 'int' ../kernel/riscv64/max_vector.c:65:30: error: incompatible types when assigning to type 'vfloat64m8_t' from type 'int' |
Too bad - there are currently no open PRs for RISCV issues, and I cannot suggest with any certainty which toolchain is currently expected to work but please see #3808 |
That said, it could be that one currently still needs to use an old 1.x version of the t-head compiler for the |
So the max_vector.c in the |
i have build OpenBLAS-risc-v successfully; with Xuantie-900-gcc-linux-6.6.0-glibc-x86_64-V3.0.1, should add " #include <riscv_vector_v0p10_non_policy_common.h> " in common.h |
Thanks - did you build the current 0.3.28 (or the develop branch) ? I also wonder if this header can be included in all cases, or if it is specific to this version of the (cross-)compiler and might prevent anyone from compiling on the device itself. |
@martin-frbg @zejianzhang1982 |
hi , I build it with setting the TARGET=C910v |
My problem is that I don't recall needing the riscv_vector_v0p10_non_policy_common.h when building directly on MILK-V Pioneer (C920V using the C910V target). |
Hmm. That header file does not appear to exist in the Xuantie-900-gcc-linux-5.10.4-glibc-x86_64-V2.8.0 toolchain that our CI job is using, suggesting we would need at least some kind of version check to distinguish between "your" 6.6-V3.0.1 version of the compiler and "our" older one. @RevySR can you help (again) please ? My being competely illiterate in Chinese does not make it easier for me to even locate the newer version of the compiler, I do not even see anything newer than 2.8.1 from them on github or the English-language section of their xrvm.com site |
downalod xuntie gcc tool chain at https://www.xrvm.cn/community/download?id=4382928864901402624 |
Thanks - unfortunately that link appears to require registration (including a domestic Chinese telephone number, as far as I managed to figure out) before allowing download |
When building OpenBLAS with T-head 2.6.1 toolchain, the following multiples errors are found.
Refer to #4024 for the build CI to test the problem.
The text was updated successfully, but these errors were encountered: