JDK-8324840 : windows-x64-slowdebug does not build anymore after JDK-8317572
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 23
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2024-01-29
  • Updated: 2024-07-02
  • Resolved: 2024-01-29
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 23
23 b08Fixed
Related Reports
Relates :  
Relates :  
Sub Tasks
JDK-8327584 :  
Description
windows-x64-slowdebug build does not build any more after JDK-8317572 with the following error:

```[2024-01-29T12:19:47,671Z] Creating support/native/java.desktop/libjsound/static/jsound.lib from 17 file(s)
[2024-01-29T12:24:59,378Z] ...\open\src\hotspot\share\utilities/stringUtils.hpp(65): error C3861: 'strtok_r': identifier not found
[2024-01-29T12:24:59,378Z] ...\open\src\hotspot\share\utilities/stringUtils.hpp(73): error C3861: 'strtok_r': identifier not found
[2024-01-29T12:24:59,378Z] lib/CompileJvm.gmk:152: recipe for target '.../windows-x64-slowdebug/hotspot/variant-server/libjvm/objs/static/logLevel.obj' failed
[2024-01-29T12:24:59,378Z] make[3]: *** [.../windows-x64-slowdebug/hotspot/variant-server/libjvm/objs/static/logLevel.obj] Error 1
[2024-01-29T12:24:59,378Z] make[3]: *** Waiting for unfinished jobs....
[2024-01-29T12:25:02,568Z] make/Main.gmk:261: recipe for target 'hotspot-server-static-libs' failed
[2024-01-29T12:25:02,568Z] make[2]: *** [hotspot-server-static-libs] Error 2
[2024-01-29T12:25:02,568Z] make[2]: *** Waiting for unfinished jobs....
[2024-01-29T12:25:03,412Z] ...\open\src\hotspot\share\utilities/stringUtils.hpp(65): error C3861: 'strtok_r': identifier not found
[2024-01-29T12:25:03,412Z] ...\open\src\hotspot\share\utilities/stringUtils.hpp(73): error C3861: 'strtok_r': identifier not found
[2024-01-29T12:25:03,412Z] lib/CompileJvm.gmk:152: recipe for target '.../windows-x64-slowdebug/hotspot/variant-server/libjvm/objs/logLevel.obj' failed
[2024-01-29T12:25:03,412Z] make[3]: *** [.../windows-x64-slowdebug/hotspot/variant-server/libjvm/objs/logLevel.obj] Error 1
```


Comments
There is nothing to revert. The single line it adds has already been removed in some later patch.
07-03-2024

(Stumbled here during some code archaeology...) Note that this fix did not resolve the issue it was set out to resolve. In fact, it is likely that it did not affect the issue whatsoever, and should really be reverted.
07-03-2024

This fix is integrated in jdk-23+8-518. However Mach5 Tier2 (where slowdebug build happen) still fails with: [2024-01-29T15:13:06,020Z] Creating support/native/java.desktop/libjsound/static/jsound.lib from 17 file(s) [2024-01-29T15:19:09,151Z] c:\sb\prod\1706540623\workspace\open\src\hotspot\share\utilities/stringUtils.hpp(67): error C3861: 'strtok_r': identifier not found [2024-01-29T15:19:09,151Z] c:\sb\prod\1706540623\workspace\open\src\hotspot\share\utilities/stringUtils.hpp(75): error C3861: 'strtok_r': identifier not found [2024-01-29T15:19:09,167Z] lib/CompileJvm.gmk:152: recipe for target '/cygdrive/c/sb/prod/1706540623/workspace/build/windows-x64-slowdebug/hotspot/variant-server/libjvm/objs/static/logLevel.obj' failed [2024-01-29T15:19:09,167Z] make[3]: *** [/cygdrive/c/sb/prod/1706540623/workspace/build/windows-x64-slowdebug/hotspot/variant-server/libjvm/objs/static/logLevel.obj] Error 1 [2024-01-29T15:19:09,167Z] make[3]: *** Waiting for unfinished jobs.... [2024-01-29T15:19:10,558Z] c:\sb\prod\1706540623\workspace\open\src\hotspot\share\utilities/stringUtils.hpp(67): error C3861: 'strtok_r': identifier not found [2024-01-29T15:19:10,558Z] c:\sb\prod\1706540623\workspace\open\src\hotspot\share\utilities/stringUtils.hpp(75): error C3861: 'strtok_r': identifier not found [2024-01-29T15:19:10,558Z] make[3]: *** [/cygdrive/c/sb/prod/1706540623/workspace/build/windows-x64-slowdebug/hotspot/variant-server/libjvm/objs/logLevel.obj] Error 1 [2024-01-29T15:19:10,558Z] lib/CompileJvm.gmk:152: recipe for target '/cygdrive/c/sb/prod/1706540623/workspace/build/windows-x64-slowdebug/hotspot/variant-server/libjvm/objs/logLevel.obj' failed [2024-01-29T15:19:10,558Z] make[3]: *** Waiting for unfinished jobs.... [2024-01-29T15:19:11,761Z] make/Main.gmk:261: recipe for target 'hotspot-server-static-libs' failed [2024-01-29T15:19:11,761Z] make[2]: *** [hotspot-server-static-libs] Error 2
29-01-2024

ILW = Build failure, Windows slowdebug at tier2, no workaround = HLH = P2
29-01-2024

Changeset: fe0eec7e Author: Thomas Schatzl <tschatzl@openjdk.org> Date: 2024-01-29 13:55:00 +0000 URL: https://git.openjdk.org/jdk/commit/fe0eec7e20bc4c39d6c2b58d81ffd5c0ef1fdeda
29-01-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/17613 Date: 2024-01-29 13:12:42 +0000
29-01-2024