comparison make/solaris/makefiles/product.make @ 6243:43541217e9f7

7187046: Crash in ClassFileParser on solaris-ia32 during RetransformClasses. Summary: Lower compiler optimization level when compiling jvmtiClassFileReconstituter.cpp as a workaround for the solaris x86 5.10 cc bug. Reviewed-by: kvn, coleenp
author jiangli
date Thu, 26 Jul 2012 17:24:31 -0400
parents 719f7007c8e8
children 2b5eab0df111 da91efe96a93
comparison
equal deleted inserted replaced
6242:fe94b4e7212b 6243:43541217e9f7
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 ifeq ($(COMPILER_REV_NUMERIC), 510)
44 # CC 5.10 has bug XXXXX with -xO4
45 OPT_CFLAGS/jvmtiClassFileReconstituter.o = $(OPT_CFLAGS/O2)
46 endif # COMPILER_REV_NUMERIC == 510
47
43 ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 509), 1) 48 ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 509), 1)
44 # dtrace cannot handle tail call optimization (6672627, 6693876) 49 # dtrace cannot handle tail call optimization (6672627, 6693876)
45 OPT_CFLAGS/jni.o = $(OPT_CFLAGS/DEFAULT) $(OPT_CCFLAGS/NO_TAIL_CALL_OPT) 50 OPT_CFLAGS/jni.o = $(OPT_CFLAGS/DEFAULT) $(OPT_CCFLAGS/NO_TAIL_CALL_OPT)
46 endif # COMPILER_NUMERIC_REV >= 509 51 endif # COMPILER_NUMERIC_REV >= 509
47 52