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

function "oop_store" is referenced but not defined

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.3.1
    • 1.3.0
    • hotspot
    • beta
    • generic
    • generic

        Problem:
                inline void oop_store(oop* p, oop v);
                            ^
                ".../src/share/vm/oops/oop.hpp", line 25: error(206):
                        function "oop_store" was referenced but not defined
            This problem occurs when compiling any of the following modules:
                        accessFlags.cpp
                        arguments.cpp
                        arrayOop.cpp
                        extendedPC_<arch>.cpp
                        globals.cpp
                        heap.cpp
                        histogram.cpp
                        hpi_<os_family>.cpp
                        monitorChunk.cpp
                        objArrayOop.cpp
                        oopRecorder.cpp
                        osThread.cpp
                        ostream.cpp
                        stubCodeGenerator.cpp
                        stubs.cpp
                        timer.cpp
                        train.cpp
                        typeArrayOop.cpp
                        virtualspace.cpp
                        vmNullPointerExc.cpp
                        vm_version_abs.cpp
            Analysis:
                Consider, for example, arguments.cpp.
                arguments.cpp includes klass.hpp which references oop_store,
                so arguments.cpp is dependent on oop.inline.hpp where oop_store is
        defined.
            Question:
                If this analysis is correct, why doesn't sparcWorks issue an error?
            Solution:
                In includeDB.core add
                    accessFlags.cpp oop.inline.hpp
                    and all the others


        fariba.alavi@eng 2000-10-30

        Tandem needs this fix in LadyBird.

              sgoldman Steve Goldman (Inactive)
              duke J. Duke
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: