Extra Zero/Shark patches for review

Landon Fuller landonf at plausible.coop
Wed Dec 2 21:30:56 PST 2009


On Nov 30, 2009, at 8:38 AM, Greg Lewis wrote:

> That's pretty much what I did for sparc64.  There were a couple of issues.
> 
> 1. You need an extra script to do ant since the openjdk7 build uses that.
>   I don't recall the jdk16 build needing it.  That's trivial to add.
> 
> 2. Parts of the build where it generated source didn't always seem to work
>   (produced files that were truncating or the like).  I suspect this has
>   something to do with the redirection it uses.  I ended up using a lot of
>   generated source from a build on a different machine.
> 
> FWIW.
> 
> I suspect you can hack away on this and get ppc up and running though :).

With some munging I was able to get a semi-functional bootstrap VM built using Havard's scripts, and then use that to build a proper second stage bootstrap.

The second stage built openjdk natively just fine, and the result seems to work in my very limited testing:
	landonf at onefish:~/openjdk-ppc/bsd-port> ./build/bsd-ppc/j2sdk-image/bin/java -version
	openjdk version "1.7.0-internal" OpenJDK Runtime Environment (build 1.7.0-internal-landonf_2009_12_02_14_21-b00) 
	OpenJDK Zero VM (build 17.0-b05, interpreted mode) 

Once I have some more free time (probably this weekend) I have a few minor PPC fixes I'll be committing, and I'll plan on posting binaries and instructions to make bootstrapping a bit easier.

-landonf


More information about the bsd-port-dev mailing list