[patch] correctly detect 32bit platforms

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Tue Oct 20 14:48:59 UTC 2015


On 2015-10-19 22:16, Matthias Klose wrote:
> Sorry if this is the wrong ML, but this results in hotspot build 
> failures on various 32bit zero targets.
As you're probably aware by now, build questions should be directed to 
build-dev at openjdk.java.net. :-)
>
> common/autoconf/boot-jdk.m4 uses BUILD_NUM_BITS to check for 
> 32bit-ness, however this is nowhere defined.  the current macro seems 
> to be OPENJDK_BUILD_CPU_BITS.

As it happens, the very same code currently has a patch pending for 
review, https://bugs.openjdk.java.net/browse/JDK-8139813. This patch 
will remove BUILD_NUM_BITS, and instead test if the bootjdk itself is 32 
or 64-bit, which is what we actually want to test.

/Magnus



More information about the build-dev mailing list