From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28620 invoked by alias); 9 Jul 2013 10:37:04 -0000 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 Received: (qmail 28578 invoked by uid 48); 9 Jul 2013 10:37:01 -0000 From: "chapter34 at yahoo dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/32354] libstdc++.so.6 missing RPATH Date: Tue, 09 Jul 2013 10:37: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-Version: 3.4.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: chapter34 at yahoo dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-07/txt/msg00518.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32354 Mark R. Bannister changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |chapter34 at yahoo dot com --- Comment #11 from Mark R. Bannister --- I've also hit this problem on Solaris 10 building gcc 4.8.0 and it's been wasting an awful lot of time. I intend to use $ORIGIN in my RPATH but could not find a way to get an RPATH into libstdc++. Having tried LDFLAGS, CFLAGS and CXXFLAGS which get the RPATH into everything else ok *except* libstdc++, I am now going to try LD_RUN_PATH as suggested in #9. However, why has this been closed as RESOLVED INVALID? There needs to be a way of getting RPATHs successfully through to the built objects in a consistent and configurable way, and we don't have that today. Btw, re #8, see: http://technicalprose.blogspot.co.uk/2013/06/editing-dtrpath-on-solaris-elf-objects.html