Re: Oracle Solaris Studio 12.2 compiler incompatibility with libtool

2011-01-09 Thread Ralf Wildenhues
* Ethan Mallove wrote on Mon, Dec 20, 2010 at 03:29:01PM CET:
> On Mon, Dec/20/2010 08:06:27AM, Ralf Wildenhues wrote:
> > Ping!
> 
> Tested.  Looks good!

Thanks, and apologies for the delay on my side now.  Pushed.

Cheers,
Ralf

> > > >>2010-11-18  Ralf Wildenhues<...
> > > >>
> > > >>Fix $wl setting for Solaris Studio 12.2 f90 on GNU/Linux.
> > > >>* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [linux]
> > > >>: Set to '-Qoption ld ' if we
> > > >>detect Sun Fortran version 8.4 or newer.
> > > >>Report by Terry Dontje.



Re: [patch libgfortran] path to libquadmath

2011-01-09 Thread Ralf Wildenhues
* John David Anglin wrote on Fri, Dec 10, 2010 at 05:58:26PM CET:
> 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 long delay.  I'm applying this to Libtool.
I don't have a good test case yet, unfortunately, but I do think that it
is the right change to make within the current set of semantics Libtool
provides.

We need some facilities in the Libtool testsuite to generate binary
incompatible libraries more or less portably.

As to GCC, that's for another mail ...

Cheers,
Ralf

> 2010-12-10  John David Anglin  
> 
>   * ltmain.sh (relink): Use absolute path when hardcoding with -L.
> 

2011-01-09  John David Anglin(tiny change)

Fix relink mode to use absolute path if hardcode_minus_L.
* libltdl/config/ltmain.m4sh (func_mode_link): Use absolute path
when hardcoding with -L.

diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index d9e1cd2..7baa6aa 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -6050,7 +6050,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