This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: gcc+gcj build-times?
Alexandre Oliva writes:
> On Feb 22, 2006, Andrew Haley <aph@redhat.com> wrote:
>
> > Yes, I remember that. If you have a look at the build when it's
> > swapping, please let us know exactly what is running at that time.
>
> It is ld creating libgcj.so. I remember running full bootstraps of
> GCC was the reason why I got my Athlon64 notebook upgraded from 512MB
> to 2G of RAM (well over the alleged maximum of 1280MB specified in the
> manual :-) about half a year ago, as soon as the 1-year warranty
> expired. Getting to the end-user-inaccessible memory module can
> really do wonders :-)
>
> Breaking up the single huge library into multiple smaller ones would
> probably reduce the link-time memory requrements, but that would be
> trading build time for run time. I'm not sure it's worth it by
> default, but we could try to introduce some configure-time switches to
> disable the one-huge-library model. It might be a bit of a pain to
> maintain that though.
It's already hard to maintain!
I've been wondering if it was some specific link optimization (such as
string merging) causing the pain.
Andrew.