This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug other/54182] -fvisibility=hidden shouldn't be disabled with -fPIE -pie


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54182

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

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

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-08-10 13:43:43 UTC ---
-fvisibility=hidden is only about the visibility of the symbols you define in
the code you are compiling, for controlling what you export or not out of a
binary, shared library or PIE, you need to tell what you want or don't want to
export to the linker.  -fvisibility=hidden is a compiler option, not a linker
option.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]