From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13306 invoked by alias); 19 Dec 2010 18:31:27 -0000 Received: (qmail 13291 invoked by uid 22791); 19 Dec 2010 18:31:26 -0000 X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_40,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mailout-de.gmx.net (HELO mail.gmx.net) (213.165.64.23) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Sun, 19 Dec 2010 18:31:22 +0000 Received: (qmail invoked by alias); 19 Dec 2010 18:31:19 -0000 Received: from xdsl-89-0-87-89.netcologne.de (EHLO localhost.localdomain) [89.0.87.89] by mail.gmx.net (mp035) with SMTP; 19 Dec 2010 19:31:19 +0100 Received: from ralf by localhost.localdomain with local (Exim 4.69) (envelope-from ) id 1PUO2R-0001CQ-09; Sun, 19 Dec 2010 19:31:19 +0100 Date: Sun, 19 Dec 2010 19:35:00 -0000 From: Ralf Wildenhues To: John David Anglin Cc: gcc-patches@gcc.gnu.org, fortran@gcc.gnu.org, libtool-patches@gnu.org Subject: Re: ping: [PATCH libtool] hardcoded path to dependent shared libraries on 32-bit hpux (libquadmath) Message-ID: <20101219183118.GX7020@gmx.de> Mail-Followup-To: John David Anglin , gcc-patches@gcc.gnu.org, fortran@gcc.gnu.org, libtool-patches@gnu.org References: <20101128204243.GA2551@hiauly1.hia.nrc.ca> <20101128205655.GO2003@gmx.de> <20101210165825.GA28835@hiauly1.hia.nrc.ca> <20101219160436.GA14934@hiauly1.hia.nrc.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101219160436.GA14934@hiauly1.hia.nrc.ca> User-Agent: Mutt/1.5.20 (2010-08-04) X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2010-12/txt/msg01543.txt.bz2 * John David Anglin wrote on Sun, Dec 19, 2010 at 05:04:36PM CET: > Ping. > > On Fri, 10 Dec 2010, John David Anglin wrote: > > The attached change to ltmain.sh fixes the above problem on on 32-bit > > hppa*-*hpux*. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. > > > > Would you please apply if ok to libtool, gcc and sourceware? Sorry for the delay, I really would like to test the patch on the Libtool tree on a couple of systems, and write a Libtool testsuite addition for it, so we don't regress in the future. I hope to get to it before the end of the calendar year. If you'd like to help, you can download the Libtool source tree (git or nightly tarball from the website), apply the patch, run 'make -k check' and send the log files the output tells to send, on the HP systems you have available for testing. Thanks, Ralf > > 2010-12-10 John David Anglin > > > > * ltmain.sh (relink): Use absolute path when hardcoding with -L. > > > > Index: ltmain.sh > > =================================================================== > > --- ltmain.sh (revision 167668) > > +++ ltmain.sh (working copy) > > @@ -5928,7 +5928,7 @@ > > test "$hardcode_direct_absolute" = no; then > > add="$dir/$linklib" > > elif test "$hardcode_minus_L" = yes; then > > - add_dir="-L$dir" > > + add_dir="-L$absdir" > > # Try looking first in the location we're being installed to. > > if test -n "$inst_prefix_dir"; then > > case $libdir in