On 2024/04/19 01:46, sda wrote: > Dwarf Error: wrong version in compilation unit header (is 4, should be > 2) [in module /usr/libexec/ld.so]
That's because of the ancient gdb that's in base. There's a slightly less old one in ports. See "Debug Packages, Debuggers and Backtraces" in https://www.openbsd.org/faq/ports/ports.html > Program received signal SIGILL, Illegal instruction. > 0x000008c46184408b in ?? () > (gdb) > core dumped. (size 160Mb) Most likely this is due to the 'indirect branch tracking' cpu feature being triggered. Building from ports with USE_NOBTCFI=Yes will likely work around it, the proper fix would be to add 'endbr64' instructiond at the location of jump targets in assembly code. See if the above info on gdb will get you a backtrace.