Windows slowdebug without precompiled header fails to link jvm.dll

XMLWordPrintable

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

      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

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

              Created:
              Updated:
              Resolved: