[Bug libstdc++/55872] Crash issue with RTLD_DEEPBIND usage with stdc++ library

gauryogesh.nsit at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Jan 7 00:12:00 GMT 2013


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

--- Comment #3 from Yogesh Gaur <gauryogesh.nsit at gmail dot com> 2013-01-07 00:12:26 UTC ---
(In reply to comment #2)
> GCC 4.4 is no longer maintained or supported. 
> 
> Unles you can reproduce the problem with a current release of GCC (which I
> can't) then nothing is going to happen.
> 
Hello Jonathan,

I tried on GCC 4.6.4 also and still getting this issue on there, I didn't have
any more latest copy of GCC with me.

> N.B. compiling main.cpp with -fPIC seems to fix the problem anyway.

Can you please explain that why it should work with -fPIE, I am able to work it
using -fPIE while making my executable.
Please note that we should never use -fPIC with executable it will break
prelink, if Thread Local Storage is used.



More information about the Gcc-bugs mailing list