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

checkdeps build target doesn't work for cross-compilation builds

XMLWordPrintable

    • b29

        The verify-modules top-level target runs:

        $(MAKE) $(MAKE_ARGS) -f ModulesXml.gmk checkdeps

        but checkdeps is defined as:

        checkdeps: $(JDEPS_MODULES_XML)
                $(ECHO) "Checking dependencies across JDK modules"
                $(FIXPATH) $(JDK_OUTPUTDIR)/bin/jdeps -verify:access -mp $(JDK_OUTPUTDIR)/modules

        which tries to execute the jdeps that has just been built. But that will not work for cross-compilation builds.

        Full JPRT builds hit this problem because it uses the "all" target which now includes verify-modules

              mchung Mandy Chung (Inactive)
              dholmes David Holmes
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: