Two small ecj tweaks

Mark Wielaard mark at klomp.org
Mon Dec 1 03:23:48 PST 2008


On Mon, 2008-12-01 at 11:03 +0000, Andrew Haley wrote:
> Mark Wielaard wrote:
> 
> > Two tweaks to make sure we have a fast bootstrap ecj available. This
> > makes sure that when we compile the ecj jar with gcj we use
> > -findirect-dispatch so any unresolved references in the jar itself don't
> > make the compilation fail (like what would happen with the
> > eclipse-ecj.jar from fedora 10).
> 
> Umm, really?  Yep really, I just checked.  eclipse-ecj.jar really does
> have references to classes that aren't included, so will fail at
> runtime if any of those classes are actually used.

They aren't used. I did a full bootstrap with a native-ecj.
Unfortunately f10 doesn't come with a precompiled ecj anymore in the
distro: https://bugzilla.redhat.com/show_bug.cgi?id=473674
natively compiled ecj is still much faster than anything else though
(especially since there are so many small compile runs, startup and
"warmup" kill you in that situation).

Cheers,

Mark




More information about the distro-pkg-dev mailing list