artecs-group / PERCIVAL

Open-Source Posit RISC-V Core with Quire Capability
Other
44 stars 12 forks source link

warning: tohost and fromhost symbols not in ELF; can't communicate with target #6

Open wwwuxy opened 1 week ago

wwwuxy commented 1 week ago

when I runmake sim elf-bin=posit64_testsuite_llvm.elf QUESTASIM_FLAGS="-novopt -suppress 12110" batch-mode=1,get this fault, does my llvm-xposit not installed properly? ELF fault

davidmallasen commented 1 week ago

You can use riscv64-unknown-elf-objdump -DC posit64_testsuite_llvm.elf > posit64_testsuite_llvm.dump to check the contents of your elf file. Try to see if you can see the posit instructions correctly there. They may be marked as "unknown", but the machine code and asm wrapper should be there.

wwwuxy commented 1 week ago

thanks,you are right,I find some "unknown",can you give me some suggestions? 2 3

wwwuxy commented 1 week ago

hello,I check elf file,no relevant information found, Can you give me some debugging suggestions? I would greatly appreciate it~ 2

davidmallasen commented 1 week ago

I'm not sure with that error