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

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Sep 3 01:07:00 GMT 2016


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
You need -fPIC to create shared libraries.


More information about the Gcc-bugs mailing list