make/aix/makefiles/ppc64.make

Print this page
rev 7547 : 8067923: AIX: link libjvm.so with -bernotok to detect missing symbols at build time and suppress warning 1540-1639


  29 # Balanced tuning for recent versions of the POWER architecture (if supported by xlc).
  30 QTUNE=$(if $(CXX_SUPPORTS_BALANCED_TUNING),balanced,pwr5)
  31 
  32 # Try to speed up the interpreter: use ppc64 instructions and inline 
  33 # glue code for external functions.
  34 OPT_CFLAGS += -qarch=ppc64 -qtune=$(QTUNE) -qinlglue
  35 
  36 # We need variable length arrays
  37 CFLAGS += -qlanglvl=c99vla
  38 # Just to check for unwanted macro redefinitions
  39 CFLAGS += -qlanglvl=noredefmac
  40 
  41 # Suppress those "implicit private" warnings xlc gives.
  42 #  - The omitted keyword "private" is assumed for base class "...".
  43 CFLAGS += -qsuppress=1540-0198
  44 
  45 # Suppress the following numerous warning:
  46 #  - 1540-1090 (I) The destructor of "..." might not be called.
  47 #  - 1500-010: (W) WARNING in ...: Infinite loop.  Program may not stop.
  48 #    There are several infinite loops in the vm, suppress.
  49 CFLAGS += -qsuppress=1540-1090 -qsuppress=1500-010


  50 
  51 # Suppress 
  52 #  - 540-1088 (W) The exception specification is being ignored.
  53 # caused by throw() in declaration of new() in nmethod.hpp.
  54 CFLAGS += -qsuppress=1540-1088
  55 
  56 # Turn off floating-point optimizations that may alter program semantics
  57 OPT_CFLAGS += -qstrict
  58 
  59 # Disable aggressive optimizations for functions in sharedRuntimeTrig.cpp 
  60 # and sharedRuntimeTrans.cpp on ppc64. 
  61 # -qstrict turns off the following optimizations:
  62 #   * Performing code motion and scheduling on computations such as loads
  63 #     and floating-point computations that may trigger an exception.
  64 #   * Relaxing conformance to IEEE rules.
  65 #   * Reassociating floating-point expressions.
  66 # When using '-qstrict' there still remains one problem
  67 # in javasoft.sqe.tests.api.java.lang.Math.sin5Tests when run in compile-all
  68 # mode, so don't optimize sharedRuntimeTrig.cpp at all.
  69 OPT_CFLAGS/sharedRuntimeTrig.o = $(OPT_CFLAGS/NOOPT)




  29 # Balanced tuning for recent versions of the POWER architecture (if supported by xlc).
  30 QTUNE=$(if $(CXX_SUPPORTS_BALANCED_TUNING),balanced,pwr5)
  31 
  32 # Try to speed up the interpreter: use ppc64 instructions and inline 
  33 # glue code for external functions.
  34 OPT_CFLAGS += -qarch=ppc64 -qtune=$(QTUNE) -qinlglue
  35 
  36 # We need variable length arrays
  37 CFLAGS += -qlanglvl=c99vla
  38 # Just to check for unwanted macro redefinitions
  39 CFLAGS += -qlanglvl=noredefmac
  40 
  41 # Suppress those "implicit private" warnings xlc gives.
  42 #  - The omitted keyword "private" is assumed for base class "...".
  43 CFLAGS += -qsuppress=1540-0198
  44 
  45 # Suppress the following numerous warning:
  46 #  - 1540-1090 (I) The destructor of "..." might not be called.
  47 #  - 1500-010: (W) WARNING in ...: Infinite loop.  Program may not stop.
  48 #    There are several infinite loops in the vm, suppress.
  49 #  - 1540-1639 (I) The behavior of long type bit fields has changed ...
  50 #                  ... long type bit fields now default to long, not int.
  51 CFLAGS += -qsuppress=1540-1090 -qsuppress=1500-010 -qsuppress=1540-1639
  52 
  53 # Suppress 
  54 #  - 540-1088 (W) The exception specification is being ignored.
  55 # caused by throw() in declaration of new() in nmethod.hpp.
  56 CFLAGS += -qsuppress=1540-1088
  57 
  58 # Turn off floating-point optimizations that may alter program semantics
  59 OPT_CFLAGS += -qstrict
  60 
  61 # Disable aggressive optimizations for functions in sharedRuntimeTrig.cpp 
  62 # and sharedRuntimeTrans.cpp on ppc64. 
  63 # -qstrict turns off the following optimizations:
  64 #   * Performing code motion and scheduling on computations such as loads
  65 #     and floating-point computations that may trigger an exception.
  66 #   * Relaxing conformance to IEEE rules.
  67 #   * Reassociating floating-point expressions.
  68 # When using '-qstrict' there still remains one problem
  69 # in javasoft.sqe.tests.api.java.lang.Math.sin5Tests when run in compile-all
  70 # mode, so don't optimize sharedRuntimeTrig.cpp at all.
  71 OPT_CFLAGS/sharedRuntimeTrig.o = $(OPT_CFLAGS/NOOPT)