From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19386 invoked by alias); 7 Jan 2013 00:12:54 -0000 Received: (qmail 19345 invoked by uid 48); 7 Jan 2013 00:12:28 -0000 From: "gauryogesh.nsit at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/55872] Crash issue with RTLD_DEEPBIND usage with stdc++ library Date: Mon, 07 Jan 2013 00:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gauryogesh.nsit at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2013-01/txt/msg00428.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55872 --- Comment #3 from Yogesh Gaur 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.