Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4533194

ALT_COMPILER_PATH doesn't override the previous value

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • infrastructure
    • None
    • rc1
    • sparc
    • solaris_2.6

      ###@###.### 2001-11-29

      The build README, shipped with the source, states the following for Solaris
      builds:

      "ALT_COMPILER_PATH
      This is an override for specifying where the Solaris Devpro compiler
      and tools are located. ..."

      The fact is that ALT_COMPILER_PATH doesn't override the path for
      Solaris Devpro compiler and tools which is set in the PATH shell
      environment. Therefor, it doesn't agree with the statement above.
      As the result, if one set a correct value for ALT_COMPILER_PATH
      the value would not be picked up which can cause the build to fail.

      Note: Other ALT_* environment variables seem to override the previous
      settings.
       
      The following environment settings and build log provides some details:

      ====================

      I have problems compiling jdk1.4 b84 (20-Oct) code on solaris 2.6
      machine.
      Error message as follows

      solaris sparc 1.4.0-internal build started: 01-11-20 12:17
      current working directory =
      /net/calaveras/local2/chiiwen/jdk1.4s/control/make
      build machine = runner
      TOPDIR = ./../..
      CONTROL_TOPDIR = ./../../control
      GENERICS_TOPDIR = ./../../generics
      HOTSPOT_TOPDIR = ./../../hotspot
      J2SE_TOPDIR = ./../../j2se
      MOTIF_TOPDIR = ./../../motif
      COBUNDLE_TOPDIR = ./../../cobundle
      JDK_VERSION = 1.4.0
      MILESTONE = internal
      BUILD_NUMBER = chiiwen_20_nov_2001_12_17
      PLATFORM = solaris
      ARCH = sparc
      ARCH_FAMILY = sparc
      ARCH_DATA_MODEL = 32
      BOOTDIR = /net/calaveras/local0/chiiwen/jdk1.4
      OUTPUTDIR = /net/calaveras/local1
      UNIXCOMMAND_PATH = /usr/bin/
      COMPILER_PATH = /net/winky/vol/vol2/workshop/6.1/SUNWspro/WS6U1/bin/
      DEVTOOLS_PATH = /u/chiiwen/call/
      UNIXCCS_PATH = /usr/ccs/bin/
      GCC_COMPILER_PATH = /usr/local/bin/
      MOTIF_DIR = /net/runner/local1/motif/motif
      HOTSPOT_CLIENT_PATH = /net/calaveras/local1/hotspot-sparc/client
      HOTSPOT_SERVER_PATH = /net/calaveras/local1/hotspot-sparc/server
      BUNDLE_PLATFORM = solsparc
      BUNDLE_DATE = 20_nov_2001
      J2SDK_LICENSE_PATH = /net/calaveras/local1/j2sdk-image/LICENSE
      J2SDK_BUNDLE_PATH =
      /net/calaveras/local1/bundles/j2sdk-1_4_0-internal-bin-chiiwen_20_nov_2001_12_17-solsparc-20_nov_2001.tar
      FORTE_LICENSE_PATH =
      /java/re/forte4j/3.0/promoted/latest/utils/LICENCE.TXT
      FORTE_BUNDLE_PATH =
      /java/re/forte4j/3.0/promoted/latest/bundles/solsparc/FFJ-dev-010817-f4j_ce.zip
      gmake[1]: Entering directory
      `/net/calaveras/local2/chiiwen/jdk1.4s/j2se/make'
      gmake[1]: Leaving directory
      `/net/calaveras/local2/chiiwen/jdk1.4s/j2se/make'

      Sanity check passed.
      (cd /net/calaveras/local1/hotspot-sparc/tmp; gmake -f
      /net/calaveras/local2/chiiwen/jdk1.4s/hotspot/build/solaris/Makefile
      product HOTSPOT_BUILD_VERSION=1.4.0-internal-chiiwen_20_nov_2001_12_17
      GAMMADIR=/net/calaveras/local2/chiiwen/jdk1.4s/hotspot ; )
      gmake[1]: Entering directory `/net/calaveras/local1/hotspot-sparc/tmp'
      cd solaris_sparc_compiler2/product && gmake -w
      gmake[2]: Entering directory
      `/net/calaveras/local1/hotspot-sparc/tmp/solaris_sparc_compiler2/product'
      gmake[3]: Entering directory
      `/net/calaveras/local1/hotspot-sparc/tmp/solaris_sparc_compiler2/product'
      Rescanned ../generated/adfiles/solaris_sparc.ad but encountered no
      changes.
      gmake[3]: Leaving directory
      `/net/calaveras/local1/hotspot-sparc/tmp/solaris_sparc_compiler2/product'
      gmake[3]: Entering directory
      `/net/calaveras/local1/hotspot-sparc/tmp/solaris_sparc_compiler2/product'
      Linking launcher...
      Undefined first referenced
       symbol in file
      void BytecodeCounter::print()
      /net/calaveras/local1/hotspot-sparc/tmp/solaris_sparc_compiler2/product/libjvm.so
      ld: fatal: Symbol referencing errors. No output written to gamma
      gmake[3]: *** [gamma] Error 1
      gmake[3]: Leaving directory
      `/net/calaveras/local1/hotspot-sparc/tmp/solaris_sparc_compiler2/product'
      gmake[2]: *** [the_vm] Error 2


            dmcduffisunw Dale Mcduffie (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: