From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32640 invoked by alias); 7 Jul 2005 17:31:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 32590 invoked by uid 48); 7 Jul 2005 17:31:13 -0000 Date: Thu, 07 Jul 2005 17:31:00 -0000 From: "dvilleneuve at kronos dot com" To: gcc-bugs@gcc.gnu.org Message-ID: <20050707173112.22350.dvilleneuve@kronos.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug libstdc++/22350] New: libstdc++.so.1 does not contain a runpath parameter X-Bugzilla-Reason: CC X-SW-Source: 2005-07/txt/msg00781.txt.bz2 List-Id: When linking a C++ application with a -Rrunpath option giving the location of both libstdc++.so.1 and libgcc_s.so.1, and then running the application without that location in LD_LIBRARY_PATH, ld.so.1 complains that libgcc_s.so.1 can't be found as a dependency of libstdc++.so.1. This seems to be because the runpath of the application in not used by ld.so.1 to find the dependency of libstdc++.so.1, and this library is built without any internal way to find libgcc_s.so.1, on which it depends. This can also be ovserved in gcc-3.3.3 on solaris2.9. -- Summary: libstdc++.so.1 does not contain a runpath parameter Product: gcc Version: 3.2.2 Status: UNCONFIRMED Severity: minor Priority: P2 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dvilleneuve at kronos dot com CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: sparc-sun-solaris2.7 GCC host triplet: sparc-sun-solaris2.7 GCC target triplet: sparc-sun-solaris2.7 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22350