Attila Szegedi wrote: > Other than that, my build process is as this (using an existing local > Hg repository): > > 1. back out current patches from bsd-port using "hg qselect --pop" on > jdk, hotspot, and langtools -- this is necessary to make sure fpull > and fupdate don't skip them > 2. hg fpull; hg fupdate in bsd-port > 3. hg fpull; hg fupdate in davinci/patches > 4. apply patches: cd davinci; (cd patches/make; gnumake setup); (cd > patches/make; gnumake patch) > 5. build: cd bsd-port; ./clean.sh; ./build.sh
I just tried to build it with a make in patches/make/ but that does not work. Normally I build in sources/ with a simple make (after setting up the patches). Unfortunately the HotSpot Queens test fails with: cd bsd_i486_compiler2/product && ./test_gamma openjdk full version "1.6.0-internal-landonf_17_may_2009_13_58-b00" Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object openjdk version "1.6.0-internal" OpenJDK Runtime Environment (build 1.6.0-internal-landonf_17_may_2009_13_58-b00) OpenJDK Server VM (build 16.0-b06, mixed mode) Exception in thread "main" java.lang.NoClassDefFoundError: Queens Caused by: java.lang.ClassNotFoundException: Queens at java.net.URLClassLoader$1.run(URLClassLoader.java:217) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at java.lang.ClassLoader.loadClass(ClassLoader.java:323) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) at java.lang.ClassLoader.loadClass(ClassLoader.java:268) This happens because the bootstrap javac picks up the newly built libjvm.dylib and that does not work. A simple fix for this is to add a "exit 0", before javac is called, into these files: build/bsd-i586/hotspot/outputdir/bsd_i486_compiler2/product/test_gamma build/bsd-i586/hotspot/outputdir/bsd_i486_compiler1/product/test_gamma Then the build succeeds. Still building the newly checked out version... -- Christian _______________________________________________ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev