Hi I have now built the jvm. The two hours they mentioned is not really true. It takes a lot less time. I have not built the full jdk as it seems like copies things from the old jdk installation... Have not checked yet.
This is what the package contains right now. [EMAIL PROTECTED]:~/build/debian/_itp/openjdk-hotspot-jvm/openjdk-hotspot-jvm-7-ea-src-b02-08-nov-2006$ debc ../*.changes openjdk-hotspot-jvm_7-ea-src-b02-08-nov-2006-1_i386.deb ------------------------------------------------------- nytt debianpaket, version 2.0. storlek 5201036 byte: kontrollarkiv= 987 byte. 541 byte, 13 rader control 1141 byte, 15 rader md5sums Package: openjdk-hotspot-jvm Version: 7-ea-src-b02-08-nov-2006-1 Section: interpreters Priority: optional Architecture: i386 Depends: libc6 (>= 2.3.6-6) Installed-Size: 13236 Maintainer: Ola Lundqvist <[EMAIL PROTECTED]> Description: A JVM from Sun to run Java bytecode In addition to the expected class loader, bytecode interpreter, and supporting runtime routines, you get two runtime compilers from bytecode to native instructions, 3 (or so) garbage collectors, and a set of high-performance runtime libraries for synchronization, etc. drwxr-xr-x root/root 0 2006-11-16 20:39 ./ drwxr-xr-x root/root 0 2006-11-16 20:38 ./usr/ drwxr-xr-x root/root 0 2006-11-16 20:38 ./usr/include/ -rw-r--r-- root/root 77508 2006-11-16 20:38 ./usr/include/jvmti.h -rw-r--r-- root/root 68996 2006-11-16 20:38 ./usr/include/jni.h drwxr-xr-x root/root 0 2006-11-16 20:38 ./usr/include/linux/ -rw-r--r-- root/root 1780 2006-11-16 20:38 ./usr/include/linux/jni_md.h -rw-r--r-- root/root 13258 2006-11-16 20:38 ./usr/include/jmm.h drwxr-xr-x root/root 0 2006-11-16 20:38 ./usr/share/ drwxr-xr-x root/root 0 2006-11-16 20:38 ./usr/share/doc/ drwxr-xr-x root/root 0 2006-11-16 20:39 ./usr/share/doc/openjdk-hotspot-jvm/ drwxr-xr-x root/root 0 2006-11-16 20:38 ./usr/share/doc/openjdk-hotspot-jvm/platform/ drwxr-xr-x root/root 0 2006-11-16 20:38 ./usr/share/doc/openjdk-hotspot-jvm/platform/jvmti/ -rw-r--r-- root/root 1082083 2006-11-16 20:38 ./usr/share/doc/openjdk-hotspot-jvm/platform/jvmti/jvmti.html -rw-r--r-- root/root 2821 2006-11-14 19:53 ./usr/share/doc/openjdk-hotspot-jvm/copyright -rw-r--r-- root/root 194 2006-11-14 19:56 ./usr/share/doc/openjdk-hotspot-jvm/changelog.Debian.gz drwxr-xr-x root/root 0 2006-11-16 20:38 ./usr/lib/ drwxr-xr-x root/root 0 2006-11-16 20:38 ./usr/lib/openjdk-hotspot-jvm/ drwxr-xr-x root/root 0 2006-11-16 20:39 ./usr/lib/openjdk-hotspot-jvm/jrearch/ drwxr-xr-x root/root 0 2006-11-16 20:39 ./usr/lib/openjdk-hotspot-jvm/jrearch/server/ -rw-r--r-- root/root 1423 2006-11-16 20:38 ./usr/lib/openjdk-hotspot-jvm/jrearch/server/Xusage.txt -rw-r--r-- root/root 5584 2006-11-16 20:39 ./usr/lib/openjdk-hotspot-jvm/jrearch/server/libjsig.so -rw-r--r-- root/root 6175684 2006-11-16 20:39 ./usr/lib/openjdk-hotspot-jvm/jrearch/server/libjvm.so drwxr-xr-x root/root 0 2006-11-16 20:39 ./usr/lib/openjdk-hotspot-jvm/jrearch/client/ -rw-r--r-- root/root 1423 2006-11-16 20:38 ./usr/lib/openjdk-hotspot-jvm/jrearch/client/Xusage.txt -rw-r--r-- root/root 5584 2006-11-16 20:39 ./usr/lib/openjdk-hotspot-jvm/jrearch/client/libjsig.so -rw-r--r-- root/root 4549660 2006-11-16 20:39 ./usr/lib/openjdk-hotspot-jvm/jrearch/client/libjvm.so -rw-r--r-- root/root 28836 2006-11-16 20:39 ./usr/lib/openjdk-hotspot-jvm/jrearch/libsaproc.so -rw-r--r-- root/root 1503518 2006-11-16 20:38 ./usr/lib/sa-jdi.jar To me it looks like very few files and I especially miss the interpreter. Or is this the JVM and that we should expect only this? This is my install line. (cd make; $(MAKE) export_product \ ALT_EXPORT_PATH=$(INSTD) \ EXPORT_DOCS_DIR=$(INSTD)/share/doc/openjdk-hotspot-jvm \ EXPORT_JRE_DIR=$(INSTD)/lib/openjdk-hotspot-jvm/jre \ EXPORT_JRE_LIB_DIR=$(INSTD)/lib/openjdk-hotspot-jvm/jrelib \ EXPORT_JRE_LIB_ARCH_DIR=$(INSTD)/lib/openjdk-hotspot-jvm/jrearch \ EXPORT_JRE_BIN_DIR=$(INSTD)/bin \ MILESTONE=debian \ ALT_SLASH_JAVA=/opt/jdk1.6.0/bin \ ALT_BOOTDIR=/opt/jdk1.6.0) It seems like I have to change it some more. I just wanted to get some feedback on what you think about it so far. Do you want me to upload the current diff file to some public site? Regards, // Ola On Tue, Nov 14, 2006 at 09:47:36PM +0100, Ola Lundqvist wrote: > Hi > > Anyone knows what this can be? Trying to build the sun hotspot jvm... > > make[4]: Leaving directory > `/home/ola/build/debian/_itp/openjdk-hotspot-jvm/openjdk-hotspot-jvm-7-ea-src-b02-08-nov-2006/build/linux/linux_i486_compiler2/product' > cd linux_i486_compiler2/product && ./test_gamma > ./gamma: error while loading shared libraries: ./libjvm.so: unexpected PLT > reloc type 0x08 > make[3]: *** [product] Fel 127 > make[3]: Leaving directory > `/home/ola/build/debian/_itp/openjdk-hotspot-jvm/openjdk-hotspot-jvm-7-ea-src-b02-08-nov-2006/build/linux' > make[2]: *** [generic_build2] Fel 2 > make[2]: Leaving directory > `/home/ola/build/debian/_itp/openjdk-hotspot-jvm/openjdk-hotspot-jvm-7-ea-src-b02-08-nov-2006/make' > make[1]: *** [product] Fel 2 > make[1]: Leaving directory > `/home/ola/build/debian/_itp/openjdk-hotspot-jvm/openjdk-hotspot-jvm-7-ea-src-b02-08-nov-2006/make' > make: *** [build-stamp] Fel 2 > > What is a PLT relocation type? > > I'm not sure that they have actually tried to build this on Linux > as I need to patch a couple of things in order to make it build. Maybe > they have some other shell? > > Regards, > > // Ola > > On Tue, Nov 14, 2006 at 07:57:17AM +0100, Ola Lundqvist wrote: > > Package: wnpp > > Severity: normal > > > > Hi > > > > I intend to package the jvm from Sun. > > > > License: GPL with classpath exception > > URL: https://openjdk.dev.java.net/hotspot/ > > > > I have not yet determined exactly what is needed to build it. > > According to the documentation it need a bootstrap jvm and javac > > from sun, but I'll see if I can arrange that in some other > > way, so it at least can build with itself and the sun javac that > > is also GPL software now. > > > > If it needs the classes from Sun, then we have to wait until spring > > when they release that (according to rumors at least). > > > > Regards, > > > > // Ola > > > > -- > > --------------------- Ola Lundqvist --------------------------- > > / [EMAIL PROTECTED] Annebergsslingan 37 \ > > | [EMAIL PROTECTED] 654 65 KARLSTAD | > > | +46 (0)54-10 14 30 +46 (0)70-332 1551 | > > | http://www.opal.dhs.org UIN/icq: 4912500 | > > \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 / > > --------------------------------------------------------------- > > > > > > -- > > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > > > > > -- > --------------------- Ola Lundqvist --------------------------- > / [EMAIL PROTECTED] Annebergsslingan 37 \ > | [EMAIL PROTECTED] 654 65 KARLSTAD | > | +46 (0)54-10 14 30 +46 (0)70-332 1551 | > | http://www.opal.dhs.org UIN/icq: 4912500 | > \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 / > --------------------------------------------------------------- > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > -- --------------------- Ola Lundqvist --------------------------- / [EMAIL PROTECTED] Annebergsslingan 37 \ | [EMAIL PROTECTED] 654 65 KARLSTAD | | +46 (0)54-10 14 30 +46 (0)70-332 1551 | | http://www.opal.dhs.org UIN/icq: 4912500 | \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 / --------------------------------------------------------------- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]