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

Windows slowdebug without precompiled header fails to link jvm.dll

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 11
    • Fix Version/s: None
    • Component/s: hotspot
    • Labels:
      None

      Description

      jib > javaClasses.obj : error LNK2019: unresolved external symbol "public: static class oopDesc * __cdecl StringTable::create_archived_string(class oopDesc *,class Thread *)" (?create_archived_string@StringTable@@SAPEAVoopDesc@@PEAV2@PEAVThread@@@Z) referenced in function "void __cdecl initialize_static_field(class fieldDescriptor *,class Handle,class Thread *)" (?initialize_static_field@@YAXPEAVfieldDescriptor@@VHandle@@PEAVThread@@@Z)
      jib > t:/workspace/build/windows-x64-slowdebug/support/modules_libs/java.base/server/jvm.dll : fatal error LNK1120: 1 unresolved externals
      jib > lib/CompileJvm.gmk:149: recipe for target '/cygdrive/t/workspace/build/windows-x64-slowdebug/support/modules_libs/java.base/server/jvm.dll' failed
      jib > make[3]: *** [/cygdrive/t/workspace/build/windows-x64-slowdebug/support/modules_libs/java.base/server/jvm.dll] Error 1
      jib > make[3]: *** Waiting for unfinished jobs....
      jib > javaClasses.obj : error LNK2019: unresolved external symbol "public: static class oopDesc * __cdecl StringTable::create_archived_string(class oopDesc *,class Thread *)" (?create_archived_string@StringTable@@SAPEAVoopDesc@@PEAV2@PEAVThread@@@Z) referenced in function "void __cdecl initialize_static_field(class fieldDescriptor *,class Handle,class Thread *)" (?initialize_static_field@@YAXPEAVfieldDescriptor@@VHandle@@PEAVThread@@@Z)
      jib > t:/workspace/build/windows-x64-slowdebug/hotspot/variant-server/libjvm/gtest/jvm.dll : fatal error LNK1120: 1 unresolved externals
      jib > lib/CompileGtest.gmk:58: recipe for target '/cygdrive/t/workspace/build/windows-x64-slowdebug/hotspot/variant-server/libjvm/gtest/jvm.dll' failed
      jib > make[3]: *** [/cygdrive/t/workspace/build/windows-x64-slowdebug/hotspot/variant-server/libjvm/gtest/jvm.dll] Error 1

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rehn Robbin Ehn
              Reporter:
              erikj Erik Joelsson
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: