8161057: Solaris: deprecated/obsolete compiler flags should be removed
authordcubed
Wed, 20 Jul 2016 12:53:25 -0700
changeset 40187 cc7fb0b2445a
parent 40186 bb747891a0b6
child 40188 1dc889395c40
8161057: Solaris: deprecated/obsolete compiler flags should be removed Reviewed-by: tbell, dcubed, dholmes Contributed-by: alan.burlison@oracle.com
jdk/src/demo/share/jvmti/compiledMethodLoad/sample.makefile.txt
jdk/src/demo/share/jvmti/gctest/sample.makefile.txt
jdk/src/demo/share/jvmti/heapTracker/sample.makefile.txt
jdk/src/demo/share/jvmti/heapViewer/sample.makefile.txt
jdk/src/demo/share/jvmti/java_crw_demo/sample.makefile.txt
jdk/src/demo/share/jvmti/minst/sample.makefile.txt
jdk/src/demo/share/jvmti/mtrace/sample.makefile.txt
jdk/src/demo/share/jvmti/versionCheck/sample.makefile.txt
--- a/jdk/src/demo/share/jvmti/compiledMethodLoad/sample.makefile.txt	Mon Jul 18 14:21:17 2016 -0700
+++ b/jdk/src/demo/share/jvmti/compiledMethodLoad/sample.makefile.txt	Wed Jul 20 12:53:25 2016 -0700
@@ -1,5 +1,5 @@
 #
-# Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
 #
 # Redistribution and use in source and binary forms, with or without
 # modification, are permitted provided that the following conditions
@@ -45,12 +45,12 @@
 LIBNAME=compiledMethodLoad
 SOURCES=compiledMethodLoad.c ../agent_util/agent_util.c
 
-# Solaris Sun C Compiler Version 5.5
+# Solaris Studio C Compiler Version 12.4
 ifeq ($(OSNAME), solaris)
     # Sun Solaris Compiler options needed
     COMMON_FLAGS=-mt -KPIC
     # Options that help find errors
-    COMMON_FLAGS+= -Xa -v -xstrconst -xc99=%none
+    COMMON_FLAGS+= -Xa -v -xc99=%none
     # Check LIBARCH for any special compiler options
     LIBARCH=$(shell uname -p)
     ifeq ($(LIBARCH), sparc)
--- a/jdk/src/demo/share/jvmti/gctest/sample.makefile.txt	Mon Jul 18 14:21:17 2016 -0700
+++ b/jdk/src/demo/share/jvmti/gctest/sample.makefile.txt	Wed Jul 20 12:53:25 2016 -0700
@@ -1,5 +1,5 @@
 #
-# Copyright (c) 2004, 2012, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2004, 2016, Oracle and/or its affiliates. All rights reserved.
 #
 # Redistribution and use in source and binary forms, with or without
 # modification, are permitted provided that the following conditions
@@ -45,12 +45,12 @@
 LIBNAME=gctest
 SOURCES=gctest.c ../agent_util/agent_util.c
 
-# Solaris Sun C Compiler Version 5.5
+# Solaris Studio C Compiler Version 12.4
 ifeq ($(OSNAME), solaris)
     # Sun Solaris Compiler options needed
     COMMON_FLAGS=-mt -KPIC
     # Options that help find errors
-    COMMON_FLAGS+= -Xa -v -xstrconst -xc99=%none
+    COMMON_FLAGS+= -Xa -v -xc99=%none
     # Check LIBARCH for any special compiler options
     LIBARCH=$(shell uname -p)
     ifeq ($(LIBARCH), sparc)
--- a/jdk/src/demo/share/jvmti/heapTracker/sample.makefile.txt	Mon Jul 18 14:21:17 2016 -0700
+++ b/jdk/src/demo/share/jvmti/heapTracker/sample.makefile.txt	Wed Jul 20 12:53:25 2016 -0700
@@ -1,5 +1,5 @@
 #
-# Copyright (c) 2004, 2012, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2004, 2016, Oracle and/or its affiliates. All rights reserved.
 #
 # Redistribution and use in source and binary forms, with or without
 # modification, are permitted provided that the following conditions
@@ -49,12 +49,12 @@
 # Name of jar file that needs to be created
 JARFILE=heapTracker.jar
 
-# Solaris Sun C Compiler Version 5.5
+# Solaris Studio C Compiler Version 12.4
 ifeq ($(OSNAME), solaris)
     # Sun Solaris Compiler options needed
     COMMON_FLAGS=-mt -KPIC
     # Options that help find errors
-    COMMON_FLAGS+= -Xa -v -xstrconst -xc99=%none
+    COMMON_FLAGS+= -Xa -v -xc99=%none
     # Check LIBARCH for any special compiler options
     LIBARCH=$(shell uname -p)
     ifeq ($(LIBARCH), sparc)
--- a/jdk/src/demo/share/jvmti/heapViewer/sample.makefile.txt	Mon Jul 18 14:21:17 2016 -0700
+++ b/jdk/src/demo/share/jvmti/heapViewer/sample.makefile.txt	Wed Jul 20 12:53:25 2016 -0700
@@ -1,5 +1,5 @@
 #
-# Copyright (c) 2004, 2012, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2004, 2016, Oracle and/or its affiliates. All rights reserved.
 #
 # Redistribution and use in source and binary forms, with or without
 # modification, are permitted provided that the following conditions
@@ -45,12 +45,12 @@
 LIBNAME=heapViewer
 SOURCES=heapViewer.c ../agent_util/agent_util.c
 
