Mercurial > hg > graal-jvmci-8
comparison make/linux/makefiles/dtrace.make @ 23052:42c0a8631742
8081475: 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
author | ysuenaga |
---|---|
date | Fri, 29 May 2015 22:29:44 +0900 |
parents | 75982791ddb6 |
children | dd9cc155639c |
comparison
equal
deleted
inserted
replaced
23051:62df92c92d33 | 23052:42c0a8631742 |
---|---|
29 # Only OPENJDK builds test and support SDT probes currently. | 29 # Only OPENJDK builds test and support SDT probes currently. |
30 ifndef OPENJDK | 30 ifndef OPENJDK |
31 REASON = "This JDK does not support SDT probes" | 31 REASON = "This JDK does not support SDT probes" |
32 else | 32 else |
33 | 33 |
34 # We need a recent GCC for the default | 34 # We need a recent GCC for the default (4.4 or later) |
35 ifeq "$(shell expr \( $(CC_VER_MAJOR) \>= 4 \) \& \( $(CC_VER_MINOR) \>= 4 \) )" "0" | 35 ifeq "$(shell expr \( \( $(CC_VER_MAJOR) = 4 \) \& \( $(CC_VER_MINOR) \>= 4 \) \) \| \( $(CC_VER_MAJOR) \>= 5 \) )" "0" |
36 REASON = "gcc version is too old" | 36 REASON = "gcc version is too old" |
37 else | 37 else |
38 | 38 |
39 # But it does have a SystemTap dtrace compatible sys/sdt.h | 39 # But it does have a SystemTap dtrace compatible sys/sdt.h |
40 ifneq ($(ALT_SDT_H),) | 40 ifneq ($(ALT_SDT_H),) |