From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27217 invoked by alias); 7 Feb 2006 16:48:18 -0000 Received: (qmail 27199 invoked by uid 48); 7 Feb 2006 16:48:17 -0000 Date: Tue, 07 Feb 2006 16:48:00 -0000 Message-ID: <20060207164817.27198.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libgcj/17311] Wrong libgcc_s.so.1 is used by lt-gij In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: java-prs@gcc.gnu.org From: "hjl at lucon dot org" Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org X-SW-Source: 2006-q1/txt/msg00162.txt.bz2 List-Id: ------- Comment #20 from hjl at lucon dot org 2006-02-07 16:48 ------- What did you mean by *installed programs*. The executable in question is [hjl@gnu-13 .libs]$ readelf -d /export/build/gnu/gcc/build-x86_64-linux/x86_64-unknown-linux-gnu/libjava/.libs/gij | grep RPATH 0x000000000000000f (RPATH) Library rpath: [/usr/gcc-4.2/lib/../lib64] Is is your *installed programs*? My point is when you run a newly built executable in the build tree, it should use the newly built shared libraries in the build tree. It is a long standing bug in gcc/libtool. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17311