-
Notifications
You must be signed in to change notification settings - Fork 578
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
make[1]: *** [out/metadata/tb.compile.stamp] Error 2 #2071
Comments
Hi there! I'm not sure exactly what has gone wrong, but any failure must have happened just before the line that says Anyway, I'm not entirely sure what failed, and we should probably tweak things so that the error messages are clearer. Can you try running again with an extra
|
Well, the first failure happens when running VCS. See line 11, which ends with "Error 2". You're right that some things look a bit dubious below (maybe you're using an old GCC/G++?), but I'd not bother looking too hard at them yet. I'd expect that you can reproduce the initial failure by copy-pasting and running the first |
Thank you, I have solved this problem. |
Next, I tested all the files in test.yaml. Of the 55 projects to be tested, except riscv_bitmanip_full_test, the pass rate of the remaining projects is on schedule toward the official report. https://ibex.reports.lowrisc.org/opentitan/latest/report.html When I execute the riscv_bitmanip_full_test command alone: I found about warnings, found similar problems in #999, but referred to in the file, the code seems to have been corrected, so I have no idea, could you tell me how to do this problem should be? |
Thanks for the report. I've taken a look, and the I think that the behaviour of the Why did you try to run this specific test? Does that appear in some longer list that needs to be filtered? |
Thanks for your reply, I just want to fully test all the files in test.yaml and have no other purpose. If it's not important, then I would consider not testing it. |
Ok, cool. I guess the remaining question is whether there's a "run everything I need" command that caused |
I am a beginner in ibex, and when I followed the github steps to test something wrong, can you tell me what I missed or did wrong?
The error message is as follows:
autumn@localhost ~/ibex/dv/uvm/core_ibex$ make --keep-going IBEX_CONFIG=opentitan SIMULATOR=vcs ISS=spike ITERATIONS=1 SEED=1 TEST=riscv_arithmetic_basic_test WAVES=0 COV=0
Building RTL testbench
23:54:56 (snpslmd) OUT: "VCSCompiler_Net" [email protected] [snps_checkout_1691823296]
23:55:19 (snpslmd) IN: "VCSCompiler_Net" [email protected] [snps_checkout_1691823296]
23:55:19 (snpslmd) OUT: "VCSCompiler_Net" [email protected] [snps_checkout_1691823319]
23:55:21 (snpslmd) IN: "VCSCompiler_Net" [email protected] [snps_checkout_1691823319]
make[1]: *** [out/metadata/tb.compile.stamp] Error 2
Generating core configuration file
Building randomized test generator
23:55:24 (snpslmd) OUT: "VCSCompiler_Net" [email protected] [snps_checkout_1691823324]
23:55:41 (snpslmd) IN: "VCSCompiler_Net" [email protected] [snps_checkout_1691823324]
23:55:41 (snpslmd) OUT: "VCSCompiler_Net" [email protected] [snps_checkout_1691823341]
23:55:43 (snpslmd) IN: "VCSCompiler_Net" [email protected] [snps_checkout_1691823341]
Running randomized test generator to create assembly file /home/autumn/ibex/dv/uvm/core_ibex/out/run/tests/riscv_arithmetic_basic_test.1/test.S
23:55:44 (snpslmd) OUT: "VCSRuntime_Net" [email protected] [snps_checkout_1691823344]
23:55:51 (snpslmd) IN: "VCSRuntime_Net" [email protected] [snps_checkout_1691823344]
Compiling riscvdv test assembly to create binary at /home/autumn/ibex/dv/uvm/core_ibex/out/run/tests/riscv_arithmetic_basic_test.1/test.bin
make[1]: Target `all' not remade because of errors.
make: *** [run] Error 2
Here are the details of how I use the tools:
VMware:16Pro
Linux:CentOS7.9
VCS:2020.03-SP2-7
Python:3.10.5
Pip:23.2.1
Gcc/G++:4.8.5
Spike:riscv-isa-sim-ibex-cosim-v0.3
Pre-built toolchain:lowrisc-toolchain-gcc-rv32imcb-20230519-1
Finally, some of my path information in bashrc:
#riscv-gcc
export RISCV=/home/autumn/lowrisc-gcc
export RISCV_TOOLCHAIN=$RISCV
export RISCV_GCC=$RISCV/bin/riscv32-unknown-elf-gcc
export RISCV_OBJCOPY=$RISCV/bin/riscv32-unknown-elf-objcopy
export SPIKE_PATH=$RISCV/bin
export PKG_CONFIG_PATH=$RISCV/lib/pkgconfig
export PATH=$PATH:/root/.local/bin #.txt
The text was updated successfully, but these errors were encountered: