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

linux-i386 error regarding hotspot -> client symlink

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.3.1
    • 1.3.1
    • infrastructure
    • None
    • ladybird
    • generic
    • solaris_2.6

        1) The original symlink problem uncovered by Alan Smith

        /usr/local/java/jdk1.3.1/linux-i386/linux-i386/lib/i386
        hotspot -> client

           client doesn't exist in the directory. From looking at the
           Release.gmk file, the symlink doesn't need to be there.

        From Release.gmk:
        # ifeq ($(PLATFORM), linux)
        # $(CAT) $(JRE_IMAGE_DIR)/lib/jvm.cfg | $(GREP) -v classic >
        $(JDK_DEBUG_IMAGE_DIR)/lib/jvm.cfg
        # $(CHMOD) 444 $(JDK_DEBUG_IMAGE_DIR)/lib/jvm.cfg
        # ($(CD) $(JDK_DEBUG_IMAGE_DIR)/lib/i386; $(LN) -s client hotspot)
        ^^^^^^^^^^^^^^^^^^^^^^^^
        I don't see a need for this.
        It wasn't in 1.3.0 linux.

        # $(MKDIR) -p $(JDK_DEBUG_IMAGE_DIR)/man/man1
        # $(CP) $(TOPDIR)/src/linux/doc/man/java.1 # $(TOPDIR)/src/linux/doc/man/keytool.1 # $(TOPDIR)/src/linux/doc/man/rmid.1 # $(TOPDIR)/src/linux/doc/man/rmiregistry.1 # $(TOPDIR)/src/linux/doc/man/tnameserv.1
        $(JDK_DEBUG_IMAGE_DIR)/man/man1
        # if [ -x $(TOPDIR)/ext/plugin/build/solaris/package.i18n ] ; then $(CP)
        $(TOPDIR)/ext/plugin/build/solaris/package.i18n $(JDK_DEBUG_IMAGE_DIR)/package ;
        fi
        # endif
        # $(ECHO) ">>>Finished making "$@" @ `$(DATE)` ...";

           
        2) Dale uncovered a problem in

        [solsparc,solx86,linux]/jre/[sparc,i386]/hotspot

           where hotspot should just be a symlink to client, not a
           copy of that directory. Dale mentioned he had a fix for this:
           
            [dalem] fix the Release.gmk script to leave links as links
          
           The second issue, with hotspot being a directory rather than a symlink,
           probably came about via a "cp" command.
           

              dmcduffisunw Dale Mcduffie (Inactive)
              katleman David Katleman (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: