hotspot/make/solaris/makefiles/product.make
changeset 5542 be05c5ffe905
parent 1549 710f8deef989
child 5547 f4b087cbb361
equal deleted inserted replaced
5541:19c39d42a747 5542:be05c5ffe905
    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