Building OpenJDK libraries using IcedTea Project for JamVM

Roman Davidenko rid50 at hotmail.com
Sat Dec 20 09:29:41 UTC 2014


".... if you just want a CACAO build, all you need is --enable-cacao and the build will download and use the right zip for you..."I did this already (with CACAO) and got `JVM_FindClassFromCaller'. I think I will get the same with the current stable 1.5.4 release of JamVM, the build will download I guess. Am I right? That's why I'd like to use the JamVM's current snapshot 2.0.0 that is, I guess, free of   "JVM_*" symbol issue.
Also, how about this:mkdir icedtea-buildcd icedtea-build../icedtea-2.5.3/configure --prefix=/var/www/icedtea-2.5.3 --disable-Werror --disable-system-gio --disable-system-kerberos --disable-system-jpeg --disable-system-gif --disable-system-lcms --disable-compile-against-syscalls --disable-native-debuginfo --disable-java-debuginfo --disable-docsmakethe build is fine# /var/www/icedtea/icedtea-build/openjdk.build/bin/java -versionjava version "1.7.0_71"OpenJDK Runtime Environment (IcedTea 2.5.3) (RedHatEnterpriseServer build 1.7.0_71-b14)OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)but[root at tawzee icedtea-build]# make installmake: Nothing to be done for `install'.RegardsRoman



> Date: Fri, 19 Dec 2014 07:05:17 -0500
> From: gnu.andrew at redhat.com
> To: rid50 at hotmail.com
> CC: stefan at complang.tuwien.ac.at; distro-pkg-dev at openjdk.java.net
> Subject: Re: Building OpenJDK libraries using IcedTea Project for JamVM
> 
> 
> 
> ----- Original Message -----
> > Thank you, Stefan, I will definitely use your hack. 
> 
> Please don't. For one thing, it's completely unnecessary to go chopping bits
> out of the Makefile, when you can just update the checksum. For another, if
> you just want a CACAO build, all you need is --enable-cacao and the build
> will download and use the right zip for you.
> 
> > I have already created
> > the tarball you suggested, but can't run a build.Right now, with a help of
> > Andrew, I built Hotspot JVM with IcedTea
> > 
> > /var/www/icedtea/icedtea-build/openjdk.build/bin/java -versionjava version
> > "1.7.0_71"OpenJDK Runtime Environment (IcedTea 2.5.3)
> > (RedHatEnterpriseServer build 1.7.0_71-b14)OpenJDK 64-Bit Server VM (build
> > 24.65-b04, mixed mode)
> > Now, I try to build JamVM.I don't want to delete icedtea-build directory,
> > because it took about 1,5 hour for the previous build, so:cd
> > icedtea-build../icedtea-2.5.3/configure --prefix=/var/www/jamvm-2.0.0
> > --enable-jamvm --with-jamvm-src-zip=/var/www/jamvm/jamvm-2.0.0.tgz
> > --disable-Werror --disable-system-gio --disable-system-kerberos
> > --disable-system-jpeg --disable-system-gif --disable-system-lcms
> > --disable-compile-against-syscalls --disable-native-debuginfo
> > --disable-java-debuginfo --disable-docs
> > makemake: Nothing to be done for `all'.
> > The config.log is attached
> 
> Because the build has been done. If you're starting with a different configuration,
> you need a new build directory.
> 
> > Appreciate guys your help.RegardsRoman
> > P.S. During a couple of forthcoming days my office is off, I will continue my
> > quest Sunday.
> > 
> > 
> > 
> > > Date: Wed, 17 Dec 2014 08:34:22 -0500
> > > From: gnu.andrew at redhat.com
> > > To: stefan at complang.tuwien.ac.at
> > > CC: rid50 at hotmail.com; distro-pkg-dev at openjdk.java.net
> > > Subject: Re: Building OpenJDK libraries using IcedTea Project for JamVM
> > > 
> > > 
> > > 
> > > ----- Original Message -----
> > > > > FWIW, you should be able to create a snapshot zip from
> > > > > http://sourceforge.net/p/jamvm/code/, which contains an implementation
> > > > > of the missing function, and use IcedTea's --with-jamvm-src-zip
> > > > > switch.
> > > > 
> > > > This does not work. I managed to build it in a slightly hacky way now:
> > > > 
> > > > The snapshot file from sourceforge cannot be used directly. Despite it
> > > > being called src-zip, icedtea expects it to be a .tar.gz file. The
> > > > directory inside the tarball must have a name like "jamvm-*". I
> > > > created mine using this:
> > > > 
> > > > git archive --prefix=jamvm-2.0.0/ HEAD |gzip > ~/temp/jamvm.tgz
> > > > 
> > > > Unfortunately, when using this option, the sha256sum will still be
> > > > checked, so I just removed the entire if-block from the Makefile (look
> > > > for JAMVM_SHA256SUM).
> > > > 
> > > > $ ./openjdk.build/j2sdk-image/bin/java -version
> > > > java version "1.7.0_71"
> > > > IcedTea Runtime Environment (2.5.4pre01+rf7b45c531997) (CentOS build
> > > > 1.7.0_71-b14)
> > > > JamVM (build 2.0.1-devel, inline-threaded interpreter)
> > > > 
> > > 
> > > This is by design. The IcedTea build is set to work with the versions
> > > of JamVM and CACAO it has been tested with.
> > > --
> > > Andrew :)
> > > 
> > > Free Java Software Engineer
> > > Red Hat, Inc. (http://www.redhat.com)
> > > 
> > > PGP Key: 248BDC07 (https://keys.indymedia.org/)
> > > Fingerprint = EC5A 1F5E C0AD 1D15 8F1F  8F91 3B96 A578 248B DC07
> > > 
> > 
> 
> -- 
> Andrew :)
> 
> Free Java Software Engineer
> Red Hat, Inc. (http://www.redhat.com)
> 
> PGP Key: 248BDC07 (https://keys.indymedia.org/)
> Fingerprint = EC5A 1F5E C0AD 1D15 8F1F  8F91 3B96 A578 248B DC07
> 
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20141220/f89e8805/attachment.html>


More information about the distro-pkg-dev mailing list