Mercurial > hg > graal-compiler
comparison make/solaris/makefiles/fastdebug.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 | 167c2986d91b |
children | c18cbe5936b8 |
comparison
equal
deleted
inserted
replaced
1546:a00b51b2dda4 | 1547:fb1a39993f69 |
---|---|
34 OPT_CFLAGS/BYFILE = $(OPT_CFLAGS/$@)$(OPT_CFLAGS/DEFAULT$(OPT_CFLAGS/$@)) | 34 OPT_CFLAGS/BYFILE = $(OPT_CFLAGS/$@)$(OPT_CFLAGS/DEFAULT$(OPT_CFLAGS/$@)) |
35 | 35 |
36 ifeq ("${Platform_compiler}", "sparcWorks") | 36 ifeq ("${Platform_compiler}", "sparcWorks") |
37 OPT_CFLAGS/SLOWER = -xO2 | 37 OPT_CFLAGS/SLOWER = -xO2 |
38 | 38 |
39 # Problem with SS12 compiler, dtrace doesn't like the .o files (bug 6693876) | |
40 ifeq ($(COMPILER_REV_NUMERIC), 509) | 39 ifeq ($(COMPILER_REV_NUMERIC), 509) |
41 # To avoid jvm98 crash | 40 # To avoid jvm98 crash |
42 OPT_CFLAGS/instanceKlass.o = $(OPT_CFLAGS/SLOWER) | 41 OPT_CFLAGS/instanceKlass.o = $(OPT_CFLAGS/SLOWER) |
43 # Not clear this workaround could be skipped in some cases. | 42 endif # COMPILER_NUMERIC_REV == 509 |
44 OPT_CFLAGS/vmGCOperations.o = $(OPT_CFLAGS/SLOWER) | 43 |
45 OPT_CFLAGS/java.o = $(OPT_CFLAGS/SLOWER) | 44 ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 509), 1) |
46 OPT_CFLAGS/jni.o = $(OPT_CFLAGS/SLOWER) | 45 # dtrace cannot handle tail call optimization (6672627, 6693876) |
47 endif | 46 OPT_CFLAGS/jni.o = $(OPT_CFLAGS/DEFAULT) $(OPT_CCFLAGS/NO_TAIL_CALL_OPT) |
47 endif # COMPILER_NUMERIC_REV >= 509 | |
48 | 48 |
49 ifeq ($(COMPILER_REV_NUMERIC), 505) | 49 ifeq ($(COMPILER_REV_NUMERIC), 505) |
50 # CC 5.5 has bug 4908364 with -xO4 (Fixed in 5.6) | 50 # CC 5.5 has bug 4908364 with -xO4 (Fixed in 5.6) |
51 OPT_CFLAGS/library_call.o = $(OPT_CFLAGS/SLOWER) | 51 OPT_CFLAGS/library_call.o = $(OPT_CFLAGS/SLOWER) |
52 endif # COMPILER_REV_NUMERIC == 505 | 52 endif # COMPILER_REV_NUMERIC == 505 |