[Bug c/77464] gcc -no-pie breaks -shared

manu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Sep 3 11:18:00 GMT 2016


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

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
                 CC|                            |manu at gcc dot gnu.org
         Resolution|INVALID                     |---

--- Comment #2 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #1)
> You need -fPIC to create shared libraries.

Couldn't the driver do this on its own internally?


More information about the Gcc-bugs mailing list