OpenJDK9 Build Error on Linux 32-bit (original) (raw)

Vidaurre, Silvia L silvia.l.vidaurre at lmco.com
Mon Dec 21 20:03:47 UTC 2015


Hello,

I just downloaded OpenJDK9, and am trying to build it on 32bit RHEL 5.11 with g++ 4.2.1, and I am getting this error from commandLineFlagRangeList.cpp:

hotspot/src/share/vm/runtime/commandLineFlagRangeList.cpp:293: error: integer constant is too large for 'long' type

commandLineFlagRangeList.cpp:293 points to: emit_range_no(NULL RUNTIME_FLAGS(EMIT_RANGE_DEVELOPER_FLAG, EMIT_RANGE_PD_DEVELOPER_FLAG, EMIT_RANGE_PRODUCT_FLAG, EMIT_RANGE_PD_PRODUCT_FLAG, EMIT_RANGE_DIAGNOSTIC_FLAG, EMIT_RANGE_EXPERIMENTAL_FLAG, EMIT_RANGE_NOTPRODUCT_FLAG, EMIT_RANGE_MANAGEABLE_FLAG, EMIT_RANGE_PRODUCT_RW_FLAG, EMIT_RANGE_LP64_PRODUCT_FLAG, EMIT_RANGE_CHECK, IGNORE_CONSTRAINT) );

These are my configuration and build commands: bash ./configure --enable-debug --disable-warnings-as-errors --with-target-bits=32 --with-boot-jdk=/usr/java/jdk1.8.0_60 make LOG=debug all

Has anyone seen this error before? How do I go about fixing this error? Any help is greatly appreciated.

Thanks,

Silvia Vidaurre



More information about the build-dev mailing list