https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120145
--- Comment #20 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > (gdb) p/x $g1 > $4 = 0xfb8ee10cffeffffc > (gdb) x/x $g1 > 0xfb8ee10cffeffffc: Cannot access memory at address 0xfb8ee10cffeffffc > (gdb) So it's garbage, i.e. the @got.plt symbol apparently contains garbage. How do you configure the compiler exactly? Do you have OpenBSD-specific patches applied to the sources?