[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FYI: libtool--devo--1.0--patch-90
From: |
Gary V. Vaughan |
Subject: |
Re: FYI: libtool--devo--1.0--patch-90 |
Date: |
Thu, 29 Jul 2004 13:34:02 +0100 |
User-agent: |
Mozilla Thunderbird 0.7 (X11/20040615) |
Hi Peter!
Peter O'Gorman wrote:
>> The mdemo-inst.test, mdemo-dryrun.test, & mdemo-inst.test tests, are
>> failing now under FreeBSD 5.0, but all tests were passing several days
>> ago.
>
> I had a look, but a decent solution escapes me. Gary's "obvious bug fix"
> here has the (presumably intended) effeect of adding libdlloader.la to
> libltdl.la and libltdlc.la's dependency_libs.
No, that shouldn't happen. From libltdl/Makefile.am:
libltdlc_la_LIBADD = $(libdlloader_la_OBJECTS) $(libdlloader_la_LIBADD)
So, libltdlc.a contains copies of the libdlloader objects, plus any LTLIBOBJS
for the host (e.g. the argz objects on darwin).
But you're right in that libltdlc.la says:
dependency_libs='/Users/gary/devel/savannah/libtool--devo--1.0/+build/libltdl/libdlloader.la
-ldl '
:-(
> I have no idea why it was
> passing all tests before on darwin and FreeBSD, perhaps we need to add a
> test that specifically uses libdlloader functionality (whatever that is,
> haven't looked). However, now it is there and when mdemo on darwin comes
> to build with --disable-shared, it builds all static libs in mdemo, but
> libltdl is already built, it is already built with shared libs, so there
> is a libdllloader.la that has shared libraries. libtool sees them and
> uses them. Properly so, in my opinion.
Nup, libltdlc is self contained for this reason. All tests pass on my Panther
10.3.4 box though. I'll see if I can figure out how to prevent libdlloader
being added to libltdlc.la...
> If --disable-shared always preferred static libs regardless of their
> location (i.e. acted like the -static flag) then we'd be fine too. But
> that is not the intent of --disable-shared.
Agreed.
> Anyone got any ideas?
Give me a minute, I'll see if I can fix it.
Cheers,
Gary.
--
Gary V. Vaughan ())_. address@hidden,gnu.org}
Research Scientist ( '/ http://tkd.kicks-ass.net
GNU Hacker / )= http://www.gnu.org/software/libtool
Technical Author `(_~)_ http://sources.redhat.com/autobook
signature.asc
Description: OpenPGP digital signature