JDK-8081475 : SystemTap does not work when JDK is compiled with GCC 5
  • Type: Bug
  • Component: hotspot
  • Sub-Component: svc
  • Affected Version: 8-pool,9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux
  • Submitted: 2015-05-29
  • Updated: 2016-04-15
  • Resolved: 2015-06-01
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 JDK 9 Other
8u60Fixed 9 b69Fixed openjdk7uFixed
Description
I tried to build jdk9/hs-rt on Fedora 22 with GCC 5.1.1 .
However, libjvm.so did not have .note.stapsdt section.

When I ran make command with LOG=info, I found a message as below:
---------------
**NOTICE** Dtrace support disabled: gcc version is too old
---------------

hotspot/make/linux/makefiles/dtrace.make checks C compiler version.
However, its condition cannot check 5.x or later.

So I fix the condition, and it works fine on my environment.

This issue is occurred on 8u-dev. So I also want to fix it for 8u-dev.