-
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
error when qemu testing riscv64_zvl128b #4941
Comments
The " : command not found" suggests that you have some invisible,unprintable character in your run script. The most likely one would be ^M (DOS/Windows line end marker) if you ever edited that script on a Windows system. Try running your run.sh file through dos2unix or similar. |
Thanks for reply! I checked the Here are the backtrace of qemu:
I also tried qemu remote gdb, can't even enter the main function of the program. |
HI! I am trying to cross compile openblas( target:riscv,host:x86_64).I'm doing what the guthub action do for testing riscv64_zvl128b.
My code is on 8483a71 and my riscvtoolchain is riscv64-glibc-ubuntu-20.04-llvm-nightly-2024.02.02-nightly.
my build scrips for openblaslib:
it seems no errors:
my build scripts for OpenBLAS tests:
There are no errors too;
Then i run the scrips for running OpenBLAS tests:
There some errors:
First i thought it can't find the libgfortran.so.5 which path is
/opt/riscv/sysroot/lib/libgfortran.so.5
,so I add/opt/riscv/sysroot/lib
intoLD_LIBRARY_PATH
,but there are still some errors:Then I try to execute the command
run_test test cblat1 &
manually:The text was updated successfully, but these errors were encountered: