[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Add hppa*64* support to libtool (HEAD branch)
From: |
Albert Chin |
Subject: |
Re: Add hppa*64* support to libtool (HEAD branch) |
Date: |
Wed, 18 Dec 2002 21:00:53 -0600 |
User-agent: |
Mutt/1.4i |
On Wed, Dec 18, 2002 at 09:05:17PM -0500, John David Anglin wrote:
> > Ross's patch won't work. Dependency libraries are one failure. I have
> > some queries on the main libtool list (and would *really* appreciate
> > followup on the queries). I do have a working libtool for the 1.4
> > branch for hppa64 based on the work Ross did. I'll try to look into
> > merging my changes with Ross's for the 1.5 branch.
>
> I'll take a look. This is currently a problem in gcc in that constructors
> /destructors don't run in dependent libraries with the GNU linker. We
> don't have a way to determine the dependencies that works in all cases.
> I am testing a patch now to use the +init/+fini switches to run constructors
> on the 32-bit port with the HP linker. This can also be used on hppa64
> with the HP linker. I would like to get the GNU linker enhanced so this
> will work as well with it. With this in place, I don't think it will
> be necessary for libtool to search for dependencies beyond the executable
> or shared library. ldd should work with executables linked with the HP
> linker. If I recall correctly, it doesn't like GNU linked executables
> although it will work on shared libraries.
>
> Is the above relevant to the libtool situation?
By "dependency libraries" I meant hardcoding the path to a dependent
library into the library needing the dependency (+b when creating a
library).
Because I merged Ross's patch into the 1.4 branch,
constructors/destructors don't come into play.
We're using HP CC/HP ld for our hppa64 work at present. Though we are
also testing a GCC/HP ld for hppa64, we haven't tested it with libtool
yet (1.4 or 1.5).
--
albert chin (address@hidden)
Re: Add hppa*64* support to libtool (HEAD branch), ross . alexander, 2002/12/19
Re: Add hppa*64* support to libtool (HEAD branch), Albert Chin, 2002/12/19
Re: Add hppa*64* support to libtool (HEAD branch), ross . alexander, 2002/12/19