https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120145
--- Comment #22 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > Yes, OpenBSD has some patches. This build had applied the folowing patches: > > https://kirill.korins.ky/pub/gcc-sparc64-a8b98e2-patch.diff.txt Can you remove this line in there? sparc64-*-openbsd*) + tm_defines="${tm_defines} DEFAULT_FLAG_PIE=2"