Changeset 278 for trunk/openjdk/hotspot/make/solaris
- Timestamp:
- Mar 26, 2011, 8:39:20 PM (14 years ago)
- Location:
- trunk/openjdk
- Files:
-
- 48 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/openjdk
- Property svn:ignore
-
old new 1 1 build 2 build-product-release
-
-
Property svn:mergeinfo
set to
/branches/vendor/oracle/openjdk6/b22 merged eligible /branches/vendor/oracle/openjdk6/current merged eligible
- Property svn:ignore
-
trunk/openjdk/hotspot/make/solaris/Makefile
r2 r278 1 1 # 2 # Copyright 1998-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 17 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 18 # 19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,20 # CA 95054 USA or visit www.sun.com if you need additional information or21 # have anyquestions.19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 # or visit www.oracle.com if you need additional information or have any 21 # questions. 22 22 # 23 23 # -
trunk/openjdk/hotspot/make/solaris/build.sh
r2 r278 1 1 #! /bin/sh 2 2 # 3 # Copyright 1998-2008 Sun Microsystems, Inc. All Rights Reserved.3 # Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved. 4 4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5 5 # … … 18 18 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 # 20 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 # CA 95054 USA or visit www.sun.com if you need additional information or22 # have anyquestions.20 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 # or visit www.oracle.com if you need additional information or have any 22 # questions. 23 23 # 24 24 # -
trunk/openjdk/hotspot/make/solaris/makefiles/adjust-mflags.sh
r2 r278 1 1 #! /bin/sh 2 2 # 3 # Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.3 # Copyright (c) 1999, 2008, Oracle and/or its affiliates. All rights reserved. 4 4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5 5 # … … 18 18 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 # 20 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 # CA 95054 USA or visit www.sun.com if you need additional information or22 # have anyquestions.20 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 # or visit www.oracle.com if you need additional information or have any 22 # questions. 23 23 # 24 24 # -
trunk/openjdk/hotspot/make/solaris/makefiles/adlc.make
r2 r278 1 1 # 2 # Copyright 1997-2009 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 17 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 18 # 19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,20 # CA 95054 USA or visit www.sun.com if you need additional information or21 # have anyquestions.19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 # or visit www.oracle.com if you need additional information or have any 21 # questions. 22 22 # 23 23 # … … 148 148 TEMPDIR := $(OUTDIR)/mktmp$(shell echo $$$$) 149 149 150 # Debuggable by default 151 CFLAGS += -g 152 150 153 # Pass -D flags into ADLC. 151 154 ADLCFLAGS += $(SYSDEFS) … … 156 159 # Normally, debugging is done directly on the ad_<arch>*.cpp files. 157 160 # But -g will put #line directives in those files pointing back to <arch>.ad. 158 #ADLCFLAGS += -g161 ADLCFLAGS += -g 159 162 160 163 ifdef LP64 -
trunk/openjdk/hotspot/make/solaris/makefiles/amd64.make
r2 r278 1 1 # 2 # Copyright 2004-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2004, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 17 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 18 # 19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,20 # CA 95054 USA or visit www.sun.com if you need additional information or21 # have anyquestions.19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 # or visit www.oracle.com if you need additional information or have any 21 # questions. 22 22 # 23 23 # … … 34 34 ifeq ("${Platform_compiler}", "sparcWorks") 35 35 36 # Temporary until C++ compiler is fixed37 38 # _lwp_create_interpose must have a frame39 OPT_CFLAGS/os_solaris_x86_64.o = -xO140 41 36 # Temporary until SS10 C++ compiler is fixed 42 37 OPT_CFLAGS/generateOptoStub.o = -xO2 43 OPT_CFLAGS/thread.o = -xO244 38 45 39 else -
trunk/openjdk/hotspot/make/solaris/makefiles/buildtree.make
r2 r278 1 1 # 2 # Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2000, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 17 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 18 # 19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,20 # CA 95054 USA or visit www.sun.com if you need additional information or21 # have anyquestions.19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 # or visit www.oracle.com if you need additional information or have any 21 # questions. 22 22 # 23 23 # -
trunk/openjdk/hotspot/make/solaris/makefiles/compiler1.make
r2 r278 1 1 # 2 # Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1999, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 17 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 18 # 19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,20 # CA 95054 USA or visit www.sun.com if you need additional information or21 # have anyquestions.19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 # or visit www.oracle.com if you need additional information or have any 21 # questions. 22 22 # 23 23 # -
trunk/openjdk/hotspot/make/solaris/makefiles/compiler2.make
r2 r278 1 1 # 2 # Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1999, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 17 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 18 # 19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,20 # CA 95054 USA or visit www.sun.com if you need additional information or21 # have anyquestions.19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 # or visit www.oracle.com if you need additional information or have any 21 # questions. 22 22 # 23 23 # -
trunk/openjdk/hotspot/make/solaris/makefiles/core.make
r2 r278 1 1 # 2 # Copyright 1998-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 17 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 18 # 19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,20 # CA 95054 USA or visit www.sun.com if you need additional information or21 # have anyquestions.19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 # or visit www.oracle.com if you need additional information or have any 21 # questions. 22 22 # 23 23 # -
trunk/openjdk/hotspot/make/solaris/makefiles/cscope.make
r2 r278 1 1 # 2 # Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2000, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 17 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 18 # 19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,20 # CA 95054 USA or visit www.sun.com if you need additional information or21 # have anyquestions.19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 # or visit www.oracle.com if you need additional information or have any 21 # questions. 22 22 # 23 23 # -
trunk/openjdk/hotspot/make/solaris/makefiles/debug.make
r2 r278 1 1 # 2 # Copyright 1998-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 17 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 18 # 19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,20 # CA 95054 USA or visit www.sun.com if you need additional information or21 # have anyquestions.19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 # or visit www.oracle.com if you need additional information or have any 21 # questions. 22 22 # 23 23 # … … 55 55 "-------------------------------------------------------------------------\n") 56 56 57 G_SUFFIX = 57 G_SUFFIX = _g 58 58 VERSION = debug 59 59 SYSDEFS += -DASSERT -DDEBUG -
trunk/openjdk/hotspot/make/solaris/makefiles/defs.make
r2 r278 1 1 # 2 # Copyright 2006-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2006, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 17 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 18 # 19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,20 # CA 95054 USA or visit www.sun.com if you need additional information or21 # have anyquestions.19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 # or visit www.oracle.com if you need additional information or have any 21 # questions. 22 22 # 23 23 # … … 66 66 67 67 EXPORT_LIST += $(EXPORT_DOCS_DIR)/platform/jvmti/jvmti.html 68 69 # client and server subdirectories have symbolic links to ../libjsig.so 70 EXPORT_LIST += $(EXPORT_JRE_LIB_ARCH_DIR)/libjsig.so 71 68 72 EXPORT_SERVER_DIR = $(EXPORT_JRE_LIB_ARCH_DIR)/server 73 ifneq ($(BUILD_CLIENT_ONLY),true) 69 74 EXPORT_LIST += $(EXPORT_SERVER_DIR)/Xusage.txt 70 EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjsig.so71 75 EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjvm.so 72 76 EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjvm_db.so 73 77 EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjvm_dtrace.so 78 endif 74 79 ifeq ($(ARCH_DATA_MODEL), 32) 75 80 EXPORT_CLIENT_DIR = $(EXPORT_JRE_LIB_ARCH_DIR)/client 76 81 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/Xusage.txt 77 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjsig.so78 82 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm.so 79 83 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm_db.so 80 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm_dtrace.so 81 ifeq ($(ARCH),sparc) 84 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm_dtrace.so 85 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/64/libjvm_db.so 86 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/64/libjvm_dtrace.so 87 ifneq ($(BUILD_CLIENT_ONLY), true) 82 88 EXPORT_LIST += $(EXPORT_SERVER_DIR)/64/libjvm_db.so 83 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/64/libjvm_db.so84 89 EXPORT_LIST += $(EXPORT_SERVER_DIR)/64/libjvm_dtrace.so 85 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/64/libjvm_dtrace.so86 90 endif 87 91 endif -
trunk/openjdk/hotspot/make/solaris/makefiles/dtrace.make
r2 r278 1 1 # 2 # Copyright 2005-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2005, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 17 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 18 # 19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,20 # CA 95054 USA or visit www.sun.com if you need additional information or21 # have anyquestions.19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 # or visit www.oracle.com if you need additional information or have any 21 # questions. 22 22 # 23 23 # … … 25 25 # Rules to build jvm_db/dtrace, used by vm.make 26 26 27 # we build libjvm_dtrace/libjvm_db/dtrace for COMPILER1 and COMPILER228 # but not for CORE configuration27 # We build libjvm_dtrace/libjvm_db/dtrace for COMPILER1 and COMPILER2 28 # but not for CORE or KERNEL configurations. 29 29 30 30 ifneq ("${TYPE}", "CORE") … … 38 38 else 39 39 40 41 40 JVM_DB = libjvm_db 42 LIBJVM_DB = libjvm$(G_SUFFIX)_db.so 41 LIBJVM_DB = libjvm_db.so 42 LIBJVM_DB_G = libjvm$(G_SUFFIX)_db.so 43 43 44 44 JVM_DTRACE = jvm_dtrace 45 LIBJVM_DTRACE = libjvm$(G_SUFFIX)_dtrace.so 45 LIBJVM_DTRACE = libjvm_dtrace.so 46 LIBJVM_DTRACE_G = libjvm$(G_SUFFIX)_dtrace.so 46 47 47 48 JVMOFFS = JvmOffsets … … 78 79 else 79 80 LFLAGS_JVM_DB += -mt $(PICFLAG) -xnolib 80 LFLAGS_JVM_DTRACE += -mt $(PICFLAG) -xnolib 81 LFLAGS_JVM_DTRACE += -mt $(PICFLAG) -xnolib -ldl 81 82 endif 82 83 … … 87 88 88 89 XLIBJVM_DB = 64/$(LIBJVM_DB) 90 XLIBJVM_DB_G = 64/$(LIBJVM_DB_G) 89 91 XLIBJVM_DTRACE = 64/$(LIBJVM_DTRACE) 92 XLIBJVM_DTRACE_G = 64/$(LIBJVM_DTRACE_G) 90 93 91 94 $(XLIBJVM_DB): $(DTRACE_SRCDIR)/$(JVM_DB).c $(JVMOFFS).h $(LIBJVM_DB_MAPFILE) … … 94 97 $(CC) $(SYMFLAG) $(ARCHFLAG/$(ISA)) -D$(TYPE) -I. -I$(GENERATED) \ 95 98 $(SHARED_FLAG) $(LFLAGS_JVM_DB) -o $@ $(DTRACE_SRCDIR)/$(JVM_DB).c -lc 99 [ -f $(XLIBJVM_DB_G) ] || { ln -s $(LIBJVM_DB) $(XLIBJVM_DB_G); } 100 96 101 $(XLIBJVM_DTRACE): $(DTRACE_SRCDIR)/$(JVM_DTRACE).c $(DTRACE_SRCDIR)/$(JVM_DTRACE).h $(LIBJVM_DTRACE_MAPFILE) 97 102 @echo Making $@ … … 99 104 $(CC) $(SYMFLAG) $(ARCHFLAG/$(ISA)) -D$(TYPE) -I. \ 100 105 $(SHARED_FLAG) $(LFLAGS_JVM_DTRACE) -o $@ $(DTRACE_SRCDIR)/$(JVM_DTRACE).c -lc -lthread -ldoor 106 [ -f $(XLIBJVM_DTRACE_G) ] || { ln -s $(LIBJVM_DTRACE) $(XLIBJVM_DTRACE_G); } 107 101 108 endif # ifneq ("${ISA}","${BUILDARCH}") 102 109 … … 143 150 $(QUIETLY) $(CC) $(SYMFLAG) $(ARCHFLAG) -D$(TYPE) -I. -I$(GENERATED) \ 144 151 $(SHARED_FLAG) $(LFLAGS_JVM_DB) -o $@ $(DTRACE_SRCDIR)/$(JVM_DB).c -lc 152 [ -f $(LIBJVM_DB_G) ] || { ln -s $@ $(LIBJVM_DB_G); } 145 153 146 154 $(LIBJVM_DTRACE): $(DTRACE_SRCDIR)/$(JVM_DTRACE).c $(XLIBJVM_DTRACE) $(DTRACE_SRCDIR)/$(JVM_DTRACE).h $(LIBJVM_DTRACE_MAPFILE) … … 148 156 $(QUIETLY) $(CC) $(SYMFLAG) $(ARCHFLAG) -D$(TYPE) -I. \ 149 157 $(SHARED_FLAG) $(LFLAGS_JVM_DTRACE) -o $@ $(DTRACE_SRCDIR)/$(JVM_DTRACE).c -lc -lthread -ldoor 158 [ -f $(LIBJVM_DTRACE_G) ] || { ln -s $@ $(LIBJVM_DTRACE_G); } 150 159 151 160 $(DTRACE).d: $(DTRACE_SRCDIR)/hotspot.d $(DTRACE_SRCDIR)/hotspot_jni.d \ -
trunk/openjdk/hotspot/make/solaris/makefiles/fastdebug.make
r2 r278 1 1 # 2 # Copyright 1998-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 17 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 18 # 19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,20 # CA 95054 USA or visit www.sun.com if you need additional information or21 # have anyquestions.19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 # or visit www.oracle.com if you need additional information or have any 21 # questions. 22 22 # 23 23 # … … 37 37 OPT_CFLAGS/SLOWER = -xO2 38 38 39 # Problem with SS12 compiler, dtrace doesn't like the .o files (bug 6693876)40 39 ifeq ($(COMPILER_REV_NUMERIC), 509) 41 # To avoid jvm98 crash 42 OPT_CFLAGS/instanceKlass.o = $(OPT_CFLAGS/SLOWER) 43 # Not clear this workaround could be skipped in some cases. 44 OPT_CFLAGS/vmGCOperations.o = $(OPT_CFLAGS/SLOWER) 45 OPT_CFLAGS/java.o = $(OPT_CFLAGS/SLOWER) 46 OPT_CFLAGS/jni.o = $(OPT_CFLAGS/SLOWER) 47 endif 40 # To avoid jvm98 crash 41 OPT_CFLAGS/instanceKlass.o = $(OPT_CFLAGS/SLOWER) 42 endif # COMPILER_NUMERIC_REV == 509 43 44 ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 509), 1) 45 # dtrace cannot handle tail call optimization (6672627, 6693876) 46 OPT_CFLAGS/jni.o = $(OPT_CFLAGS/DEFAULT) $(OPT_CCFLAGS/NO_TAIL_CALL_OPT) 47 endif # COMPILER_NUMERIC_REV >= 509 48 48 49 49 ifeq ($(COMPILER_REV_NUMERIC), 505) … … 91 91 OPT_CFLAGS/ciEnv.o = $(OPT_CFLAGS) -xinline=no%__1cFciEnvbFpost_compiled_method_load_event6MpnHnmethod__v_ 92 92 93 94 93 # (OPT_CFLAGS/SLOWER is also available, to alter compilation of buggy files) 95 94 … … 116 115 MAPFILE_DTRACE = $(GAMMADIR)/make/solaris/makefiles/mapfile-vers-$(TYPE) 117 116 118 119 G_SUFFIX = 117 G_SUFFIX = _g 120 118 VERSION = optimized 121 119 SYSDEFS += -DASSERT -DFASTDEBUG -DCHECK_UNHANDLED_OOPS -
trunk/openjdk/hotspot/make/solaris/makefiles/gcc.make
r2 r278 1 1 # 2 # Copyright 1998-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 17 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 18 # 19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,20 # CA 95054 USA or visit www.sun.com if you need additional information or21 # have anyquestions.19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 # or visit www.oracle.com if you need additional information or have any 21 # questions. 22 22 # 23 23 # -
trunk/openjdk/hotspot/make/solaris/makefiles/hp.make
r2 r278 1 1 # 2 # Copyright 1998-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 17 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 18 # 19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,20 # CA 95054 USA or visit www.sun.com if you need additional information or21 # have anyquestions.19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 # or visit www.oracle.com if you need additional information or have any 21 # questions. 22 22 # 23 23 # -
trunk/openjdk/hotspot/make/solaris/makefiles/hp1.make
r2 r278 1 1 # 2 # Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1999, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 17 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 18 # 19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,20 # CA 95054 USA or visit www.sun.com if you need additional information or21 # have anyquestions.19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 # or visit www.oracle.com if you need additional information or have any 21 # questions. 22 22 # 23 23 # -
trunk/openjdk/hotspot/make/solaris/makefiles/i486.make
r2 r278 1 1 # 2 # Copyright 1998-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 17 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 18 # 19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,20 # CA 95054 USA or visit www.sun.com if you need additional information or21 # have anyquestions.19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 # or visit www.oracle.com if you need additional information or have any 21 # questions. 22 22 # 23 23 # … … 34 34 # 35 35 ifeq ("${Platform_compiler}", "sparcWorks") 36 37 # _lwp_create_interpose must have a frame38 OPT_CFLAGS/os_solaris_x86.o = -xO139 else40 41 ifeq ("${Platform_compiler}", "gcc")42 # gcc43 # _lwp_create_interpose must have a frame44 OPT_CFLAGS/os_solaris_x86.o = -fno-omit-frame-pointer45 #46 else47 # error48 _JUNK2_ := $(shell echo >&2 \49 "*** ERROR: this compiler is not yet supported by this code base!")50 @exit 151 endif52 endif53 54 ifeq ("${Platform_compiler}", "sparcWorks")55 36 # ILD is gone as of SS11 (5.8), not supported in SS10 (5.7) 56 37 ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \< 507), 1) -
trunk/openjdk/hotspot/make/solaris/makefiles/jsig.make
r2 r278 1 1 # 2 # Copyright 2005-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2005, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 17 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 18 # 19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,20 # CA 95054 USA or visit www.sun.com if you need additional information or21 # have anyquestions.19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 # or visit www.oracle.com if you need additional information or have any 21 # questions. 22 22 # 23 23 # … … 26 26 27 27 # libjsig[_g].so: signal interposition library 28 JSIG = jsig$(G_SUFFIX) 29 LIBJSIG = lib$(JSIG).so 28 JSIG = jsig 29 LIBJSIG = lib$(JSIG).so 30 31 JSIG_G = $(JSIG)$(G_SUFFIX) 32 LIBJSIG_G = lib$(JSIG_G).so 30 33 31 34 JSIGSRCDIR = $(GAMMADIR)/src/os/$(Platform_os_family)/vm … … 47 50 $(QUIETLY) $(CC) $(SYMFLAG) $(ARCHFLAG) $(SHARED_FLAG) $(PICFLAG) \ 48 51 $(LFLAGS_JSIG) -o $@ $< -ldl 52 [ -f $(LIBJSIG_G) ] || { ln -s $@ $(LIBJSIG_G); } 49 53 50 54 install_jsig: $(LIBJSIG) -
trunk/openjdk/hotspot/make/solaris/makefiles/jvmg.make
r2 r278 1 1 # 2 # Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1999, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 17 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 18 # 19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,20 # CA 95054 USA or visit www.sun.com if you need additional information or21 # have anyquestions.19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 # or visit www.oracle.com if you need additional information or have any 21 # questions. 22 22 # 23 23 # … … 52 52 MAPFILE_DTRACE = $(GAMMADIR)/make/solaris/makefiles/mapfile-vers-$(TYPE) 53 53 54 G_SUFFIX = 54 G_SUFFIX = _g 55 55 VERSION = debug 56 56 SYSDEFS += -DASSERT -DDEBUG -
trunk/openjdk/hotspot/make/solaris/makefiles/jvmti.make
r2 r278 1 1 # 2 # Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2003, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 17 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 18 # 19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,20 # CA 95054 USA or visit www.sun.com if you need additional information or21 # have anyquestions.19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 # or visit www.oracle.com if you need additional information or have any 21 # questions. 22 22 # 23 23 # -
trunk/openjdk/hotspot/make/solaris/makefiles/kernel.make
r2 r278 1 1 # 2 # Copyright (c) 2007 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 17 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 18 # 19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,20 # CA 95054 USA or visit www.sun.com if you need additional information or21 # have anyquestions.19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 # or visit www.oracle.com if you need additional information or have any 21 # questions. 22 22 # 23 23 # -
trunk/openjdk/hotspot/make/solaris/makefiles/launcher.make
r2 r278 1 1 # 2 # Copyright 2005-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2005, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 17 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 18 # 19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,20 # CA 95054 USA or visit www.sun.com if you need additional information or21 # have anyquestions.19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 # or visit www.oracle.com if you need additional information or have any 21 # questions. 22 22 # 23 23 # … … 26 26 27 27 # gamma[_g]: launcher 28 LAUNCHER = gamma$(G_SUFFIX) 28 LAUNCHER = gamma 29 LAUNCHER_G = $(LAUNCHER)$(G_SUFFIX) 29 30 30 31 LAUNCHERDIR = $(GAMMADIR)/src/os/$(Platform_os_family)/launcher … … 80 81 81 82 $(LAUNCHER): $(LAUNCHER.o) $(LIBJVM) $(LAUNCHER_MAPFILE) 83 ifeq ($(filter -sbfast -xsbfast, $(CFLAGS_BROWSE)),) 84 @echo Linking launcher... 85 $(QUIETLY) $(LINK_LAUNCHER/PRE_HOOK) 82 86 $(QUIETLY) \ 83 case "$(CFLAGS_BROWSE)" in \ 84 -sbfast|-xsbfast) \ 85 ;; \ 86 *) \ 87 echo Linking launcher...; \ 88 $(LINK_LAUNCHER/PRE_HOOK) \ 89 $(LINK_LAUNCHER) $(LFLAGS_LAUNCHER) -o $@ $(LAUNCHER.o) $(LIBS_LAUNCHER); \ 90 $(LINK_LAUNCHER/POST_HOOK) \ 91 ;; \ 92 esac 87 $(LINK_LAUNCHER) $(LFLAGS_LAUNCHER) -o $@ $(LAUNCHER.o) $(LIBS_LAUNCHER) 88 $(QUIETLY) $(LINK_LAUNCHER/POST_HOOK) 89 [ -f $(LAUNCHER_G) ] || ln -s $@ $(LAUNCHER_G) 90 endif # filter -sbfast -xsbfast 91 -
trunk/openjdk/hotspot/make/solaris/makefiles/makedeps.make
r2 r278 1 1 # 2 # Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1999, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 17 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 18 # 19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,20 # CA 95054 USA or visit www.sun.com if you need additional information or21 # have anyquestions.19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 # or visit www.oracle.com if you need additional information or have any 21 # questions. 22 22 # 23 23 # -
trunk/openjdk/hotspot/make/solaris/makefiles/mapfile-vers
r2 r278 4 4 5 5 # 6 # Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.6 # Copyright (c) 2000, 2008, Oracle and/or its affiliates. All rights reserved. 7 7 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 8 8 # … … 21 21 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 22 22 # 23 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,24 # CA 95054 USA or visit www.sun.com if you need additional information or25 # have anyquestions.23 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 24 # or visit www.oracle.com if you need additional information or have any 25 # questions. 26 26 # 27 27 # -
trunk/openjdk/hotspot/make/solaris/makefiles/mapfile-vers-COMPILER1
r2 r278 2 2 3 3 # 4 # Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.4 # Copyright (c) 2003, 2008, Oracle and/or its affiliates. All rights reserved. 5 5 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 6 6 # … … 19 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 20 # 21 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,22 # CA 95054 USA or visit www.sun.com if you need additional information or23 # have anyquestions.21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 # or visit www.oracle.com if you need additional information or have any 23 # questions. 24 24 # 25 25 # -
trunk/openjdk/hotspot/make/solaris/makefiles/mapfile-vers-COMPILER2
r2 r278 2 2 3 3 # 4 # Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.4 # Copyright (c) 2003, 2008, Oracle and/or its affiliates. All rights reserved. 5 5 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 6 6 # … … 19 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 20 # 21 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,22 # CA 95054 USA or visit www.sun.com if you need additional information or23 # have anyquestions.21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 # or visit www.oracle.com if you need additional information or have any 23 # questions. 24 24 # 25 25 # -
trunk/openjdk/hotspot/make/solaris/makefiles/mapfile-vers-CORE
r2 r278 2 2 3 3 # 4 # Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.4 # Copyright (c) 2003, 2008, Oracle and/or its affiliates. All rights reserved. 5 5 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 6 6 # … … 19 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 20 # 21 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,22 # CA 95054 USA or visit www.sun.com if you need additional information or23 # have anyquestions.21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 # or visit www.oracle.com if you need additional information or have any 23 # questions. 24 24 # 25 25 # -
trunk/openjdk/hotspot/make/solaris/makefiles/mapfile-vers-TIERED
r2 r278 2 2 3 3 # 4 # Copyright 2006-2008 Sun Microsystems, Inc. All Rights Reserved.4 # Copyright (c) 2006, 2008, Oracle and/or its affiliates. All rights reserved. 5 5 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 6 6 # … … 19 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 20 # 21 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,22 # CA 95054 USA or visit www.sun.com if you need additional information or23 # have anyquestions.21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 # or visit www.oracle.com if you need additional information or have any 23 # questions. 24 24 # 25 25 # -
trunk/openjdk/hotspot/make/solaris/makefiles/mapfile-vers-debug
r2 r278 2 2 3 3 # 4 # Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.4 # Copyright (c) 2000, 2008, Oracle and/or its affiliates. All rights reserved. 5 5 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 6 6 # … … 19 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 20 # 21 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,22 # CA 95054 USA or visit www.sun.com if you need additional information or23 # have anyquestions.21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 # or visit www.oracle.com if you need additional information or have any 23 # questions. 24 24 # 25 25 # -
trunk/openjdk/hotspot/make/solaris/makefiles/mapfile-vers-jsig
r2 r278 2 2 3 3 # 4 # Copyright 2005-2008 Sun Microsystems, Inc. All Rights Reserved.4 # Copyright (c) 2005, 2008, Oracle and/or its affiliates. All rights reserved. 5 5 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 6 6 # … … 19 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 20 # 21 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,22 # CA 95054 USA or visit www.sun.com if you need additional information or23 # have anyquestions.21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 # or visit www.oracle.com if you need additional information or have any 23 # questions. 24 24 # 25 25 # -
trunk/openjdk/hotspot/make/solaris/makefiles/mapfile-vers-jvm_db
r2 r278 2 2 3 3 # 4 # Copyright 2005-2008 Sun Microsystems, Inc. All Rights Reserved.4 # Copyright (c) 2005, 2008, Oracle and/or its affiliates. All rights reserved. 5 5 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 6 6 # … … 19 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 20 # 21 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,22 # CA 95054 USA or visit www.sun.com if you need additional information or23 # have anyquestions.21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 # or visit www.oracle.com if you need additional information or have any 23 # questions. 24 24 # 25 25 # -
trunk/openjdk/hotspot/make/solaris/makefiles/mapfile-vers-jvm_dtrace
r2 r278 2 2 3 3 # 4 # Copyright 2006-2008 Sun Microsystems, Inc. All Rights Reserved.4 # Copyright (c) 2006, 2008, Oracle and/or its affiliates. All rights reserved. 5 5 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 6 6 # … … 19 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 20 # 21 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,22 # CA 95054 USA or visit www.sun.com if you need additional information or23 # have anyquestions.21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 # or visit www.oracle.com if you need additional information or have any 23 # questions. 24 24 # 25 25 # -
trunk/openjdk/hotspot/make/solaris/makefiles/mapfile-vers-nonproduct
r2 r278 2 2 3 3 # 4 # Copyright 2001-2008 Sun Microsystems, Inc. All Rights Reserved.4 # Copyright (c) 2001, 2008, Oracle and/or its affiliates. All rights reserved. 5 5 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 6 6 # … … 19 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 20 # 21 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,22 # CA 95054 USA or visit www.sun.com if you need additional information or23 # have anyquestions.21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 # or visit www.oracle.com if you need additional information or have any 23 # questions. 24 24 # 25 25 # -
trunk/openjdk/hotspot/make/solaris/makefiles/optimized.make
r2 r278 1 1 # 2 # Copyright 1998-2009 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1998, 2009, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 17 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 18 # 19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,20 # CA 95054 USA or visit www.sun.com if you need additional information or21 # have anyquestions.19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 # or visit www.oracle.com if you need additional information or have any 21 # questions. 22 22 # 23 23 # … … 33 33 ifeq ("${Platform_compiler}", "sparcWorks") 34 34 35 # Problem with SS12 compiler, dtrace doesn't like the .o files (bug 6693876) 36 ifeq ($(COMPILER_REV_NUMERIC),509) 37 # Not clear this workaround could be skipped in some cases. 38 OPT_CFLAGS/vmGCOperations.o = $(OPT_CFLAGS/SLOWER) -g 39 OPT_CFLAGS/java.o = $(OPT_CFLAGS/SLOWER) -g 40 OPT_CFLAGS/jni.o = $(OPT_CFLAGS/SLOWER) -g 41 endif 35 ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 509), 1) 36 # dtrace cannot handle tail call optimization (6672627, 6693876) 37 OPT_CFLAGS/jni.o = $(OPT_CFLAGS/DEFAULT) $(OPT_CCFLAGS/NO_TAIL_CALL_OPT) 38 endif # COMPILER_NUMERIC_REV >= 509 42 39 43 40 # Workaround SS11 bug 6345274 (all platforms) (Fixed in SS11 patch and SS12) -
trunk/openjdk/hotspot/make/solaris/makefiles/product.make
r2 r278 1 1 # 2 # Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1999, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 17 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 18 # 19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,20 # CA 95054 USA or visit www.sun.com if you need additional information or21 # have anyquestions.19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 # or visit www.oracle.com if you need additional information or have any 21 # questions. 22 22 # 23 23 # … … 41 41 ifeq ("${Platform_compiler}", "sparcWorks") 42 42 43 # Problem with SS12 compiler, dtrace doesn't like the .o files (bug 6693876) 44 ifeq ($(COMPILER_REV_NUMERIC),509) 45 # Not clear this workaround could be skipped in some cases. 46 OPT_CFLAGS/vmGCOperations.o = $(OPT_CFLAGS/SLOWER) -g 47 OPT_CFLAGS/java.o = $(OPT_CFLAGS/SLOWER) -g 48 OPT_CFLAGS/jni.o = $(OPT_CFLAGS/SLOWER) -g 49 endif 43 ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 509), 1) 44 # dtrace cannot handle tail call optimization (6672627, 6693876) 45 OPT_CFLAGS/jni.o = $(OPT_CFLAGS/DEFAULT) $(OPT_CCFLAGS/NO_TAIL_CALL_OPT) 46 endif # COMPILER_NUMERIC_REV >= 509 50 47 51 48 # Workaround SS11 bug 6345274 (all platforms) (Fixed in SS11 patch and SS12) -
trunk/openjdk/hotspot/make/solaris/makefiles/profiled.make
r2 r278 1 1 # 2 # Copyright 1998-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 17 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 18 # 19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,20 # CA 95054 USA or visit www.sun.com if you need additional information or21 # have anyquestions.19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 # or visit www.oracle.com if you need additional information or have any 21 # questions. 22 22 # 23 23 # -
trunk/openjdk/hotspot/make/solaris/makefiles/rules.make
r2 r278 1 1 # 2 # Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2000, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 17 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 18 # 19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,20 # CA 95054 USA or visit www.sun.com if you need additional information or21 # have anyquestions.19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 # or visit www.oracle.com if you need additional information or have any 21 # questions. 22 22 # 23 23 # -
trunk/openjdk/hotspot/make/solaris/makefiles/sa.make
r2 r278 1 1 # 2 # Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2003, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 17 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 18 # 19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,20 # CA 95054 USA or visit www.sun.com if you need additional information or21 # have anyquestions.19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 # or visit www.oracle.com if you need additional information or have any 21 # questions. 22 22 # 23 23 # … … 36 36 # tools.jar is needed by the JDI - SA binding 37 37 SA_CLASSPATH = $(BOOT_JAVA_HOME)/lib/tools.jar 38 39 # TODO: if it's a modules image, check if SA module is installed. 40 MODULELIB_PATH= $(BOOT_JAVA_HOME)/lib/modules 38 41 39 42 # gnumake 3.78.1 does not accept the *s that … … 60 63 exit 1; \ 61 64 fi 62 $(QUIETLY) if [ ! -f $(SA_CLASSPATH) ] ; then \65 $(QUIETLY) if [ ! -f $(SA_CLASSPATH) -a ! -d $(MODULELIB_PATH) ] ; then \ 63 66 echo "Missing $(SA_CLASSPATH) file. Use 1.6.0 or later version of JDK";\ 64 67 echo ""; \ -
trunk/openjdk/hotspot/make/solaris/makefiles/saproc.make
r2 r278 1 1 # 2 # Copyright 2005-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2005, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 17 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 18 # 19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,20 # CA 95054 USA or visit www.sun.com if you need additional information or21 # have anyquestions.19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 # or visit www.oracle.com if you need additional information or have any 21 # questions. 22 22 # 23 23 # … … 26 26 27 27 # libsaproc[_g].so: serviceability agent 28 SAPROC = saproc$(G_SUFFIX) 28 29 SAPROC = saproc 29 30 LIBSAPROC = lib$(SAPROC).so 31 32 SAPROC_G = $(SAPROC)$(G_SUFFIX) 33 LIBSAPROC_G = lib$(SAPROC_G).so 30 34 31 35 AGENT_DIR = $(GAMMADIR)/agent … … 70 74 -o $@ \ 71 75 -ldl -ldemangle -lthread -lc 76 [ -f $(LIBSAPROC_G) ] || { ln -s $@ $(LIBSAPROC_G); } 72 77 73 78 install_saproc: checkAndBuildSA -
trunk/openjdk/hotspot/make/solaris/makefiles/sparc.make
r2 r278 1 1 # 2 # Copyright 1998-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 17 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 18 # 19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,20 # CA 95054 USA or visit www.sun.com if you need additional information or21 # have anyquestions.19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 # or visit www.oracle.com if you need additional information or have any 21 # questions. 22 22 # 23 23 # -
trunk/openjdk/hotspot/make/solaris/makefiles/sparcWorks.make
r2 r278 1 1 # 2 # Copyright 1998-2009 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1998, 2009, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 17 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 18 # 19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,20 # CA 95054 USA or visit www.sun.com if you need additional information or21 # have anyquestions.19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 # or visit www.oracle.com if you need additional information or have any 21 # questions. 22 22 # 23 23 # … … 49 49 ifeq ($(JRE_RELEASE_VER),1.6.0) 50 50 # Validated compiler for JDK6 is SS11 (5.8) 51 VALIDATED_COMPILER_REV := 5.8 52 VALIDATED_C_COMPILER_REV := 5.8 53 else 54 # Validated compiler for JDK7 is SS12 (5.9) 55 VALIDATED_COMPILER_REV := 5.9 56 VALIDATED_C_COMPILER_REV := 5.9 57 endif 58 59 # Warning messages about not using the above validated version 60 ENFORCE_COMPILER_REV${ENFORCE_COMPILER_REV} := ${VALIDATED_COMPILER_REV} 61 ifneq (${COMPILER_REV},${ENFORCE_COMPILER_REV}) 62 dummy_target_to_enforce_compiler_rev:=\ 63 $(shell echo >&2 WARNING: You are using CC version ${COMPILER_REV} \ 64 and should be using version ${ENFORCE_COMPILER_REV}. Set ENFORCE_COMPILER_REV=${COMPILER_REV} to avoid this warning.) 65 endif 66 67 ENFORCE_C_COMPILER_REV${ENFORCE_C_COMPILER_REV} := ${VALIDATED_C_COMPILER_REV} 68 ifneq (${C_COMPILER_REV},${ENFORCE_C_COMPILER_REV}) 69 dummy_target_to_enforce_c_compiler_rev:=\ 70 $(shell echo >&2 WARNING: You are using cc version ${C_COMPILER_REV} \ 71 and should be using version ${ENFORCE_C_COMPILER_REV}. Set ENFORCE_C_COMPILER_REV=${C_COMPILER_REV} to avoid this warning.) 51 VALIDATED_COMPILER_REVS := 5.8 52 VALIDATED_C_COMPILER_REVS := 5.8 53 else 54 # Validated compilers for JDK7 are SS12 (5.9) or SS12 update 1 (5.10) 55 VALIDATED_COMPILER_REVS := 5.9 5.10 56 VALIDATED_C_COMPILER_REVS := 5.9 5.10 57 endif 58 59 # Warning messages about not using the above validated versions 60 ENFORCE_COMPILER_REV${ENFORCE_COMPILER_REV} := $(strip ${VALIDATED_COMPILER_REVS}) 61 ifeq ($(filter ${ENFORCE_COMPILER_REV},${COMPILER_REV}),) 62 PRINTABLE_CC_REVS := $(subst $(shell echo ' '), or ,${ENFORCE_COMPILER_REV}) 63 dummy_var_to_enforce_compiler_rev := $(shell \ 64 echo >&2 WARNING: You are using CC version ${COMPILER_REV} and \ 65 should be using version ${PRINTABLE_CC_REVS}.; \ 66 echo >&2 Set ENFORCE_COMPILER_REV=${COMPILER_REV} to avoid this \ 67 warning.) 68 endif 69 70 ENFORCE_C_COMPILER_REV${ENFORCE_C_COMPILER_REV} := $(strip ${VALIDATED_C_COMPILER_REVS}) 71 ifeq ($(filter ${ENFORCE_C_COMPILER_REV},${C_COMPILER_REV}),) 72 PRINTABLE_C_REVS := $(subst $(shell echo ' '), or ,${ENFORCE_C_COMPILER_REV}) 73 dummy_var_to_enforce_c_compiler_rev := $(shell \ 74 echo >&2 WARNING: You are using cc version ${C_COMPILER_REV} and \ 75 should be using version ${PRINTABLE_C_REVS}.; \ 76 echo >&2 Set ENFORCE_C_COMPILER_REV=${C_COMPILER_REV} to avoid this \ 77 warning.) 72 78 endif 73 79 … … 141 147 142 148 ################################################# 149 # Begin current (>=5.9) Forte compiler options # 150 ################################################# 151 152 ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 509), 1) 153 ifeq ($(Platform_arch), x86) 154 OPT_CFLAGS/NO_TAIL_CALL_OPT = -Wu,-O~yz 155 OPT_CCFLAGS/NO_TAIL_CALL_OPT = -Qoption ube -O~yz 156 OPT_CFLAGS/stubGenerator_x86_32.o = $(OPT_CFLAGS) -xspace 157 OPT_CFLAGS/stubGenerator_x86_64.o = $(OPT_CFLAGS) -xspace 158 endif # Platform_arch == x86 159 ifeq ("${Platform_arch}", "sparc") 160 OPT_CFLAGS/stubGenerator_sparc.o = $(OPT_CFLAGS) -xspace 161 endif 162 endif # COMPILER_REV_NUMERIC >= 509 163 164 ################################################# 143 165 # Begin current (>=5.6) Forte compiler options # 144 166 ################################################# … … 182 204 ifeq ("${Platform_arch_model}", "x86_32") 183 205 184 OPT_CFLAGS=-xtarget=pentium $(EXTRA_OPT_CFLAGS) 185 186 # UBE (CC 5.5) has bug 4923569 with -xO4 187 OPT_CFLAGS+=-xO3 206 OPT_CFLAGS=-xtarget=pentium -xO4 $(EXTRA_OPT_CFLAGS) 188 207 189 208 endif # 32bit x86 … … 282 301 endif 283 302 284 CFLAGS += $(GAMMADIR)/src/os_cpu/solaris_sparc/vm/solaris_sparc.il285 286 303 endif # sparc 287 304 … … 294 311 OPT_CFLAGS+=-xO3 295 312 296 CFLAGS += $(GAMMADIR)/src/os_cpu/solaris_x86/vm/solaris_x86_32.il297 298 313 endif # 32bit x86 299 314 300 315 # no more exceptions 301 316 CFLAGS/NOEX=-noex 317 318 # Inline functions 319 CFLAGS += $(GAMMADIR)/src/os_cpu/solaris_${Platform_arch}/vm/solaris_${Platform_arch_model}.il 302 320 303 321 # Reduce code bloat by reverting back to 5.0 behavior for static initializers … … 313 331 PICFLAG/BYFILE = $(PICFLAG/$@)$(PICFLAG/DEFAULT$(PICFLAG/$@)) 314 332 333 # Use $(MAPFLAG:FILENAME=real_file_name) to specify a map file. 334 MAPFLAG = -M FILENAME 335 336 # Use $(SONAMEFLAG:SONAME=soname) to specify the intrinsic name of a shared obj 337 SONAMEFLAG = -h SONAME 338 339 # Build shared library 340 SHARED_FLAG = -G 341 315 342 # Would be better if these weren't needed, since we link with CC, but 316 343 # at present removing them causes run-time errors … … 454 481 455 482 # Special global options for SS12 456 ifeq ($( COMPILER_REV_NUMERIC),509)483 ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 509), 1) 457 484 # There appears to be multiple issues with the new Dwarf2 debug format, so 458 485 # we tell the compiler to use the older 'stabs' debug format all the time. -
trunk/openjdk/hotspot/make/solaris/makefiles/sparcv9.make
r2 r278 1 1 # 2 # Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1999, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 17 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 18 # 19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,20 # CA 95054 USA or visit www.sun.com if you need additional information or21 # have anyquestions.19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 # or visit www.oracle.com if you need additional information or have any 21 # questions. 22 22 # 23 23 # -
trunk/openjdk/hotspot/make/solaris/makefiles/tiered.make
r2 r278 1 1 # 2 # Copyright 2006-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2006, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 17 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 18 # 19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,20 # CA 95054 USA or visit www.sun.com if you need additional information or21 # have anyquestions.19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 # or visit www.oracle.com if you need additional information or have any 21 # questions. 22 22 # 23 23 # -
trunk/openjdk/hotspot/make/solaris/makefiles/top.make
r2 r278 1 1 # 2 # Copyright 1998-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 17 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 18 # 19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,20 # CA 95054 USA or visit www.sun.com if you need additional information or21 # have anyquestions.19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 # or visit www.oracle.com if you need additional information or have any 21 # questions. 22 22 # 23 23 # -
trunk/openjdk/hotspot/make/solaris/makefiles/vm.make
r2 r278 1 1 # 2 # Copyright 1998-2008 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 17 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 18 # 19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,20 # CA 95054 USA or visit www.sun.com if you need additional information or21 # have anyquestions.19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 # or visit www.oracle.com if you need additional information or have any 21 # questions. 22 22 # 23 23 # … … 109 109 LIBS += -lsocket -lsched -ldl $(LIBM) -lCrun -lthread -ldoor -lc 110 110 else 111 ifeq ($(COMPILER_REV_NUMERIC), 502) 112 # SC6.1 has it's own libm.so: specifying anything else provokes a name conflict. 113 LIBS += -ldl -lthread -lsocket -lm -lsched -ldoor 114 else 111 115 LIBS += -ldl -lthread -lsocket $(LIBM) -lsched -ldoor 112 endif 116 endif # 502 117 endif # 505 113 118 else 114 119 LIBS += -lsocket -lsched -ldl $(LIBM) -lthread -lc 115 endif 120 endif # sparcWorks 116 121 117 122 # By default, link the *.o into the library, not the executable. … … 127 132 # JVM 128 133 129 JVM = jvm$(G_SUFFIX) 130 LIBJVM = lib$(JVM).so 134 JVM = jvm 135 LIBJVM = lib$(JVM).so 136 LIBJVM_G = lib$(JVM)$(G_SUFFIX).so 131 137 132 138 JVM_OBJ_FILES = $(Obj_Files) $(DTRACE_OBJS) … … 169 175 # making the library: 170 176 $(LIBJVM): $(LIBJVM.o) $(LIBJVM_MAPFILE) 171 $(QUIETLY) \ 172 case "$(CFLAGS_BROWSE)" in \ 173 -sbfast|-xsbfast) \ 174 ;; \ 175 *) \ 176 echo Linking vm...; \ 177 $(LINK_LIB.CC/PRE_HOOK) \ 178 $(LINK_VM) $(LFLAGS_VM) -o $@ $(LIBJVM.o) $(LIBS_VM); \ 179 $(LINK_LIB.CC/POST_HOOK) \ 180 rm -f $@.1; ln -s $@ $@.1; \ 181 ;; \ 182 esac 177 ifeq ($(filter -sbfast -xsbfast, $(CFLAGS_BROWSE)),) 178 @echo Linking vm... 179 $(QUIETLY) $(LINK_LIB.CC/PRE_HOOK) 180 $(QUIETLY) $(LINK_VM) $(LFLAGS_VM) -o $@ $(LIBJVM.o) $(LIBS_VM) 181 $(QUIETLY) $(LINK_LIB.CC/POST_HOOK) 182 $(QUIETLY) rm -f $@.1 && ln -s $@ $@.1 183 $(QUIETLY) [ -f $(LIBJVM_G) ] || ln -s $@ $(LIBJVM_G) 184 $(QUIETLY) [ -f $(LIBJVM_G).1 ] || ln -s $@.1 $(LIBJVM_G).1 185 endif # filter -sbfast -xsbfast 186 183 187 184 188 DEST_JVM = $(JDK_LIBDIR)/$(VM_SUBDIR)/$(LIBJVM) -
trunk/openjdk/hotspot/make/solaris/reorder.sh
r2 r278 1 1 #!/bin/sh -x 2 2 # 3 # Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.3 # Copyright (c) 2000, 2008, Oracle and/or its affiliates. All rights reserved. 4 4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5 5 # … … 18 18 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 # 20 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 # CA 95054 USA or visit www.sun.com if you need additional information or22 # have anyquestions.20 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 # or visit www.oracle.com if you need additional information or have any 22 # questions. 23 23 # 24 24 #
Note:
See TracChangeset
for help on using the changeset viewer.