bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libtool 1.5.2 .libs/libfoo.a versus ar cru


From: Scott James Remnant
Subject: Re: libtool 1.5.2 .libs/libfoo.a versus ar cru
Date: Sun, 14 Mar 2004 14:12:47 +0000

On Wed, 2004-03-10 at 23:17, Kevin Ryde wrote:

I believe you're actually reporting to separate problems here, yes?

> In libtool 1.5.2 on a recent i386 debian, when libtool is asked to
> link (--mode=link) a library, it doesn't remove the previous .a
> library (eg. .libs/libfoo.a) before running "ar cru".
> 
This is done because Libtool will often make multiple passes to create
the static archive.

It is supposed to remove them at the start of the command, but there's a
bug in the -precious-files-regex handling which causes them to be
considered precious; will fix that.

> Secondly if two object files have the same name, in different
> directories (eg. x/foo.lo, y/foo.lo), then the way GNU ar works is to
> end up with just the second in the .a, if that .a already contains an
> object file of that name (foo.o).

> For what it's worth, I noticed this attempting to upgrade GMP to
> libtool 1.5.2.  It has files of the same name in different directories
> (eg. mpz/set_f.lo and mpq/set_f.lo) and gets bitten by the second case
> above.
> 
This is an entirely different problem, isn't it?

Scott
-- 
Have you ever, ever felt like this?
Had strange things happen?  Are you going round the twist?

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]