public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Re: import newer Libtool?
       [not found]             ` <4D2EC087.2000403@gnu.org>
@ 2011-01-13 18:53               ` Ralf Wildenhues
  0 siblings, 0 replies; only message in thread
From: Ralf Wildenhues @ 2011-01-13 18:53 UTC (permalink / raw)
  To: Paolo Bonzini, binutils, gdb-patches
  Cc: Richard Guenther, gcc-patches, John David Anglin

* Paolo Bonzini wrote on Thu, Jan 13, 2011 at 10:06:15AM CET:
> On 01/12/2011 06:35 PM, Ralf Wildenhues wrote:
> >>>  - linking/testing/installing on HP-UX should work again
> >>>     <http://gcc.gnu.org/ml/gcc-patches/2010-12/msg00893.html>,
> >In that case I'd still like to ask for committing the above one-line
> >patch to trunk right away; it had been submitted in time but we simply
> >didn't get it analyzed in time.  I think that it may even be considered
> >a regression because due to libquadmath not existing in 4.5 GCC did not
> >have this issue before.  OK?
> 
> That's okay if the patch is in upstream Libtool.

Yes, it is.  I've pushed it now in John's name, and am merging to src.

Thanks,
Ralf

Backport from Libtool: Fix relink mode to use absolute path if hardcode_minus_L.

2011-01-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

	* ltmain.sh (relink): Use absolute path when hardcoding with -L.

diff --git a/ltmain.sh b/ltmain.sh
index cba8b4c..a03433f 100644
--- a/ltmain.sh
+++ b/ltmain.sh
@@ -5928,7 +5928,7 @@ func_mode_link ()
 	         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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-01-13 18:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20110110070111.GC24102@gmx.de>
     [not found] ` <4D2ABF80.1080201@gnu.org>
     [not found]   ` <AANLkTim+DQq1OU1An9BVhoNHQbdR05Y3ZUHOTznrA+f7@mail.gmail.com>
     [not found]     ` <AANLkTin0pR4tb8kFvEdSgLiDMk2kgNXwT7J3JS9LPncc@mail.gmail.com>
     [not found]       ` <AANLkTikM2=gNYaFJuDmTkif2TCqeHQGHbcXgZZhSuNA9@mail.gmail.com>
     [not found]         ` <20110110182426.GA15069@gmx.de>
     [not found]           ` <20110112173553.GA26529@gmx.de>
     [not found]             ` <4D2EC087.2000403@gnu.org>
2011-01-13 18:53               ` import newer Libtool? Ralf Wildenhues

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).