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

Premium Version is not buildable when optimization is disabled

    Details

    • Subcomponent:
    • Resolved In Build:
      fcs
    • CPU:
      x86
    • OS:
      windows_nt
    • Verification:
      Not verified

      Description



      Name: icC57033 Date: 01/19/99



      If optimization is fully disabled, then build of Premium Version of HotSpot under VC++
      fails with the following errors:
      "Deleting intermediate files and output files for project 'vm - Win32 Release'.
      --------------------Configuration: vm - Win32 Release--------------------
      Compiling...
      java.cpp
      ...
      ...
      ...
      osThread_win32.cpp
      Generating Code...
      Linking...
         Creating library release/jvm.lib and object release/jvm.exp
      vmNullPointerExc.obj : error LNK2001: unresolved external symbol "void __cdecl trace_locking(class Mutex *,char *,char *)"
      (?trace_locking@@YAXPAVMutex@@PAD1@Z)
      vtableStubs.obj : error LNK2001: unresolved external symbol "void __cdecl trace_locking(class Mutex *,char *,char *)"
      (?trace_locking@@YAXPAVMutex@@PAD1@Z)
      threadMap.obj : error LNK2001: unresolved external symbol "void __cdecl trace_locking(class Mutex *,char *,char *)"
      (?trace_locking@@YAXPAVMutex@@PAD1@Z)
      type.obj : error LNK2001: unresolved external symbol "void __cdecl trace_locking(class Mutex *,char *,char *)"
      (?trace_locking@@YAXPAVMutex@@PAD1@Z)
      typeArrayKlass.obj : error LNK2001: unresolved external symbol "void __cdecl trace_locking(class Mutex *,char *,char *)"
      (?trace_locking@@YAXPAVMutex@@PAD1@Z)
      universe.obj : error LNK2001: unresolved external symbol "void __cdecl trace_locking(class Mutex *,char *,char *)"
      (?trace_locking@@YAXPAVMutex@@PAD1@Z)
      symbolTable.obj : error LNK2001: unresolved external symbol "void __cdecl trace_locking(class Mutex *,char *,char *)"
      (?trace_locking@@YAXPAVMutex@@PAD1@Z)
      synchronizer.obj : error LNK2001: unresolved external symbol "void __cdecl trace_locking(class Mutex *,char *,char *)"
      (?trace_locking@@YAXPAVMutex@@PAD1@Z)
      systemDictionary.obj : error LNK2001: unresolved external symbol "void __cdecl trace_locking(class Mutex *,char *,char *)"
      (?trace_locking@@YAXPAVMutex@@PAD1@Z)
      thread.obj : error LNK2001: unresolved external symbol "void __cdecl trace_locking(class Mutex *,char *,char *)"
      (?trace_locking@@YAXPAVMutex@@PAD1@Z)
      runtime.obj : error LNK2001: unresolved external symbol "void __cdecl trace_locking(class Mutex *,char *,char *)"
      (?trace_locking@@YAXPAVMutex@@PAD1@Z)
      safepoint.obj : error LNK2001: unresolved external symbol "void __cdecl trace_locking(class Mutex *,char *,char *)"
      (?trace_locking@@YAXPAVMutex@@PAD1@Z)
      sharedRuntime.obj : error LNK2001: unresolved external symbol "void __cdecl trace_locking(class Mutex *,char *,char *)"
      (?trace_locking@@YAXPAVMutex@@PAD1@Z)
      stubs.obj : error LNK2001: unresolved external symbol "void __cdecl trace_locking(class Mutex *,char *,char *)"
      (?trace_locking@@YAXPAVMutex@@PAD1@Z)
      objArrayKlass.obj : error LNK2001: unresolved external symbol "void __cdecl trace_locking(class Mutex *,char *,char *)"
      (?trace_locking@@YAXPAVMutex@@PAD1@Z)
      os.obj : error LNK2001: unresolved external symbol "void __cdecl trace_locking(class Mutex *,char *,char *)"
      (?trace_locking@@YAXPAVMutex@@PAD1@Z)
      recompilationMonitor.obj : error LNK2001: unresolved external symbol "void __cdecl trace_locking(class Mutex *,char *,char *)"
      (?trace_locking@@YAXPAVMutex@@PAD1@Z)
      recompile.obj : error LNK2001: unresolved external symbol "void __cdecl trace_locking(class Mutex *,char *,char *)"
      (?trace_locking@@YAXPAVMutex@@PAD1@Z)
      lookupCache.obj : error LNK2001: unresolved external symbol "void __cdecl trace_locking(class Mutex *,char *,char *)"
      (?trace_locking@@YAXPAVMutex@@PAD1@Z)
      methodIterator.obj : error LNK2001: unresolved external symbol "void __cdecl trace_locking(class Mutex *,char *,char *)"
      (?trace_locking@@YAXPAVMutex@@PAD1@Z)
      methodOop.obj : error LNK2001: unresolved external symbol "void __cdecl trace_locking(class Mutex *,char *,char *)"
      (?trace_locking@@YAXPAVMutex@@PAD1@Z)
      nmethod.obj : error LNK2001: unresolved external symbol "void __cdecl trace_locking(class Mutex *,char *,char *)"
      (?trace_locking@@YAXPAVMutex@@PAD1@Z)
      interpreterRT_i486.obj : error LNK2001: unresolved external symbol "void __cdecl trace_locking(class Mutex *,char *,char *)"
      (?trace_locking@@YAXPAVMutex@@PAD1@Z)
      jniHandles.obj : error LNK2001: unresolved external symbol "void __cdecl trace_locking(class Mutex *,char *,char *)"
      (?trace_locking@@YAXPAVMutex@@PAD1@Z)
      jvm.obj : error LNK2001: unresolved external symbol "void __cdecl trace_locking(class Mutex *,char *,char *)"
      (?trace_locking@@YAXPAVMutex@@PAD1@Z)
      klassVtable.obj : error LNK2001: unresolved external symbol "void __cdecl trace_locking(class Mutex *,char *,char *)"
      (?trace_locking@@YAXPAVMutex@@PAD1@Z)
      constantPoolOop.obj : error LNK2001: unresolved external symbol "void __cdecl trace_locking(class Mutex *,char *,char *)"
      (?trace_locking@@YAXPAVMutex@@PAD1@Z)
      fprofiler.obj : error LNK2001: unresolved external symbol "void __cdecl trace_locking(class Mutex *,char *,char *)"
      (?trace_locking@@YAXPAVMutex@@PAD1@Z)
      generation.obj : error LNK2001: unresolved external symbol "void __cdecl trace_locking(class Mutex *,char *,char *)"
      (?trace_locking@@YAXPAVMutex@@PAD1@Z)
      instanceKlass.obj : error LNK2001: unresolved external symbol "void __cdecl trace_locking(class Mutex *,char *,char *)"
      (?trace_locking@@YAXPAVMutex@@PAD1@Z)
      adapters.obj : error LNK2001: unresolved external symbol "void __cdecl trace_locking(class Mutex *,char *,char *)"
      (?trace_locking@@YAXPAVMutex@@PAD1@Z)
      classLoader.obj : error LNK2001: unresolved external symbol "void __cdecl trace_locking(class Mutex *,char *,char *)"
      (?trace_locking@@YAXPAVMutex@@PAD1@Z)
      codeBlob.obj : error LNK2001: unresolved external symbol "void __cdecl trace_locking(class Mutex *,char *,char *)"
      (?trace_locking@@YAXPAVMutex@@PAD1@Z)
      codeCache.obj : error LNK2001: unresolved external symbol "void __cdecl trace_locking(class Mutex *,char *,char *)"
      (?trace_locking@@YAXPAVMutex@@PAD1@Z)
      generateOopMap.obj : error LNK2001: unresolved external symbol "public: void __thiscall methodOopDesc::print_codes(void)const "
      (?print_codes@methodOopDesc@@QBEXXZ)
      output.obj : error LNK2001: unresolved external symbol "public: void __thiscall methodOopDesc::print_codes(void)const "
      (?print_codes@methodOopDesc@@QBEXXZ)
      universe.obj : error LNK2001: unresolved external symbol "public: static void __cdecl Universe::verify(long)"
      (?verify@Universe@@SAXJ@Z)
      init.obj : error LNK2001: unresolved external symbol "public: static void __cdecl Universe::verify(long)"
      (?verify@Universe@@SAXJ@Z)
      markSweep.obj : error LNK2001: unresolved external symbol "public: static void __cdecl Universe::verify(long)"
      (?verify@Universe@@SAXJ@Z)
      scavenge.obj : error LNK2001: unresolved external symbol "public: static void __cdecl Universe::verify(long)"
      (?verify@Universe@@SAXJ@Z)
      thread.obj : error LNK2001: unresolved external symbol "public: static void __cdecl Universe::verify(long)"
      (?verify@Universe@@SAXJ@Z)
      inlining.obj : error LNK2001: unresolved external symbol "private: void __thiscall InliningClosure::printInline(class
      methodOopDesc *,char *)" (?printInline@InliningClosure@@AAEXPAVmethodOopDesc@@PAD@Z)
      scavenge.obj : error LNK2001: unresolved external symbol "private: static void __cdecl
      Scavenge::print_train_processing_statictics(unsigned __int64)" (?print_train_processing_statictics@Scavenge@@CAX_K@Z)
      vtableStubs_i486.obj : error LNK2001: unresolved external symbol _bad_compiled_vtable_index
      c:\jdk1.2\jre\bin\hotspot\jvm.dll : fatal error LNK1120: 6 unresolved externals
      Error executing link.exe.

      jvm.dll - 45 error(s), 0 warning(s)"


      If only inline function expansion is disabled, then build is OK and jvm works fine.

      ======================================================================

        Attachments

          Activity

            People

            • Assignee:
              rschmidtsunw Rene Schmidt (Inactive)
              Reporter:
              ichebykisunw Igor Chebykin (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: