[PATCH] Speed up for_each_rtx

Michael Matz matz@suse.de
Thu Jan 20 16:52:00 GMT 2005


Hi,

On Thu, 20 Jan 2005, Paolo Bonzini wrote:

> (I'll point out once more that a long time in bootstrap is spent in ld
> -- about 8 minutes).

You need enough memory so that the .o files for libjava can be cached 
(i.e. while linking there shouldn't be too much head thrashing, otherwise 
you have not enough).
  
And you need not-too-old versions of binutils, otherwise the merging of 
strings (of which there are many for debuggable objects and even without) 
is quadratic.

For me libgcj.so links in about 24 seconds.


Ciao,
Michael.



More information about the Gcc-patches mailing list