There are 3 libsaproc issues, compiling libsaproc under Xcode 7.3 (need to modify gcc.make first to use make):
/Volumes/Work/bugs/0000000/jdk9/hotspot/src/jdk.hotspot.agent/macosx/native/libsaproc/MacosxDebuggerLocal.m:691:21: warning: 'ePtAttachDeprecated' is deprecated: PT_ATTACH is deprecated. See PT_ATTACHEXC [-Wdeprecated-declarations]
if ((res = ptrace(PT_ATTACH, pid, 0, 0)) < 0) {
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/sys/ptrace.h:85:19: note: expanded from macro 'PT_ATTACH'
#define PT_ATTACH ePtAttachDeprecated /* trace some running process */
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/sys/ptrace.h:71:2: note: 'ePtAttachDeprecated' has been explicitly marked deprecated here
ePtAttachDeprecated __deprecated_enum_msg("PT_ATTACH is deprecated. See PT_ATTACHEXC") = 10
^
/Volumes/Work/bugs/0000000/jdk9/hotspot/src/jdk.hotspot.agent/macosx/native/libsaproc/MacosxDebuggerLocal.m:691:21: warning: 'ePtAttachDeprecated' is deprecated: PT_ATTACH is deprecated. See PT_ATTACHEXC [-Wdeprecated-declarations]
if ((res = ptrace(PT_ATTACH, pid, 0, 0)) < 0) {
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/sys/ptrace.h:85:19: note: expanded from macro 'PT_ATTACH'
#define PT_ATTACH ePtAttachDeprecated /* trace some running process */
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/sys/ptrace.h:71:2: note: 'ePtAttachDeprecated' has been explicitly marked deprecated here
ePtAttachDeprecated __deprecated_enum_msg("PT_ATTACH is deprecated. See PT_ATTACHEXC") = 10
^
- duplicates
-
JDK-8166184 Fix for JDK-8152899
- Closed
-
JDK-8166246 More general fix for JDK-8152899
- Closed
-
JDK-8182299 Enable disabled clang warnings, build on OSX 10 + Xcode 8
- Resolved
- relates to
-
JDK-8184042 several serviceability/sa tests timed out on MacOS X
- Resolved
-
JDK-8189429 SA: MacOSX: Replace the deprecated PT_ATTACH with PT_ATTACHEXC
- Resolved
-
JDK-8152856 Xcode 7.3 -Wshift-negative-value compile failure on Mac OS X
- Resolved
(1 relates to)