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

8257831 broke Windows x86 build

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 17
    • None
    • hotspot
    • None
    • b20
    • windows

    Description

      os_windows.obj : error LNK2019: unresolved external symbol "public: void __thiscall Semaphore::wait_with_safepoint_check(class JavaThread *)" (?wait_with_safepoint_check@Semaphore@@QAEXPAVJavaThread@@@Z) referenced in function "int __cdecl check_pending_signals(void)" (?check_pending_signals@@YAHXZ)

      d:\priv\openjdk\nb\ntintel\jdk-build-fastdebug\support\modules_libs\java.base\server\jvm.dll : fatal error LNK1120: 1 unresolved externals

      The error is just a missing include. I have no idea why this only breaks x86 though. It has nothing to do with different calling conventions between caller and callee (a typical pain point on x86 windows). Atm I just assume the Windows x64 build pulls semaphore.inline.hpp via some other includes.

      Attachments

        Issue Links

          Activity

            People

              stuefe Thomas Stuefe
              stuefe Thomas Stuefe
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: