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

32-bit Windows build failures after JDK-8290059

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 20
    • 20
    • hotspot
    • None
    • b11

      Look like this:

      === Output from failing command(s) repeated here ===
      * For target support_test_jdk_jtreg_native_support_libAsyncInvokers_libAsyncInvokers.obj:
      libAsyncInvokers.cpp
      c:\buildbot\worker\build-jdkx-windows\build\test\lib\native\testlib_threads.h(73): error C2664: 'HANDLE CreateThread(LPSECURITY_ATTRIBUTES,SIZE_T,LPTHREAD_START_ROUTINE,LPVOID,DWORD,LPDWORD)': cannot convert argument 3 from 'DWORD (__cdecl *)(LPVOID)' to 'LPTHREAD_START_ROUTINE'
      c:\buildbot\worker\build-jdkx-windows\build\test\lib\native\testlib_threads.h(73): note: None of the functions with this name in scope match the target type
      c:\progra~2\wi3cf2~1\10\include\100183~1.0\um\processthreadsapi.h(170): note: see declaration of 'CreateThread'
         ... (rest of output omitted)
      * For target support_test_jdk_jtreg_native_support_libLinkerInvokerModule_libLinkerInvokerModule.obj:
      libLinkerInvokerModule.cpp
      c:\buildbot\worker\build-jdkx-windows\build\test\lib\native\testlib_threads.h(73): error C2664: 'HANDLE CreateThread(LPSECURITY_ATTRIBUTES,SIZE_T,LPTHREAD_START_ROUTINE,LPVOID,DWORD,LPDWORD)': cannot convert argument 3 from 'DWORD (__cdecl *)(LPVOID)' to 'LPTHREAD_START_ROUTINE'
      c:\buildbot\worker\build-jdkx-windows\build\test\lib\native\testlib_threads.h(73): note: None of the functions with this name in scope match the target type
      c:\progra~2\wi3cf2~1\10\include\100183~1.0\um\processthreadsapi.h(170): note: see declaration of 'CreateThread'
         ... (rest of output omitted)
      * For target support_test_jdk_jtreg_native_support_libLinkerInvokerUnnamed_libLinkerInvokerUnnamed.obj:
      libLinkerInvokerUnnamed.cpp
      c:\buildbot\worker\build-jdkx-windows\build\test\lib\native\testlib_threads.h(73): error C2664: 'HANDLE CreateThread(LPSECURITY_ATTRIBUTES,SIZE_T,LPTHREAD_START_ROUTINE,LPVOID,DWORD,LPDWORD)': cannot convert argument 3 from 'DWORD (__cdecl *)(LPVOID)' to 'LPTHREAD_START_ROUTINE'
      c:\buildbot\worker\build-jdkx-windows\build\test\lib\native\testlib_threads.h(73): note: None of the functions with this name in scope match the target type
      c:\progra~2\wi3cf2~1\10\include\100183~1.0\um\processthreadsapi.h(170): note: see declaration of 'CreateThread'
         ... (rest of output omitted)

      The file was added by JDK-8290059, and the code that fails the compilation is under #ifdef _WIN32, and it only (?) gets compiled for tests.

            shade Aleksey Shipilev
            shade Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: