JDK-8047382 : hotspot build failed with gcc version Red Hat 4.4.6-4
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 8
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux
  • CPU: x86
  • Submitted: 2014-06-19
  • Updated: 2017-08-07
  • Resolved: 2015-04-16
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8u60 b12Fixed
Related Reports
Relates :  
Description
/classLoadingService.cpp: In static member function ���static void ClassLoadingService::notify_class_loaded(InstanceKlass*, bool)���:
src/share/vm/services/classLoadingService.cpp:144: error: cannot reload integer constant operand in ���asm���
src/share/vm/services/classLoadingService.cpp:144: error: cannot reload integer constant operand in ���asm���

gcc version:
gcc (GCC) 4.4.6 20120305 (Red Hat 4.4.6-4)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


Comments
This issue is actually also present in JDK 9. While HS_DTRACE_PROBE macros are not present, DTRACE_CLASSLOAD_PROBE, and DTRACE_CLASSINIT_PROBE are which need similar treatment. See https://bugs.openjdk.java.net/browse/JDK-8185900
07-08-2017

Any progress on this? I'm seeing this problem on my CI Job for Zero tracking 8u. Seems a fastdebug build only issue: http://builder.classpath.org/jenkins/job/OpenJDK8_jdk8u_Zero/8/console
10-04-2015

This is a not an issue for JDK 9. The HS_DTRACE_PROBE# macros have been removed in JDK 9. This compilation error is only generated for JDK 8u.
20-01-2015

There was post for this problem: http://mail.openjdk.java.net/pipermail/hotspot-dev/2014-January/012225.html
19-06-2014