-# Solaris Sun C Compiler Version 5.5
+# Solaris Studio C Compiler Version 12.4
 ifeq ($(OSNAME), solaris)
     # Sun Solaris Compiler options needed
     COMMON_FLAGS=-mt -KPIC
     # Options that help find errors
-    COMMON_FLAGS+= -Xa -v -xstrconst -xc99=%none
+    COMMON_FLAGS+= -Xa -v -xc99=%none
     # Check LIBARCH for any special compiler options
     LIBARCH=$(shell uname -p)
     ifeq ($(LIBARCH), sparc)
--- a/jdk/src/demo/share/jvmti/java_crw_demo/sample.makefile.txt	Mon Jul 18 14:21:17 2016 -0700
+++ b/jdk/src/demo/share/jvmti/java_crw_demo/sample.makefile.txt	Wed Jul 20 12:53:25 2016 -0700
@@ -1,5 +1,5 @@
 #
-# Copyright (c) 2004, 2012, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2004, 2016, Oracle and/or its affiliates. All rights reserved.
 #
 # Redistribution and use in source and binary forms, with or without
 # modification, are permitted provided that the following conditions
@@ -45,12 +45,12 @@
 LIBNAME=java_crw_demo
 SOURCES=java_crw_demo.c
 
-# Solaris Sun C Compiler Version 5.5
+# Solaris Studio C Compiler Version 12.4
 ifeq ($(OSNAME), solaris)
     # Sun Solaris Compiler options needed
     COMMON_FLAGS=-mt -KPIC
     # Options that help find errors
-    COMMON_FLAGS+= -Xa -v -xstrconst -xc99=%none
+    COMMON_FLAGS+= -Xa -v -xc99=%none
     # Check LIBARCH for any special compiler options
     LIBARCH=$(shell uname -p)
     ifeq ($(LIBARCH), sparc)
--- a/jdk/src/demo/share/jvmti/minst/sample.makefile.txt	Mon Jul 18 14:21:17 2016 -0700
+++ b/jdk/src/demo/share/jvmti/minst/sample.makefile.txt	Wed Jul 20 12:53:25 2016 -0700
@@ -1,5 +1,5 @@
 #
-# Copyright (c) 2006, 2012, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2006, 2016, Oracle and/or its affiliates. All rights reserved.
 #
 # Redistribution and use in source and binary forms, with or without
 # modification, are permitted provided that the following conditions
@@ -49,12 +49,12 @@
 # Name of jar file that needs to be created
 JARFILE=minst.jar
 
-# Solaris Sun C Compiler Version 5.5
+# Solaris Studio C Compiler Version 12.4
 ifeq ($(OSNAME), solaris)
     # Sun Solaris Compiler options needed
     COMMON_FLAGS=-mt -KPIC
     # Options that help find errors
-    COMMON_FLAGS+= -Xa -v -xstrconst -xc99=%none
+    COMMON_FLAGS+= -Xa -v -xc99=%none
     # Check LIBARCH for any special compiler options
     LIBARCH=$(shell uname -p)
     ifeq ($(LIBARCH), sparc)
--- a/jdk/src/demo/share/jvmti/mtrace/sample.makefile.txt	Mon Jul 18 14:21:17 2016 -0700
+++ b/jdk/src/demo/share/jvmti/mtrace/sample.makefile.txt	Wed Jul 20 12:53:25 2016 -0700
@@ -1,5 +1,5 @@
 #
-# Copyright (c) 2004, 2012, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2004, 2016, Oracle and/or its affiliates. All rights reserved.
 #
 # Redistribution and use in source and binary forms, with or without
 # modification, are permitted provided that the following conditions
@@ -49,12 +49,12 @@
 # Name of jar file that needs to be created
 JARFILE=mtrace.jar
 
-# Solaris Sun C Compiler Version 5.5
+# Solaris Studio C Compiler Version 12.4
 ifeq ($(OSNAME), solaris)
     # Sun Solaris Compiler options needed
     COMMON_FLAGS=-mt -KPIC
     # Options that help find errors
-    COMMON_FLAGS+= -Xa -v -xstrconst -xc99=%none
+    COMMON_FLAGS+= -Xa -v -xc99=%none
     # Check LIBARCH for any special compiler options
     LIBARCH=$(shell uname -p)
     ifeq ($(LIBARCH), sparc)
--- a/jdk/src/demo/share/jvmti/versionCheck/sample.makefile.txt	Mon Jul 18 14:21:17 2016 -0700
+++ b/jdk/src/demo/share/jvmti/versionCheck/sample.makefile.txt	Wed Jul 20 12:53:25 2016 -0700
@@ -1,5 +1,5 @@
 #
-# Copyright (c) 2004, 2012, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2004, 2016, Oracle and/or its affiliates. All rights reserved.
 #
 # Redistribution and use in source and binary forms, with or without
 # modification, are permitted provided that the following conditions
@@ -45,12 +45,12 @@
 LIBNAME=versionCheck
 SOURCES=versionCheck.c ../agent_util/agent_util.c
 
-# Solaris Sun C Compiler Version 5.5
+# Solaris Studio C Compiler Version 12.4
 ifeq ($(OSNAME), solaris)
     # Sun Solaris Compiler options needed
     COMMON_FLAGS=-mt -KPIC
     # Options that help find errors
-    COMMON_FLAGS+= -Xa -v -xstrconst -xc99=%none
+    COMMON_FLAGS+= -Xa -v -xc99=%none
     # Check LIBARCH for any special compiler options
     LIBARCH=$(shell uname -p)
     ifeq ($(LIBARCH), sparc)