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

need mechanism to build libjvm_g.so for C1 and C2 without gamma_test failure

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.4.0
    • 1.4.0
    • hotspot
    • None
    • beta2
    • generic
    • generic



      Name: dm26566 Date: 05/23/2001


      The RE and SCSL community need a GNU Make target to generate a hotspot C1
      and C2 libjvm_g.so that does not abort if the test_gamma run fails.

      The current set of targets that build libjvm_g.so for c1 and c2 are

         $(TARGETS_C2): $(SUBDIRS_C2)
              cd $(OS)_$(BUILDARCH)_compiler2/$@ && $(MAKE) $(MFLAGS)
              cd $(OS)_$(BUILDARCH)_compiler2/$@ && ./test_gamma

         $(TARGETS_C1): $(SUBDIRS_C1)
              cd $(OS)_$(BUILDARCH)_compiler1/$(patsubst %1,%,$@) && $(MAKE) $(MFLAGS)
              -cd $(OS)_$(BUILDARCH)_compiler1/$(patsubst %1,%,$@) && ./test_gamma


      Presumably the test_gamma runs are valuable to the hotspot team, and so
      the current 'debug' and 'jvmg' targets should continue executing them.
      If that is not true, or if there is willingness to put the gamma tests
      into a different target, that would be great.

      Alternatively, note that the C1 builds attempt to run the test_gamma, but
      if it fails, GNU Make reports the failure but does not abort any other
      processing
      (that is what the "-" preceeding the second command in the C1 rule does).

      At a minimum, this approach should be applied to the C2 build to prevent
      inappropriate failures. Ideally, there would be new targets created wich only
      performed the $(MAKE) step.

      We currently have the situation where RE is not building per the SCSL document
      because of the build failures that jvmg and debug produce. I would like this
      change
      as soon as possible. Can the hotspot team decide the best approach and impelemnt
      it? I would be happy to help in any way I can...


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

            jmasa Jon Masamitsu (Inactive)
            dmcduffisunw Dale Mcduffie (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: