bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: Crippling change in ld memory/cpu consumption in v2.12/v2.13


From: Alan Modra
Subject: Re: Crippling change in ld memory/cpu consumption in v2.12/v2.13
Date: Thu, 12 Sep 2002 11:10:21 +0930
User-agent: Mutt/1.2.5i

On Wed, Sep 11, 2002 at 12:53:21PM -0500, Robert D. Kennedy wrote:
> On a Red Hat Linux 7.3 PC, the memory increased by 
> about a factor of 3 between v2.11.2 and v2.12 to link the same 65 MB 
> executable.

Are you exactly the same compiler when comparing different versions of
ld?  Newer gcc's will use new features of ld, like the string merge
capability.  You'll pay some penalty in mem usage for these features.

Do you see the same sort of memory increase if you use --no-keep-memory?
Try -z nocombreloc too.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre




reply via email to

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