Latest instructions on getting and patching
Charles Oliver Nutter
charles.nutter at sun.com
Sun Mar 29 10:06:54 PDT 2009
Charles Oliver Nutter wrote:
> Ok, another attempt. John Rose has rebased the patches for bsd-port, and
> I've got a build running. The above instructions are ok, except that
> RELAX_CHECKS=true was necessary for the make portion. So my modified
> sequence:
>
> 1. get a buildable bsd-port by following Stephen Bannasch's instructions
> here:
> http://confluence.concord.org/display/CCTR/Build+OpenJDK+Java+1.7.0+on+Mac+OS+X+10.5
> 2. somewhere else, mkdir davinci
> 3. cd davinci
> 4. ln -s ../bsd-port sources
> 5. hg fclone http://hg.openjdk.java.net/mlvm/mlvm patches
> 6. (cd patches/make; gnumake setup)
> 7. export RELAX_CHECKS=true
> 8. (cd patches/make; gnumake)
>
> It's building now. I believe this sequence only applies the "testable"
> items, which includes only method handles right now.
I think I managed to successfully build everything with all "testable"
patches. I did end up having to go into my bsd-port dir and make clean ;
make after the steps above; for whatever reason it didn't seem to build
successfully against my already-built copy.
To get the java.dyn.* classes included in rt.jar, I used Kirill's
makefile patch. I've attached a version in "extended git" format which
should apply cleanly.
I'm now trying to get invokedynamic to apply, since previously only
method handles were applying/building before.
John: I think indy is still not quite functional on bsd-port, yes? Maybe
I should just focus on playing with method handles for now?
- Charlie
More information about the mlvm-dev
mailing list