make/linux/Makefile

Print this page
rev 6626 : 8048232: Fix for 8046471 breaks PPC64 build
Reviewed-by: mikael


  50 #  1. sa-jdi.jar       - This is built before building libjvm.so
  51 #                        Please refer to ./makefiles/sa.make
  52 #  2. libsa.so         - Native library for SA - This is built after
  53 #                        libjsig.so (signal interposition library)
  54 #                        Please refer to ./makefiles/vm.make
  55 # If $(GAMMADIR)/agent dir is not present, SA components are not built.
  56 
  57 ifeq ($(GAMMADIR),)
  58 include ../../make/defs.make
  59 else
  60 include $(GAMMADIR)/make/defs.make
  61 endif
  62 include $(GAMMADIR)/make/$(OSNAME)/makefiles/rules.make
  63 
  64 ifndef CC_INTERP
  65   ifndef FORCE_TIERED
  66     FORCE_TIERED=1
  67   endif
  68 endif
  69 # C1 is not ported on ppc64, so we cannot build a tiered VM:
  70 ifeq ($(ARCH),ppc64)



  71   FORCE_TIERED=0

  72 endif
  73 
  74 ifdef LP64
  75   ifeq ("$(filter $(LP64_ARCH),$(BUILDARCH))","")
  76     _JUNK_ := $(shell echo >&2 \
  77        $(OSNAME) $(ARCH) "*** ERROR: this platform does not support 64-bit compilers!")
  78         @exit 1
  79   endif
  80 endif
  81 
  82 # we need to set up LP64 correctly to satisfy sanity checks in adlc
  83 ifneq ("$(filter $(LP64_ARCH),$(BUILDARCH))","")
  84   MFLAGS += " LP64=1 "
  85 endif
  86 
  87 # pass USE_SUNCC further, through MFLAGS
  88 ifdef USE_SUNCC
  89   MFLAGS += " USE_SUNCC=1 "
  90 endif
  91 




  50 #  1. sa-jdi.jar       - This is built before building libjvm.so
  51 #                        Please refer to ./makefiles/sa.make
  52 #  2. libsa.so         - Native library for SA - This is built after
  53 #                        libjsig.so (signal interposition library)
  54 #                        Please refer to ./makefiles/vm.make
  55 # If $(GAMMADIR)/agent dir is not present, SA components are not built.
  56 
  57 ifeq ($(GAMMADIR),)
  58 include ../../make/defs.make
  59 else
  60 include $(GAMMADIR)/make/defs.make
  61 endif
  62 include $(GAMMADIR)/make/$(OSNAME)/makefiles/rules.make
  63 
  64 ifndef CC_INTERP
  65   ifndef FORCE_TIERED
  66     FORCE_TIERED=1
  67   endif
  68 endif
  69 # C1 is not ported on ppc64, so we cannot build a tiered VM:
  70 # Notice: after 8046471 ARCH will be 'ppc' for top-level ppc64 builds but
  71 # 'ppc64' for HotSpot-only ppc64 builds. Need to detect both variants here!
  72 ifneq (,$(findstring $(ARCH), ppc ppc64))
  73   ifeq ($(ARCH_DATA_MODEL), 64)
  74     FORCE_TIERED=0
  75   endif
  76 endif
  77 
  78 ifdef LP64
  79   ifeq ("$(filter $(LP64_ARCH),$(BUILDARCH))","")
  80     _JUNK_ := $(shell echo >&2 \
  81        $(OSNAME) $(ARCH) "*** ERROR: this platform does not support 64-bit compilers!")
  82         @exit 1
  83   endif
  84 endif
  85 
  86 # we need to set up LP64 correctly to satisfy sanity checks in adlc
  87 ifneq ("$(filter $(LP64_ARCH),$(BUILDARCH))","")
  88   MFLAGS += " LP64=1 "
  89 endif
  90 
  91 # pass USE_SUNCC further, through MFLAGS
  92 ifdef USE_SUNCC
  93   MFLAGS += " USE_SUNCC=1 "
  94 endif
  95