ppc-aix-port/jdk8 now builds on Linux/PPC64 with the new build system

Steve Poole spoole at linux.vnet.ibm.com
Sun Apr 21 00:39:26 PDT 2013


hi guys -  I successfully build jdk8 on linux ppc following your instructions :-)  

However , jtreg tests fail out of the box due to the missing  292 support.  :-(

Exception in thread "main" java.lang.ClassFormatError: This JVM does not support constant tag 18 in class file java/time/LocalDateTime
	at sun.util.calendar.ZoneInfoFile.<clinit>(ZoneInfoFile.java:423)
	at sun.util.calendar.ZoneInfo.getTimeZone(ZoneInfo.java:590)
	at java.util.TimeZone.getTimeZone(TimeZone.java:566)
	at java.util.TimeZone.setDefaultZone(TimeZone.java:663)
	at java.util.TimeZone.getDefaultRef(TimeZone.java:630)
	at java.util.Date.normalize(Date.java:1196)
	at java.util.Date.toString(Date.java:1029)
	at java.util.Properties.store0(Properties.java:828)
	at java.util.Properties.store(Properties.java:817)
	at com.sun.javatest.WorkDirectory.saveInfo(WorkDirectory.java:1218)
	at com.sun.javatest.WorkDirectory.doWDinfo(WorkDirectory.java:719)
	at com.sun.javatest.WorkDirectory.<init>(WorkDirectory.java:705)
	at com.sun.javatest.WorkDirectory.createOrConvert(WorkDirectory.java:328)
	at com.sun.javatest.WorkDirectory.convert(WorkDirectory.java:283)
	at com.sun.javatest.regtest.Main.createParameters(Main.java:1843)
	at com.sun.javatest.regtest.Main.run(Main.java:1180)
	at com.sun.javatest.regtest.Main.run(Main.java:988)
	at com.sun.javatest.regtest.Main.main(Main.java:914)

If you can integrate the support by end of monday that would be great - gives me time to run the jtreg tests before our phone call.

In the meantime I'll fix up the Date class to work around the issue..


On 19 Apr 2013, at 16:45, Volker Simonis <volker.simonis at gmail.com> wrote:

> Hi,
> 
> with the last two changes (http://hg.openjdk.java.net/ppc-aix-port/jdk8/jdk/rev/80ac8abad16f and http://hg.openjdk.java.net/ppc-aix-port/jdk8/rev/b219e221798a) our ppc-aix-port JDK8 will now build with the new build system on Linux/PPC64.
> 
> On newer Linux distros like Fedora 17 it's as easy as:
> 
> sh /priv/openjdk/OpenJDK/ppc-aix-port/jdk8/configure --with-boot-jdk=/priv/openjdk/OpenJDK/openjdk1.7.0-ppc-aix-port-b03 --with-jvm-variants=server --with-jvm-interpreter=cpp --with-debug-level=slowdebug
> 
> make images LOG=debug
> 
> On older releases like SLES 10 you'll have to use something like:
> 
> sh /priv/openjdk/OpenJDK/ppc-aix-port/jdk8/configure --with-boot-jdk=/priv/openjdk/OpenJDK/openjdk1.7.0-ppc-aix-port-b03 --with-jvm-variants=server --with-jvm-interpreter=cpp --with-debug-level=release --with-extra-cflags=-m64 --with-extra-cxxflags=-m64 --with-extra-ldflags='-m64 -L/lib64' --x-libraries=/usr/X11R6/lib64 --x-includes=/usr/X11R6/include CFLAGS=-m64 CXXFLAGS=-m64
> 
> make images LOG=debug
> 
> The extra options and flags are mainly necessary because the GCC on the latter platform produces 32-bit binaries by default. Notice that the environment variables "CFLAGS=-m64 CXXFLAGS=-m64" are necessary for the configure script itself to detect the correct 64-bit platform while the configure options like "--with-extra-cflags" are needed in order to select the right flags for the build.
> 
> Notice that JSR292 support is still switched off, but besides that, everything else should work as expected (otherwise please let us know:) We'll fix the JSR292 stuff next week (that's just a matter of integrating our new implementation from ppc-aix-port/jdk7u/hotspot).
> 
> Regards,
> Volker
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/ppc-aix-port-dev/attachments/20130421/35c99030/attachment.html 


More information about the ppc-aix-port-dev mailing list