http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54182
wbrana <wbrana at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID | --- Comment #14 from wbrana <wbrana at gmail dot com> 2012-08-10 17:39:27 UTC --- -fvisibility=hidden is really disabled. Attached output from bash without -fvisibility=hidden has 57 kB, but with -fvisibility=hidden only 11 kB. Which compiler/linker flag except -fvisibility=hidden will make 11 kB output from bash? How exactly should I use linker version script to hide symbols in bash executable or any other software?