On 2025-08-12, Phil Maker <philip.ma...@gmail.com> wrote: > --000000000000975dfb063c32bcc4 > Content-Type: text/plain; charset="UTF-8" > > G'day, > > There appears to be a dwarf versioning error between OpenBSD 7.7 and the > installed gdb perhaps. > > Running stock gdb and helloworld with -g ends up with the message: > > Error while reading shared library symbols: > Dwarf Error: wrong version in compilation unit header (is 4, should be > 2) [in module /usr/libexec/ld.so]
Base does not use GPLv3 software so this is stuck at an older version. Please either use lldb, or pkg_add gdb and use the egdb binary from packages (now at 16.3 in snapshots - the 7.7 release was older but still usable)). Perhaps we should stop building and installing gdb on archs using the LLVM toolchain; it was useful once upon a time, but not so much now. -- Please keep replies on the mailing list.