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

jvm.lib is missing from export list unless building server

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b08
    • OS:
      windows

      Backports

        Description

        If you configure a build for only the client VM on windows it will fail as follows:

        /cygdrive/c/jdks/jdk8_2d/build/windows-x86-normal-client-release/fixpath.exe -c /cygdrive/c/vs2010/VC/BIN/link -libpath:/cygdrive/c/tools/DX9SDKSum2004/Lib -nologo -opt:ref -incremental:no -safeseh -debug -dll -libpath:/cygdrive/c/jdks/jdk8_2d/build/windows-x86-normal-client-release/jdk/lib "-implib:/cygdrive/c/jdks/jdk8_2d/build/windows-x86-normal-client-release/jdk/objs/libverify/verify.lib" "-pdb:/cygdrive/c/jdks/jdk8_2d/build/windows-x86-normal-client-release/jdk/objs/libverify/verify.pdb" "-map:/cygdrive/c/jdks/jdk8_2d/build/windows-x86-normal-client-release/jdk/objs/libverify/verify.map" -out:/cygdrive/c/jdks/jdk8_2d/build/windows-x86-normal-client-release/jdk/bin/verify.dll /cygdrive/c/jdks/jdk8_2d/build/windows-x86-normal-client-release/jdk/objs/libverify/check_code.obj /cygdrive/c/jdks/jdk8_2d/build/windows-x86-normal-client-release/jdk/objs/libverify/check_format.obj /cygdrive/c/jdks/jdk8_2d/build/windows-x86-normal-client-release/jdk/objs/libverify/verify.dll.res jvm.lib
        WinAccessBridge.cpp
        (/usr/bin/echo /cygdrive/c/jdks/jdk8_2d/build/windows-x86-normal-client-release/jdk/objs/libwindowsaccessbridge/WinAccessBridge.obj: \\ && /usr/bin/sed -e '/^Note: including file:/!d' -e 's|Note: including file: *||' -e 's|\\|/|g' -e 's|^\([a-zA-Z]\):|/cygdrive/\1|g' -e '/\/cygdrive\/c\/jdks\/jdk8_2d/!d' -e 's|$| \\|g' /cygdrive/c/jdks/jdk8_2d/build/windows-x86-normal-client-release/jdk/objs/libwindowsaccessbridge/WinAccessBridge.d.raw) > /cygdrive/c/jdks/jdk8_2d/build/windows-x86-normal-client-release/jdk/objs/libwindowsaccessbridge/WinAccessBridge.d
        LINK : fatal error LNK1181: cannot open input file 'jvm.lib'

        The problem is that jvm.lib is only added to the export list for server builds.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                dholmes David Holmes
                Reporter:
                dholmes David Holmes
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: