make/solaris/makefiles/fastdebug.make
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File 7187454 Sdiff make/solaris/makefiles

make/solaris/makefiles/fastdebug.make

Print this page




  22 #  
  23 #
  24 
  25 # Sets make macros for making debug version of VM
  26 
  27 # Compiler specific DEBUG_CFLAGS are passed in from gcc.make, sparcWorks.make
  28 # They may also specify FASTDEBUG_CFLAGS, but it defaults to DEBUG_CFLAGS.
  29 
  30 FASTDEBUG_CFLAGS$(FASTDEBUG_CFLAGS) = $(DEBUG_CFLAGS)
  31 
  32 # Compiler specific OPT_CFLAGS are passed in from gcc.make, sparcWorks.make
  33 OPT_CFLAGS/DEFAULT= $(OPT_CFLAGS)
  34 OPT_CFLAGS/BYFILE = $(OPT_CFLAGS/$@)$(OPT_CFLAGS/DEFAULT$(OPT_CFLAGS/$@))
  35 
  36 ifeq ("${Platform_compiler}", "sparcWorks")
  37 OPT_CFLAGS/SLOWER = -xO2
  38 
  39 ifeq ($(COMPILER_REV_NUMERIC), 510)
  40 # CC 5.10 has bug XXXXX with -xO4
  41 OPT_CFLAGS/jvmtiClassFileReconstituter.o = $(OPT_CFLAGS/SLOWER)
  42 # jvm98 crashes on solaris-i586-fastdebug and solaris-sparc-fastdebug with stack overflow
  43 OPT_CFLAGS/escape.o = $(OPT_CFLAGS) -xspace
  44 OPT_CFLAGS/matcher.o = $(OPT_CFLAGS) -xspace
  45 endif # COMPILER_REV_NUMERIC == 510
  46 
  47 ifeq ($(COMPILER_REV_NUMERIC), 509)
  48 # To avoid jvm98 crash
  49 OPT_CFLAGS/instanceKlass.o = $(OPT_CFLAGS/SLOWER)
  50 endif # COMPILER_NUMERIC_REV == 509
  51 
  52 ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 509), 1)
  53 # dtrace cannot handle tail call optimization (6672627, 6693876)
  54 OPT_CFLAGS/jni.o = $(OPT_CFLAGS/DEFAULT) $(OPT_CCFLAGS/NO_TAIL_CALL_OPT)
  55 endif # COMPILER_NUMERIC_REV >= 509
  56 
  57 ifeq ($(COMPILER_REV_NUMERIC), 505)
  58 # CC 5.5 has bug 4908364 with -xO4  (Fixed in 5.6)
  59 OPT_CFLAGS/library_call.o = $(OPT_CFLAGS/SLOWER)
  60 endif # COMPILER_REV_NUMERIC == 505
  61 
  62 ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \<= 504), 1)
  63 # Compilation of *_<arch>.cpp can take an hour or more at O3.  Use O2
  64 # See comments at top of sparc.make.




  22 #  
  23 #
  24 
  25 # Sets make macros for making debug version of VM
  26 
  27 # Compiler specific DEBUG_CFLAGS are passed in from gcc.make, sparcWorks.make
  28 # They may also specify FASTDEBUG_CFLAGS, but it defaults to DEBUG_CFLAGS.
  29 
  30 FASTDEBUG_CFLAGS$(FASTDEBUG_CFLAGS) = $(DEBUG_CFLAGS)
  31 
  32 # Compiler specific OPT_CFLAGS are passed in from gcc.make, sparcWorks.make
  33 OPT_CFLAGS/DEFAULT= $(OPT_CFLAGS)
  34 OPT_CFLAGS/BYFILE = $(OPT_CFLAGS/$@)$(OPT_CFLAGS/DEFAULT$(OPT_CFLAGS/$@))
  35 
  36 ifeq ("${Platform_compiler}", "sparcWorks")
  37 OPT_CFLAGS/SLOWER = -xO2
  38 
  39 ifeq ($(COMPILER_REV_NUMERIC), 510)
  40 # CC 5.10 has bug XXXXX with -xO4
  41 OPT_CFLAGS/jvmtiClassFileReconstituter.o = $(OPT_CFLAGS/SLOWER)



  42 endif # COMPILER_REV_NUMERIC == 510
  43 
  44 ifeq ($(COMPILER_REV_NUMERIC), 509)
  45 # To avoid jvm98 crash
  46 OPT_CFLAGS/instanceKlass.o = $(OPT_CFLAGS/SLOWER)
  47 endif # COMPILER_NUMERIC_REV == 509
  48 
  49 ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 509), 1)
  50 # dtrace cannot handle tail call optimization (6672627, 6693876)
  51 OPT_CFLAGS/jni.o = $(OPT_CFLAGS/DEFAULT) $(OPT_CCFLAGS/NO_TAIL_CALL_OPT)
  52 endif # COMPILER_NUMERIC_REV >= 509
  53 
  54 ifeq ($(COMPILER_REV_NUMERIC), 505)
  55 # CC 5.5 has bug 4908364 with -xO4  (Fixed in 5.6)
  56 OPT_CFLAGS/library_call.o = $(OPT_CFLAGS/SLOWER)
  57 endif # COMPILER_REV_NUMERIC == 505
  58 
  59 ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \<= 504), 1)
  60 # Compilation of *_<arch>.cpp can take an hour or more at O3.  Use O2
  61 # See comments at top of sparc.make.


make/solaris/makefiles/fastdebug.make
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File