Patch for building Java8 JDK repository

Jonathan Lu luchsh at linux.vnet.ibm.com
Thu Dec 13 01:47:34 PST 2012


Hi Volker,

Here's the command I was using for compilation, it was taken from my AIX 
box, but on Linux PPC it should work with some changes to the path strings.

make FT_CFLAGS=-m64 LANG=C \
   ALT_BOOTDIR=$HOME/depends/ojdk7 \
   ALT_HOTSPOT_IMPORT_PATH=$HOME/depends/ojdk7 \
   ALT_JDK_IMPORT_PATH=$ALT_BOOTDIR \
   ARCH_DATA_MODEL=64 \
   HOST_CC=/usr/vacpp/bin/xlc_r \
   HOTSPOT_BUILD_JOBS=8 \
   PARALLEL_COMPILE_JOBS=8 \
   ALT_FREETYPE_LIB_PATH=/opt/freeware/lib \
   ALT_FREETYPE_HEADERS_PATH=/opt/freeware/include \
   ALT_CUPS_HEADERS_PATH=/opt/freeware/include \
   ANT_HOME=$HOME/depends/apache-ant-1.8.2 \
   VERBOSE=true \
   CC_INTERP=true \
   OPENJDK=true \
   CORE_BUILD=true \
   ALLOW_DOWNLOAD=true \
   <target>

The <target> is a place holder for "langtools", "corba", "jaxp", "jaxws" 
and "jdk", (hope HotSpot can be here soon, then this will be unnecessary ).
on my machines I wrap them into a short shell script, and call it with 
module name as argument in a loop.

Many thanks and best regards!
Jonathan

On 12/13/2012 04:27 PM, Volker Simonis wrote:
> Hi Jonathan,
>
> great that you started working on JDK8!
>
> could you please send the command lines you used to compile on
> Linux/PPC and AIX.
>
> Regards,
> Volker
>
>
> On Wed, Dec 12, 2012 at 7:48 AM, Jonathan Lu <luchsh at linux.vnet.ibm.com> wrote:
>> Hello,
>>
>> I've got a patch to build Java8 JDK repository [1] on AIX 64 and Linux PPC
>> 64, and plan to push it to  [1], before that I'd like to get some comments
>> here :)
>>
>> The patch includes two parts,
>> I) Patches ported from PPC Java7u repository [3], which includes various
>> changes from 'corba' and 'jdk' repositories.
>> II) Several small new changes to make the compilation pass.
>> http://cr.openjdk.java.net/~luchsh/ppc-port-bringup-java8/
>>
>> Since the HotSpot patches have not yet been ported to Java8, so I was using
>> OpenJDK7 builds [2] provided by Volker as bootstrapping JDK and use JDK7
>> HotSpot as alternative import. So in part II) patch there's a workaround for
>> non-existing VM interface.
>>
>> Many thanks
>> - Jonathan
>>
>> [1] http://hg.openjdk.java.net/ppc-aix-port/jdk8/jdk
>> [2] http://cr.openjdk.java.net/~simonis/ppc-aix-port/bootstrap/
>> [3] http://hg.openjdk.java.net/ppc-aix-port/jdk7u
>>



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