Build progress on Mac OS X PowerPC
Michael Franz
mvfranz at gmail.com
Sun Nov 15 07:41:52 PST 2009
On Sun, Nov 15, 2009 at 10:00 AM, Andrew John Hughes <
gnu_andrew at member.fsf.org> wrote:
> 2009/11/15 Michael Franz <mvfranz at gmail.com>:
> > Eric,
> >
> > I have encountered this issue before. I am not sure what I did to fix
> it.
> > I think I used ecj instead of the Apple javac. Check the javac perl
> script
> > that IcedTea has. The other option is to apply this patch in the
> required
> > build files.
> >
> >
> http://cr.openjdk.java.net/~andrew/ecj/01/webrev.01/make/build.xml.udiff.html<http://cr.openjdk.java.net/%7Eandrew/ecj/01/webrev.01/make/build.xml.udiff.html>
> >
>
> That patch is in OpenJDK:
> http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/2aa3a1cdb094
>
> > Here is my initial post on this
> >
> http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2009-August/006857.html
> >
> > If I remember correctly, there is a tool that is compiled by ant (the two
> in
> > the output), but it is not compiled with Java 5 byte code. When ant
> tries
> > to run the tool you get that error.
> >
> > I would switch to using ecj, as you might be able to get past this issue,
> > there is another issue that will come up and ecj acts differently than
> javac
> > and you really need the ecj way of doing things. This is my original
> email
> > on this:
> >
> http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2009-August/006879.html
> >
>
> ecj is currently the only supported method for doing a build without
> --disable-bootstrap, but that may change in the future.
> Note that a normal OpenJDK build requires a Sun-based implementation
> of Java 6, due to dependence on com.sun classes and AWT classes that
> are part of the 1.6 specification. We do our best to get round this
> for IcedTea bootstrapping, but that testing is based on ecj+gcj not
> Apple's products.
>
> It is possible to build IcedTea 1.11 using Apple's JDK 5 with ecj and the
bsd port repo. There are hoops to jump through, but it works.
I mostly worked on this since I could no-longer build OpenJDK 7 with a
previous OpenJDK 7 and could not figure out why it was not working. Using
the IcedTea bootstrap process was simpler and should help in bring
zero/shark to PowerPC Macs.
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20091115/f61b20d8/attachment.html
More information about the distro-pkg-dev
mailing list