https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120145
--- Comment #39 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > --enable-host-shared is required, at least at OpenBSD > since > https://gcc.gnu.org/cgit/gcc/commit/ > ?id=b6cb10af12cf869c1ae348c0e5cb2d364ef0abce not only on sparc64, I can > reproduce it on amd64 as well. What do you mean by "is required"? Obviously something goes wrong with the PIC/PIE machinery, so we need to disable it entirely and start from a build that does not involve it.