RFR: JDK-8081475: SystemTap does not work when JDK is compiled with GCC 5
Yasumasa Suenaga
yasuenag at gmail.com
Fri May 29 09:38:39 UTC 2015
Hi all,
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. Could you review it?
http://cr.openjdk.java.net/~ysuenaga/JDK-8081475/webrev.00/
This patch works fine on my environment.
This issue is occurred on 8u-dev. So I also want to fix it for 8u-dev.
I'm jdk9 committer, but I'm not employee at Oracle.
So I need a Sponsor.
Thanks,
Yasumasa
More information about the hotspot-runtime-dev
mailing list