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

dtrace.o causes linker warnings

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: External
    • Affects Version/s: hs17
    • Fix Version/s: tbd_major
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      svc
    • CPU:
      generic
    • OS:
      generic

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              jcoomes John Coomes
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: