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

Fix broken CL version detection in configure for some Visual Studio configurations

    Details

    • Subcomponent:
    • Resolved In Build:
      b131

      Backports

        Description

        Sometimes the detected CL.EXE cannot be run without additions to the PATH in configure. This seems to happen with certain VS2010 and VS2012 installations.
        The error appears as:

        configure: error: Target CPU mismatch. We are building for x86 but CL is for "directory"; expected "80x86" or "x86".

        The best solution seems to be to move the check in TOOLCHAIN_MISC_CHECKS to closer to where we locate the compiler, and still have the VS PATH setup.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  erikj Erik Joelsson
                  Reporter:
                  ihse Magnus Ihse Bursie
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: