RFR (M): 8036767 PPC64: Support for little endian execution model

Lindenmaier, Goetz goetz.lindenmaier at sap.com
Fri Mar 21 21:55:38 UTC 2014


Hi Sasha, 

I still get a small problem in ppc64.make.  You need to remove the space 
before big and little in the assignment:
  OPENJDK_TARGET_CPU_ENDIAN := $(if $(filter ppc64le,$(shell uname -m)),little,big)
My build ran into the 'little' case below, as I understand because ' big' was compared 
with 'big'.  Make is strange ...

After fixing that, tested linuxppc64, aix and linuxx86_64, they all work.

Best regards,
  Goetz.

-----Original Message-----
From: Alexander Smundak [mailto:asmundak at google.com] 
Sent: Friday, March 21, 2014 10:02 PM
To: Lindenmaier, Goetz
Cc: David Holmes; build-dev; HotSpot Open Source Developers
Subject: Re: RFR (M): 8036767 PPC64: Support for little endian execution model

On Fri, Mar 21, 2014 at 2:06 AM, Lindenmaier, Goetz
<goetz.lindenmaier at sap.com> wrote:
> /sapmnt/home1/d045726/oJ/8036767-hs-comp/make/linux/makefiles/ppc64.make:30: *** OPENJDK_TARGET_CPU_ENDIAN has not been passed to this makefile.  Stop.
I've fixed make/linux/makefile/defs.make to remap ARCH
from ppc64le to ppc64.
I have fixed make/linux/makefiles/ppc64.make to set
OPENJDK_TARGET_CPU_ENDIAN if it hasn't been set by the caller.

> On Aix I get
> "/sapmnt/home1/d045726/oJ/8036767-aix-hs-comp/src/cpu/ppc/vm/bytes_ppc.hpp", line 277.10: 1540-0836 (S) The #include file "bytes_linux_ppc.inline.hpp" is not found.
>
> I think we fixed this before [...]
Sorry, I forgot to resync with another repository. Done.

The new patch is:
http://cr.openjdk.java.net/~martin/asmundak/8036767/hotspot/webrev.03


More information about the build-dev mailing list