Mercurial > hg > truffle
comparison make/solaris/makefiles/product.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 |
comparison
equal
deleted
inserted
replaced
157:a3e5744fafda | 158:a49545cab84a |
---|---|
36 ifndef USE_GCC | 36 ifndef USE_GCC |
37 OPT_CFLAGS/ciEnv.o = $(OPT_CFLAGS) -xinline=no%__1cFciEnvbFpost_compiled_method_load_event6MpnHnmethod__v_ | 37 OPT_CFLAGS/ciEnv.o = $(OPT_CFLAGS) -xinline=no%__1cFciEnvbFpost_compiled_method_load_event6MpnHnmethod__v_ |
38 endif | 38 endif |
39 | 39 |
40 # (OPT_CFLAGS/SLOWER is also available, to alter compilation of buggy files) | 40 # (OPT_CFLAGS/SLOWER is also available, to alter compilation of buggy files) |
41 ifeq ("${Platform_compiler}", "sparcWorks") | |
41 | 42 |
42 # Workaround SS11 bug 6345274 (all platforms) | 43 # Problem with SS12 compiler, dtrace doesn't like the .o files (bug 6693876) |
43 ifeq ("${Platform_compiler}", "sparcWorks") | 44 ifeq ($(COMPILER_REV),5.9) |
44 ifeq ($(shell expr $(COMPILER_REV) \>= 5.8), 1) | 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 | |
50 | |
51 # Workaround SS11 bug 6345274 (all platforms) (Fixed in SS11 patch and SS12) | |
52 ifeq ($(COMPILER_REV),5.8) | |
45 OPT_CFLAGS/ciTypeFlow.o = $(OPT_CFLAGS/O2) | 53 OPT_CFLAGS/ciTypeFlow.o = $(OPT_CFLAGS/O2) |
46 endif # COMPILER_REV >= 5.8 | 54 endif # COMPILER_REV == 5.8 |
55 | |
47 endif # Platform_compiler == sparcWorks | 56 endif # Platform_compiler == sparcWorks |
48 | 57 |
49 # If you set HOTSPARC_GENERIC=yes, you disable all OPT_CFLAGS settings | 58 # If you set HOTSPARC_GENERIC=yes, you disable all OPT_CFLAGS settings |
50 CFLAGS$(HOTSPARC_GENERIC) += $(OPT_CFLAGS/BYFILE) | 59 CFLAGS$(HOTSPARC_GENERIC) += $(OPT_CFLAGS/BYFILE) |
51 # Set the environment variable HOTSPARC_GENERIC to "true" | 60 # Set the environment variable HOTSPARC_GENERIC to "true" |