AIX Changes

Lindenmaier, Goetz goetz.lindenmaier at sap.com
Mon Jul 2 03:08:28 PDT 2012


Hi Steve, 

tiered.make is a makefile needed to build the jit compiler.  As you set all_debugcore and 
CORE_BUILD=true, the jit compiler should not be built.  So I assume, these flags did not
make their way to the hotspot build.
Have a look at the build log Volker published:
http://cr.openjdk.java.net/~simonis/ppc-aix-port/build-logs/output_ppc-aix-port_dbg.log

It says "Entering hotspot for target(s) all_debugcore" at some point.  Can you see that in 
your build log? Else the flag is not properly passed to the hotspot build.

I am building hotspot on aix by going to .../hotspot/make and calling 
make ALT_BOOTDIR=/sapmnt/depot/tools/gen/rs6000_64/licenseware/jse/1.6.0 ALT_OUTPUTDIR=/usr/work/d045726/oJ/builds_aix-hotspot/build-is3036-asm ARCH_DATA_MODEL=64 HOTSPOT_BUILD_JOBS=8  VERBOSE=true CC_INTERP=true OPENJDK=true CORE_BUILD=true all_debugcore
so I'm sure that is working.

Unfortunately, we can't easily make the full build on aix ... Volker is trying.
Maybe you can mail me a build log?  
I'll also have a further look at the makefiles.

Cheers,
  Goetz.


-----Original Message-----
From: Steve Poole [mailto:spoole at linux.vnet.ibm.com] 
Sent: Montag, 2. Juli 2012 10:23
To: Lindenmaier, Goetz
Cc: ppc-aix-port-dev at openjdk.java.net
Subject: Re: AIX Changes



On 2 Jul 2012, at 09:08, Lindenmaier, Goetz wrote:

> Hi Steve,
> 
> sorry, I can't help you with that.  Freetype is only used in OpenJDK, therefore
> we did not port it.  We use code that is not available in the open, so we may
> not share it.
> 
Ok  that's fine.  Next question..

How do I build Hotspot on AIX?    I used the instructions in the PPC guide in the root of the repo - specifically 


HOTSPOT_TARGET=all_debugcore 
CC_INTERP=true 
OPENJDK=true 
CORE_BUILD=true 

but I'm getting a build failure of:

make[6]: *** No rule to make target `/home/spoole/hudson/workspace/sp.ppcaix.jdk7u.aix.ppc64/work/hotspot/make/aix/makefiles/tiered.make.o', needed by `/home/spoole/hudson/workspace/sp.ppcaix.jdk7u.aix.ppc64/work/hotspot/make/aix/makefiles/tiered.make'.  Stop.

Does that problem sound familiar?


> Sorry for that,
>  Goetz.
> 
> -----Original Message-----
> From: ppc-aix-port-dev-bounces at openjdk.java.net [mailto:ppc-aix-port-dev-bounces at openjdk.java.net] On Behalf Of Steve Poole
> Sent: Samstag, 30. Juni 2012 10:47
> To: ppc-aix-port-dev at openjdk.java.net
> Subject: Re: AIX Changes
> 
> Hi Goetz,
> 
> As we discussed via the phone yesterday I started to do a sanity build with this patch applied.    
> 
> One thing I've found already is that the freetypecheck fails to build as its makefile is not AIX aware and tries to use  -rpath. 
> Your patch correctly fixes the same sort of problem in Program.gmk   so I assume that either you missed  make/tools/freetypecheck/Makefile  or you have another sort of work-around?
> 
> 
> 
> 
> On 28 Jun 2012, at 11:00, Steve Poole wrote:
> 
>> 
>> Hi guys -   we've taken a look at Goetz's AIX changes and we would really like them to be  committed.   I think it would be best if someone for SAP did that :-)
>> 
>> Attempting to reconcile the different approaches between the IBM and the SAP code bases in a piecemeal manner just means it will take a long time before we have a working codebase - which is somewhat mad given you already have one.
>> 
>> If you're happy with doing a bulk commit ,  then, once the changes are in the codebase, we can work through any remaining IBM changes we think are needed and offer them up.   
>> 
>> What do you think?
>> 
>> 
>> Cheers
>> 
>> Steve
> 



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