comparison make/solaris/makefiles/fastdebug.make @ 433:c1345e85f901

6767659: Conversion from i486 to x86 missed some entries in makefiles Summary: Fixed missed entries. Reviewed-by: never
author kvn
date Thu, 13 Nov 2008 14:50:04 -0800
parents 4d20a3aaf1ab
children 167c2986d91b
comparison
equal deleted inserted replaced
432:275a3b7ff0d6 433:c1345e85f901
52 endif # COMPILER_REV_NUMERIC == 505 52 endif # COMPILER_REV_NUMERIC == 505
53 53
54 ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \<= 504), 1) 54 ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \<= 504), 1)
55 # Compilation of *_<arch>.cpp can take an hour or more at O3. Use O2 55 # Compilation of *_<arch>.cpp can take an hour or more at O3. Use O2
56 # See comments at top of sparc.make. 56 # See comments at top of sparc.make.
57 OPT_CFLAGS/ad_$(Platform_arch).o = $(OPT_CFLAGS/SLOWER) 57 OPT_CFLAGS/ad_$(Platform_arch_model).o = $(OPT_CFLAGS/SLOWER)
58 OPT_CFLAGS/dfa_$(Platform_arch).o = $(OPT_CFLAGS/SLOWER) 58 OPT_CFLAGS/dfa_$(Platform_arch_model).o = $(OPT_CFLAGS/SLOWER)
59 endif # COMPILER_REV_NUMERIC <= 504 59 endif # COMPILER_REV_NUMERIC <= 504
60 60
61 ifeq (${COMPILER_REV_NUMERIC}, 500)
62 # Avoid a compiler bug caused by using -xO<level> -g<level>
63 # Since the bug also occurs with -xO0, use an innocuous value (must not be null)
64 OPT_CFLAGS/c1_LIROptimizer_i486.o = -c
65 endif
66
67 ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \< 505), 1) 61 ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \< 505), 1)
68 # Same problem with Solaris/x86 compiler (both 5.0 and 5.2) on ad_i486.cpp. 62 # Same problem with Solaris/x86 compiler (both 5.0 and 5.2) on ad_x86_{32,64}.cpp.
69 # CC build time is also too long for ad_i486_{gen,misc}.o 63 # CC build time is also too long for ad_$(Platform_arch_model)_{gen,misc}.o
70 OPT_CFLAGS/ad_i486.o = -c 64 OPT_CFLAGS/ad_$(Platform_arch_model).o = -c
71 OPT_CFLAGS/ad_i486_gen.o = -c 65 OPT_CFLAGS/ad_$(Platform_arch_model)_gen.o = -c
72 OPT_CFLAGS/ad_i486_misc.o = -c 66 OPT_CFLAGS/ad_$(Platform_arch_model)_misc.o = -c
73 ifeq ($(Platform_arch), i486) 67 ifeq ($(Platform_arch), x86)
74 # Same problem for the wrapper roosts: jni.o jvm.o 68 # Same problem for the wrapper roosts: jni.o jvm.o
75 OPT_CFLAGS/jni.o = -c 69 OPT_CFLAGS/jni.o = -c
76 OPT_CFLAGS/jvm.o = -c 70 OPT_CFLAGS/jvm.o = -c
77 # Same problem in parse2.o (probably the Big Switch over bytecodes) 71 # Same problem in parse2.o (probably the Big Switch over bytecodes)
78 OPT_CFLAGS/parse2.o = -c 72 OPT_CFLAGS/parse2.o = -c
79 endif # Platform_arch == i486 73 endif # Platform_arch == x86
80 endif 74 endif
81 75
82 # Frame size > 100k if we allow inlining via -g0! 76 # Frame size > 100k if we allow inlining via -g0!
83 DEBUG_CFLAGS/bytecodeInterpreter.o = -g 77 DEBUG_CFLAGS/bytecodeInterpreter.o = -g
84 DEBUG_CFLAGS/bytecodeInterpreterWithChecks.o = -g 78 DEBUG_CFLAGS/bytecodeInterpreterWithChecks.o = -g
85 ifeq ($(Platform_arch), i486) 79 ifeq ($(Platform_arch), x86)
86 # ube explodes on x86 80 # ube explodes on x86
87 OPT_CFLAGS/bytecodeInterpreter.o = -xO1 81 OPT_CFLAGS/bytecodeInterpreter.o = -xO1
88 OPT_CFLAGS/bytecodeInterpreterWithChecks.o = -xO1 82 OPT_CFLAGS/bytecodeInterpreterWithChecks.o = -xO1
89 endif # Platform_arch == i486 83 endif # Platform_arch == x86
90 84
91 endif # Platform_compiler == sparcWorks 85 endif # Platform_compiler == sparcWorks
92 86
93 # Workaround for a bug in dtrace. If ciEnv::post_compiled_method_load_event() 87 # Workaround for a bug in dtrace. If ciEnv::post_compiled_method_load_event()
94 # is inlined, the resulting dtrace object file needs a reference to this 88 # is inlined, the resulting dtrace object file needs a reference to this