/hg/icedtea8-forest/hotspot: 8081475, PR2427: SystemTap does not...
andrew at icedtea.classpath.org
andrew at icedtea.classpath.org
Tue Jun 23 18:41:59 UTC 2015
changeset b07272ef9ccd in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=b07272ef9ccd
author: ysuenaga
date: Fri May 29 22:29:44 2015 +0900
8081475, PR2427: SystemTap does not work when JDK is compiled with GCC 5
Summary: libjvm.so which is generated by GCC 5 does not have .note.stapsdt section as dtrace was disabled due to incorrect version check
Reviewed-by: dholmes, coleenp
diffstat:
make/linux/makefiles/dtrace.make | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (14 lines):
diff -r ba213f3db068 -r b07272ef9ccd make/linux/makefiles/dtrace.make
--- a/make/linux/makefiles/dtrace.make Mon Jun 08 19:25:48 2015 +0100
+++ b/make/linux/makefiles/dtrace.make Fri May 29 22:29:44 2015 +0900
@@ -31,8 +31,8 @@
REASON = "This JDK does not support SDT probes"
else
-# We need a recent GCC for the default
-ifeq "$(shell expr \( $(CC_VER_MAJOR) \>= 4 \) \& \( $(CC_VER_MINOR) \>= 4 \) )" "0"
+# We need a recent GCC for the default (4.4 or later)
+ifeq "$(shell expr \( \( $(CC_VER_MAJOR) = 4 \) \& \( $(CC_VER_MINOR) \>= 4 \) \) \| \( $(CC_VER_MAJOR) \>= 5 \) )" "0"
REASON = "gcc version is too old"
else
More information about the distro-pkg-dev
mailing list