annotate make/solaris/makefiles/sparc.make @ 158:a49545cab84a

6563752: Build and test JDK7 with Sun Studio 12 Express compilers (prep makefiles) Summary: Allows for building with SS12, no longer requires SS11, warns if not SS11 for now. Once SS12 is validated and performance measurements look ok, SS12 will be the validated compiler. Reviewed-by: sspitsyn, ikrylov
author ohair
date Tue, 27 May 2008 09:47:18 -0700
parents a294fd0c4b38
children d1605aabd0a1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a61af66fc99e Initial load
duke
parents:
diff changeset
1 #
a61af66fc99e Initial load
duke
parents:
diff changeset
2 # Copyright 1998-2007 Sun Microsystems, Inc. All Rights Reserved.
a61af66fc99e Initial load
duke
parents:
diff changeset
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
a61af66fc99e Initial load
duke
parents:
diff changeset
4 #
a61af66fc99e Initial load
duke
parents:
diff changeset
5 # This code is free software; you can redistribute it and/or modify it
a61af66fc99e Initial load
duke
parents:
diff changeset
6 # under the terms of the GNU General Public License version 2 only, as
a61af66fc99e Initial load
duke
parents:
diff changeset
7 # published by the Free Software Foundation.
a61af66fc99e Initial load
duke
parents:
diff changeset
8 #
a61af66fc99e Initial load
duke
parents:
diff changeset
9 # This code is distributed in the hope that it will be useful, but WITHOUT
a61af66fc99e Initial load
duke
parents:
diff changeset
10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
a61af66fc99e Initial load
duke
parents:
diff changeset
11 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
a61af66fc99e Initial load
duke
parents:
diff changeset
12 # version 2 for more details (a copy is included in the LICENSE file that
a61af66fc99e Initial load
duke
parents:
diff changeset
13 # accompanied this code).
a61af66fc99e Initial load
duke
parents:
diff changeset
14 #
a61af66fc99e Initial load
duke
parents:
diff changeset
15 # You should have received a copy of the GNU General Public License version
a61af66fc99e Initial load
duke
parents:
diff changeset
16 # 2 along with this work; if not, write to the Free Software Foundation,
a61af66fc99e Initial load
duke
parents:
diff changeset
17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
a61af66fc99e Initial load
duke
parents:
diff changeset
18 #
a61af66fc99e Initial load
duke
parents:
diff changeset
19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
a61af66fc99e Initial load
duke
parents:
diff changeset
20 # CA 95054 USA or visit www.sun.com if you need additional information or
a61af66fc99e Initial load
duke
parents:
diff changeset
21 # have any questions.
a61af66fc99e Initial load
duke
parents:
diff changeset
22 #
a61af66fc99e Initial load
duke
parents:
diff changeset
23 #
a61af66fc99e Initial load
duke
parents:
diff changeset
24
a61af66fc99e Initial load
duke
parents:
diff changeset
25 Obj_Files += solaris_sparc.o
158
a49545cab84a 6563752: Build and test JDK7 with Sun Studio 12 Express compilers (prep makefiles)
ohair
parents: 91
diff changeset
26 ASFLAGS += $(AS_ARCHFLAG)
0
a61af66fc99e Initial load
duke
parents:
diff changeset
27
a61af66fc99e Initial load
duke
parents:
diff changeset
28 ifeq ("${Platform_compiler}", "sparcWorks")
a61af66fc99e Initial load
duke
parents:
diff changeset
29 ifeq ($(shell expr $(COMPILER_REV) \< 5.5), 1)
a61af66fc99e Initial load
duke
parents:
diff changeset
30 # For 5.2 ad_sparc file is compiled with -O2 %%%% remove when adlc is fixed
a61af66fc99e Initial load
duke
parents:
diff changeset
31 OPT_CFLAGS/ad_sparc.o = $(OPT_CFLAGS/SLOWER)
a61af66fc99e Initial load
duke
parents:
diff changeset
32 OPT_CFLAGS/dfa_sparc.o = $(OPT_CFLAGS/SLOWER)
a61af66fc99e Initial load
duke
parents:
diff changeset
33 # CC drops core on systemDictionary.o in -xO4 mode
a61af66fc99e Initial load
duke
parents:
diff changeset
34 OPT_CFLAGS/systemDictionary.o = $(OPT_CFLAGS/SLOWER)
a61af66fc99e Initial load
duke
parents:
diff changeset
35 # SC5.0 bug 4284168
a61af66fc99e Initial load
duke
parents:
diff changeset
36 OPT_CFLAGS/carRememberedSet.o = $(OPT_CFLAGS/O2)
a61af66fc99e Initial load
duke
parents:
diff changeset
37 # Temporarily drop the optimization level for compiling
a61af66fc99e Initial load
duke
parents:
diff changeset
38 # jniHandles.cpp to O3 from O4; see bug 4309181
a61af66fc99e Initial load
duke
parents:
diff changeset
39 OPT_CFLAGS/jniHandles.o = $(OPT_CFLAGS/O2)
a61af66fc99e Initial load
duke
parents:
diff changeset
40 # CC brings an US-II to its knees compiling the vmStructs asserts under -xO4
a61af66fc99e Initial load
duke
parents:
diff changeset
41 OPT_CFLAGS/vmStructs.o = $(OPT_CFLAGS/O2)
a61af66fc99e Initial load
duke
parents:
diff changeset
42 endif
a61af66fc99e Initial load
duke
parents:
diff changeset
43 else
a61af66fc99e Initial load
duke
parents:
diff changeset
44 # Options for gcc
a61af66fc99e Initial load
duke
parents:
diff changeset
45 OPT_CFLAGS/ad_sparc.o = $(OPT_CFLAGS/SLOWER)
a61af66fc99e Initial load
duke
parents:
diff changeset
46 OPT_CFLAGS/dfa_sparc.o = $(OPT_CFLAGS/SLOWER)
a61af66fc99e Initial load
duke
parents:
diff changeset
47 OPT_CFLAGS/systemDictionary.o = $(OPT_CFLAGS/SLOWER)
a61af66fc99e Initial load
duke
parents:
diff changeset
48 OPT_CFLAGS/carRememberedSet.o = $(OPT_CFLAGS/O2)
a61af66fc99e Initial load
duke
parents:
diff changeset
49 OPT_CFLAGS/jniHandles.o = $(OPT_CFLAGS/O2)
a61af66fc99e Initial load
duke
parents:
diff changeset
50 OPT_CFLAGS/vmStructs.o = $(OPT_CFLAGS/O2)
a61af66fc99e Initial load
duke
parents:
diff changeset
51 endif
a61af66fc99e Initial load
duke
parents:
diff changeset
52
a61af66fc99e Initial load
duke
parents:
diff changeset
53 # File-specific adjustments to the PICFLAG, applicable only to SPARC,
a61af66fc99e Initial load
duke
parents:
diff changeset
54 # which has a very tight limit on global constant references.
a61af66fc99e Initial load
duke
parents:
diff changeset
55
a61af66fc99e Initial load
duke
parents:
diff changeset
56 # Old files which seemed hot at one point or another:
a61af66fc99e Initial load
duke
parents:
diff changeset
57 #PICFLAG/runtime.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
58 #PICFLAG/generateOopMap.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
59 #PICFLAG/thread.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
60 #PICFLAG/parse2.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
61 #PICFLAG/parse1.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
62 #PICFLAG/universe.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
63 #PICFLAG/safepoint.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
64 #PICFLAG/parse3.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
65 #PICFLAG/compile.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
66 #PICFLAG/codeBlob.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
67 #PICFLAG/mutexLocker.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
68 #PICFLAG/nativeInst_sparc.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
69 #PICFLAG/methodLiveness.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
70 #PICFLAG/synchronizer.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
71 #PICFLAG/methodOop.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
72 #PICFLAG/space.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
73 #PICFLAG/interpreterRT_sparc.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
74 #PICFLAG/generation.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
75 #PICFLAG/markSweep.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
76 #PICFLAG/parseHelper.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
77
a61af66fc99e Initial load
duke
parents:
diff changeset
78 # Confirmed by function-level profiling:
a61af66fc99e Initial load
duke
parents:
diff changeset
79 PICFLAG/scavenge.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
80 PICFLAG/instanceKlass.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
81 PICFLAG/frame.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
82 PICFLAG/phaseX.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
83 PICFLAG/lookupCache.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
84 PICFLAG/chaitin.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
85 PICFLAG/type.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
86 PICFLAG/jvm.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
87 PICFLAG/jni.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
88 PICFLAG/matcher.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
89
a61af66fc99e Initial load
duke
parents:
diff changeset
90 # New from module-level profiling (trustworthy?):
a61af66fc99e Initial load
duke
parents:
diff changeset
91 PICFLAG/rememberedSet.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
92 PICFLAG/frame_sparc.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
93 PICFLAG/live.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
94 PICFLAG/vectset.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
95 PICFLAG/objArrayKlass.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
96 PICFLAG/do_call.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
97 PICFLAG/loopnode.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
98 PICFLAG/cfgnode.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
99 PICFLAG/ifg.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
100 PICFLAG/vframe.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
101 PICFLAG/postaloc.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
102 PICFLAG/carRememberedSet.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
103 PICFLAG/gcm.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
104 PICFLAG/coalesce.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
105 PICFLAG/oop.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
106 PICFLAG/oopMap.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
107 PICFLAG/resourceArea.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
108 PICFLAG/node.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
109 PICFLAG/dict.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
110 PICFLAG/domgraph.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
111 PICFLAG/dfa_sparc.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
112 PICFLAG/block.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
113 PICFLAG/javaClasses.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
114
a61af66fc99e Initial load
duke
parents:
diff changeset
115 # New hot files:
a61af66fc99e Initial load
duke
parents:
diff changeset
116 PICFLAG/classes.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
117 #PICFLAG/ad_sparc.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
118 PICFLAG/nmethod.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
119 PICFLAG/relocInfo.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
120 PICFLAG/codeBuffer_sparc.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
121 PICFLAG/callnode.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
122 PICFLAG/multnode.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
123 PICFLAG/os_solaris.o = $(PICFLAG/BETTER)
a61af66fc99e Initial load
duke
parents:
diff changeset
124 PICFLAG/typeArrayKlass.o = $(PICFLAG/BETTER)