This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Speed up for_each_rtx


On Thu, Jan 20, 2005 at 05:52:00PM +0100, Michael Matz 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.

And you also want to avoid -Wl,-O1 when linking libgcj.so.
That is quadratic in number of dynamic symbols and libgcj.so has many
thousands of them.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]