This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/54182] -fvisibility=hidden shouldn't be disabled with -fPIE -pie
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 10 Aug 2012 13:43:43 +0000
- Subject: [Bug other/54182] -fvisibility=hidden shouldn't be disabled with -fPIE -pie
- Auto-submitted: auto-generated
- References: <bug-54182-4@http.gcc.gnu.org/bugzilla/>
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.