compilers

Symbol format 'elf64-littleriscv' unknown

March 1, 2021 | riscv, compilers

tags RISCV Compiler After an hour of compiling RISC-V’s toolchain, I ran riscv64-unknown-elf-gdb remotely against my Rust kernel running in Qemu. This happened. riscv64-unknown-elf-gdb \ -q \ -ex 'file target/riscv64gc-unknown-none-elf/debug/strail-rs' \ -ex 'target remote localhost:3333' \ -ex "b main" Reading symbols from target/riscv64gc-unknown-none-elf/debug/strail-rs... I'm sorry, Dave, I can't do that. Symbol format `elf64-littleriscv' unknown. Remote debugging using localhost:3333 make: *** [gdb] Abort trap: 6 What the hell. I immediately started to investigate what is going on, is it my build system? ...