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

Volker Simonis volker.simonis at gmail.com
Fri Apr 19 08:45:44 PDT 2013


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/20130419/5beac6ff/attachment.html 


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