Mercurial > hg > truffle
comparison make/solaris/makefiles/optimized.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 | 19241ae0d839 |
children | 2b5eab0df111 b9a9ed0f8eeb |
comparison
equal
deleted
inserted
replaced
6242:fe94b4e7212b | 6243:43541217e9f7 |
---|---|
30 OPT_CFLAGS/BYFILE = $(OPT_CFLAGS/$@)$(OPT_CFLAGS/DEFAULT$(OPT_CFLAGS/$@)) | 30 OPT_CFLAGS/BYFILE = $(OPT_CFLAGS/$@)$(OPT_CFLAGS/DEFAULT$(OPT_CFLAGS/$@)) |
31 | 31 |
32 # (OPT_CFLAGS/SLOWER is also available, to alter compilation of buggy files) | 32 # (OPT_CFLAGS/SLOWER is also available, to alter compilation of buggy files) |
33 ifeq ("${Platform_compiler}", "sparcWorks") | 33 ifeq ("${Platform_compiler}", "sparcWorks") |
34 | 34 |
35 ifeq ($(COMPILER_REV_NUMERIC), 510) | |
36 # CC 5.10 has bug XXXXX with -xO4 | |
37 OPT_CFLAGS/jvmtiClassFileReconstituter.o = $(OPT_CFLAGS/O2) | |
38 endif # COMPILER_REV_NUMERIC == 510 | |
39 | |
35 ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 509), 1) | 40 ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 509), 1) |
36 # dtrace cannot handle tail call optimization (6672627, 6693876) | 41 # dtrace cannot handle tail call optimization (6672627, 6693876) |
37 OPT_CFLAGS/jni.o = $(OPT_CFLAGS/DEFAULT) $(OPT_CCFLAGS/NO_TAIL_CALL_OPT) | 42 OPT_CFLAGS/jni.o = $(OPT_CFLAGS/DEFAULT) $(OPT_CCFLAGS/NO_TAIL_CALL_OPT) |
38 endif # COMPILER_NUMERIC_REV >= 509 | 43 endif # COMPILER_NUMERIC_REV >= 509 |
39 | 44 |