[Bug bootstrap/69757] OpenBSD requires -fPIC to build.

ebotcazou at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jul 3 10:37:49 GMT 2026


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69757

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at gcc dot gnu.org

--- Comment #10 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> Ten years later, this problem still exists.  I'm trying to build GCC on
> cfarm220 (see <https://portal.cfarm.net/machines/list/>), which is amd64,
> OpenBSD 7.9.

Try to configure with --enable-default-pie?


More information about the Gcc-bugs mailing list