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 #16 from wbrana <wbrana at gmail dot com> 2012-08-10 18:17:02 UTC --- -fvisibility=hidden exactly does what I need. Why it isn't enabled by default with -fPIE -pie?