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

dtrace.o causes linker warnings

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: External
    • Icon: P4 P4
    • tbd
    • hs17
    • hotspot
    • svc
    • generic
    • generic

      Solaris builds generate several warnings related to dtrace.o when linking the JVM:

      Linking vm...
      ld: warning: symbol `Universe::_narrow_oop' has differing types:
              (file universe.o type=OBJT; file dtrace.o type=FUNC);
      ld: warning: symbol `Universe::_methodKlassObj' has differing types:
              (file universe.o type=OBJT; file dtrace.o type=FUNC);
      ld: warning: symbol `CodeCache::_heap' has differing types:
              (file codeCache.o type=OBJT; file dtrace.o type=FUNC);
      ld: warning: symbol `Universe::_collectedHeap' has differing types:
              (file universe.o type=OBJT; file dtrace.o type=FUNC);
      ld: warning: symbol `nmethod::__vtbl' has differing types:
              (file nmethod.o type=OBJT; file dtrace.o type=FUNC);
      ld: warning: symbol `BufferBlob::__vtbl' has differing types:
              (file codeBlob.o type=OBJT; file dtrace.o type=FUNC);

      The above are from a c2 product builds.

            Unassigned Unassigned
            jcoomes John Coomes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: