error compiling openJDK9 - commandLineFlagRangeList.cpp

Seshadri, Usha usha.seshadri at lmco.com
Mon Dec 21 16:02:39 UTC 2015


Hello,

I just downloaded OpenJDK9, and am trying to build it on 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) );

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

Thanks,

Usha Seshadri
Lockheed Martin, IS&GS
301-240-7496
[LM-logo]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/security-dev/attachments/20151221/b1a65f2c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 3531 bytes
Desc: image002.jpg
URL: <http://mail.openjdk.java.net/pipermail/security-dev/attachments/20151221/b1a65f2c/image002-0001.jpg>


More information about the security-dev mailing list