comparison make/solaris/makefiles/product.make @ 1547:fb1a39993f69

6951319: enable solaris builds using Sun Studio 12 update 1 Reviewed-by: kamg, ysr, dholmes, johnc
author jcoomes
date Tue, 18 May 2010 11:02:18 -0700
parents 4d20a3aaf1ab
children c18cbe5936b8
comparison
equal deleted inserted replaced
1546:a00b51b2dda4 1547:fb1a39993f69
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 ifeq ("${Platform_compiler}", "sparcWorks")
42 42
43 # Problem with SS12 compiler, dtrace doesn't like the .o files (bug 6693876) 43 ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 509), 1)
44 ifeq ($(COMPILER_REV_NUMERIC),509) 44 # dtrace cannot handle tail call optimization (6672627, 6693876)
45 # Not clear this workaround could be skipped in some cases. 45 OPT_CFLAGS/jni.o = $(OPT_CFLAGS/DEFAULT) $(OPT_CCFLAGS/NO_TAIL_CALL_OPT)
46 OPT_CFLAGS/vmGCOperations.o = $(OPT_CFLAGS/SLOWER) -g 46 endif # COMPILER_NUMERIC_REV >= 509
47 OPT_CFLAGS/java.o = $(OPT_CFLAGS/SLOWER) -g
48 OPT_CFLAGS/jni.o = $(OPT_CFLAGS/SLOWER) -g
49 endif
50 47
51 # Workaround SS11 bug 6345274 (all platforms) (Fixed in SS11 patch and SS12) 48 # Workaround SS11 bug 6345274 (all platforms) (Fixed in SS11 patch and SS12)
52 ifeq ($(COMPILER_REV_NUMERIC),508) 49 ifeq ($(COMPILER_REV_NUMERIC),508)
53 OPT_CFLAGS/ciTypeFlow.o = $(OPT_CFLAGS/O2) 50 OPT_CFLAGS/ciTypeFlow.o = $(OPT_CFLAGS/O2)
54 endif # COMPILER_REV_NUMERIC == 508 51 endif # COMPILER_REV_NUMERIC == 508