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

Can't build product VM without precompiled header

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b08
    • CPU:
      x86
    • OS:
      generic

      Backports

        Description

        Note, by default we use precompiled header. It is not normal case.

        export USE_PRECOMPILED_HEADER=0

        When trying to execute built product VM produce:

        On solaris:
        java -Xcomp t
        Error: dl failure on line 744
        Error: failed jre/lib/i386/server/libjvm.so, because jre/lib/i386/server/libjvm.so: undefined symbol: _ZN8CHeapObjILt1792EEdlEPv

        or on Mac:

        Undefined symbols for architecture x86_64:
          "CHeapObj<(unsigned short)1792>::operator delete(void*)", referenced from:
              RTMLockingCalculationTask::task() in rtmLocking.o
        ld: symbol(s) not found for architecture x86_64

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  kvn Vladimir Kozlov
                  Reporter:
                  kvn Vladimir Kozlov
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: