Create a jvm.cfg for zero on 32 bit architectures
david.holmes at oracle.com
Mon Aug 12 04:51:07 UTC 2013
On 10/08/2013 1:25 AM, Omair Majid wrote:
> OpenJDK fails to build with zero currently on 32 bit architectures.
> There's a non-architecture-specific compilation error that I fixed .
> That makes zero build/run on 64-bit architectures. However, the build
> still fails on 32-bit. The error says that a jvm.cfg can not be found
> for zero.
> The following webrev fixes it:
> It creates a jvm.cfg that's identical to the one used for 64-bit .
I'm not sure this is the "right" way to fix this as I would think zero
should always just use the jvm.cfg that is in the repository. But the
existing logic makes that awkward. I think what we should have is
something like (I can't recall the right way to express this off the top
of my head):
CLIENT_AND_SERVER := ...
COPY_JVM_CFG_FILE := CLIENT_AND_SERVER == true || BITS == 64 ||
JVM_VARIANT_ZERO == true
$(MKDIR) -p $(@D)
# Now check for other permutations
Your change is less intrusive in the sense that it can't affect the
other JVM variants.
That aside do you not want to also address zeroshark? Or is that only
>  http://hg.openjdk.java.net/hsx/hotspot-rt/hotspot/rev/c54a3122f9c8
More information about the build-dev