libtool-patches
[Top][All Lists]
Advanced

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

Re: static library contains static library


From: Gary V. Vaughan
Subject: Re: static library contains static library
Date: Sun, 3 Jun 2007 14:41:16 +0100

Hi Peter,

On 3 Jun 2007, at 06:37, Peter O'Gorman wrote:
On May 30, 2007, at 1:12 AM, Peter O'Gorman wrote:

Well, I haven't found the cause of this yet, but here's a test case. It is fun to do ar -t libbar.a and see:
__.SYMDEF SORTED
libfoo.a
bar.o
libfoo.a

because every libbar.a needs two libfoo.a's!

Reported by Daniel Macks from the fink project, but reproducible on linux as well as darwin.

I'll look for a fix later on. No I don't want to commit this right now, just wanted to share :)

I eliminated one of the two static archives, so this should make libtool either half as good or twice as good, depending on your point of view.
All other tests behave as before. Ok?

Looks good to me, except that we normally name test cases according to what is being tested, rather than who discovered the bug (otherwise most of our tests would be called bfriesen.test!).

Please rename to duplicate_oldlibs.at or similar, and commit :-)

Cheers,
        Gary
--
  ())_.              Email me: address@hidden
  ( '/           Read my blog: http://blog.azazil.net
  / )=         ...and my book: http://sources.redhat.com/autobook
`(_~)_ Join my AGLOCO Network: http://www.agloco.com/r/BBBS7912




Attachment: PGP.sig
Description: This is a digitally signed message part


reply via email to

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