Build fails because ant compiles without -1.5
Andrew John Hughes
gnu_andrew at member.fsf.org
Mon Oct 1 06:48:45 PDT 2007
On Monday 01 October 2007 13:09:18 Lillian Angel wrote:
> Andrew Haley wrote:
> > Mark Wielaard writes:
> > > Hi Lillian,
> > >
> > > On Sun, 2007-09-30 at 22:53 -0400, Lillian Angel wrote:
> > > > Mark Wielaard wrote:
> > > > > I get the same as Matthew on Fedora 7. Where the system javac is
> > > > > of course just gcj/ecj. It looks like ant doesn't pick up the
> > > > > configured icedtea javac. Any ideas how to make it so?
> > > >
> > > > Do you get this problem if you change the system javac to the
> > > > IcedTea rpm installed ?
> > >
> > > There isn't an icedtea rpm for Fedora 7 as for as I know. I could try
> > > to fetch and install the Fedora 8 test ones I guess. Will try that
> > > later today. But that wouldn't help anybody on any system that doesn't
> > > have a "system icedtea" yet, which I suspect is the majority of
> > > hackers out there.
> > The real fix for this is to get IcedTea back into a state where we can
> > bootstrap with ecj. We're looking at it.
> Everyone will have to change their system javac whether we change this
> back to bootstapping with gcj or not. The use of ant is new in OpenJDK's
> b20 and it requires a compatible system jdk. It wont work with gcj.
I've not looked at the latest OpenJDK drop yet so I don't know exactly what
their Ant build does, but usually the javac used by ant is obtained through
tools.jar i.e. it's whatever com.sun.tools.javac.Main uses. This has bitten
me more than once when building JikesRVM. The same goes for ant and javah.
More information about the distro-pkg-dev