[Top][All Lists]

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

[Bug binutils/2467] "ar q" gives quadratic memory use

From: drow at false dot org
Subject: [Bug binutils/2467] "ar q" gives quadratic memory use
Date: 17 Mar 2006 03:18:42 -0000

------- Additional Comments From drow at false dot org  2006-03-17 03:18 -------
Subject: Re:  "ar q" gives quadratic memory use

On Fri, Mar 17, 2006 at 12:46:53AM -0000, dcoutts at gentoo dot org wrote:
> This problem with ranlib/ar memory consumption is made worse by the fact that 
> we
> have to use xargs and invoke ar multiple times if we have a large number of
> archive members. This is of course because of restrictions on the size of
> command line arguments. When using "... | xargs ar q libfoo.a" we end up
> re-generating the symbol index multiple times (eg about 10 for the ghc
> libHSbase.a case). If ar supported -input then this would be better.

Recent versions support @file for this situation.  I don't know if this
was in the last release - I don't think so.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

reply via email to

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