This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch libgfortran] path to libquadmath


On Sun, 28 Nov 2010, Ralf Wildenhues wrote:

> * John David Anglin wrote on Sun, Nov 28, 2010 at 09:42:43PM CET:
> > The current relative path to libquadmath can be incorrectly interpreted
> > on systems that hard code library paths.  In particular, on 32-bit
> > hppa*-*hpux*, the '..' part of the path is relative to the final executable.
> > As a result, all libgfortran tests fail due to a dynamic loader error.
> > 
> > The patch changes the path to an absolute path.
> > 
> > Tested on hppa2.0w-hp-hpux11.11 and i686-apple-darwin9 with no observed
> > regressions.
> > 
> > OK for trunk?
> 
> That doesn't seem to make sense to me.  The fix should be in ltmain.sh
> or in libtool.m4.  Please post the output of how libquadmath is linked
> on your system (the 'libtool --mode=link' command plus all of its
> output).

Attached link output with no patch and with patch.  Patch changes
-L path to libquadmath.  Note the patch is for libgfortran.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)

Attachment: link-libgfortran-nopatch
Description: Text document

Attachment: link-libgfortran-patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]