lowrisc-toolchains icon indicating copy to clipboard operation
lowrisc-toolchains copied to clipboard

GDB no longer supports ELF

Open jwnrt opened this issue 1 month ago • 0 comments

Since the script rework GDB complains about ELF files:

I'm sorry, Dave, I can't do that.  Symbol format `elf32-littleriscv' unknown.

When I configure binutils, the GDB configure script says:

checking for ELF support in BFD... no

I'm not sure how to convince BFD to support ELF yet.

Here's the diff between gdb --configuration from before and after the rework:

---host=x86_64-build_pc-linux-gnu
+--host=x86_64-pc-linux-gnu
---with-expat
+--without-expat
---with-mpfr
+--without-mpfr
---enable-threading
---with-sysroot=/tools/riscv/riscv32-unknown-elf (relocatable)

jwnrt avatar Oct 07 '25 13:10 jwnrt