<div dir="ltr"><div class="gmail_default" style="font-family:monospace">Hello Build Dev Team,</div><div class="gmail_default" style="font-family:monospace"><br></div><div class="gmail_default" style="font-family:monospace">I was trying to build the Valhalla repository off of the lworld branch, but I ran into the following build error.</div><div class="gmail_default" style="font-family:monospace"><br></div><div class="gmail_default" style="font-family:monospace">I went through the directions on this link -- <a href="https://openjdk.org/groups/build/doc/building.html">https://openjdk.org/groups/build/doc/building.html</a></div><div class="gmail_default" style="font-family:monospace"><br></div><div class="gmail_default" style="font-family:monospace">I went through the trouble-shooting section as well. It had useful information, but nothing that clearly moved me forward.</div><br><div class="gmail_default" style="font-family:monospace">I successfully ran bash configure. Here is the final output section</div><div class="gmail_default" style="font-family:monospace"><br></div><div class="gmail_default" style="font-family:monospace">====================================================<br>A new configuration has been successfully created in<br>/home/david/valhalla/build/windows-x86_64-server-release<br>using default settings.<br><br>Configuration summary:<br>* Name:           windows-x86_64-server-release<br>* Debug level:    release<br>* HS debug level: product<br>* JVM variants:   server<br>* JVM features:   server: 'cds compiler1 compiler2 epsilongc g1gc jfr jni-check jvmci jvmti management parallelgc serialgc services shenandoahgc vm-structs zgc'<br>* OpenJDK target: OS: windows, CPU architecture: x86, address length: 64<br>* Version string: 25-internal-adhoc.david.valhalla (25-internal)<br>* Source date:    1754954438 (2025-08-11T23:20:38Z)<br><br>Tools summary:<br>* Environment:    cygwin version 3.6.4-1.x86_64, 2025-07-15 07:55 UTC; windows version 10.0.26100.4652; prefix "/cygdrive"; root "C:\cygwin64"<br>* Boot JDK:       openjdk version "25-ea" 2025-09-16 OpenJDK Runtime Environment (build 25-ea+34-3482) OpenJDK 64-Bit Server VM (build 25-ea+34-3482, mixed mode, sharing) (at /cygdrive/c/users/david/_workspace_new/_programming/_jdk/jdk-25)<br>* Toolchain:      microsoft (Microsoft Visual Studio 2022)<br>* C Compiler:     Version 19.44.35214 (at /cygdrive/c/progra~1/micros~4/2022/commun~1/vc/tools/msvc/1444~1.352/bin/hostx64/x64/cl.exe)<br>* C++ Compiler:   Version 19.44.35214 (at /cygdrive/c/progra~1/micros~4/2022/commun~1/vc/tools/msvc/1444~1.352/bin/hostx64/x64/cl.exe)<br><br>Build performance summary:<br>* Build jobs:     8<br>* Memory limit:   15605 MB<br><br></div><div class="gmail_default" style="font-family:monospace"><br></div><div class="gmail_default" style="font-family:monospace"><br></div><div class="gmail_default" style="font-family:monospace"><br></div><div class="gmail_default" style="font-family:monospace"><br></div><div class="gmail_default" style="font-family:monospace"><br></div><div class="gmail_default" style="font-family:monospace">And here is the output for the make images command.</div><div class="gmail_default" style="font-family:monospace"><br></div><div class="gmail_default" style="font-family:monospace"><br></div><div class="gmail_default" style="font-family:monospace"><br></div><div class="gmail_default" style="font-family:monospace"><br></div><div class="gmail_default" style="font-family:monospace">Creating support/modules_cmds/jdk.jlink/jlink.exe from 1 file(s)<br>Creating support/modules_cmds/jdk.jpackage/jpackage.exe from 1 file(s)<br>Creating jdk/modules/jdk.jpackage/jdk/jpackage/internal/resources/jpackageapplauncher.exe from 24 file(s)<br>Creating support/modules_libs/jdk.jpackage/jpackage.dll from 23 file(s)<br>Creating support/modules_cmds/jdk.jlink/jmod.exe from 1 file(s)<br>Creating jdk/modules/jdk.jpackage/jdk/jpackage/internal/resources/wixhelper.dll from 19 file(s)<br>Creating jdk/modules/jdk.jpackage/jdk/jpackage/internal/resources/msiwrapper.exe from 18 file(s)<br>Creating support/modules_cmds/jdk.jshell/jshell.exe from 1 file(s)<br>Creating jdk/modules/jdk.jpackage/jdk/jpackage/internal/resources/jpackageapplauncherw.exe from 24 file(s)<br>Creating support/modules_cmds/jdk.jstatd/jstatd.exe from 1 file(s)</div><div class="gmail_default" style="font-family:monospace">C:\cygwin64\home\david\valhalla\src\jdk.jdwp.agent\share\native\libjdwp\debugInit.c(184): error C2220: the following warning is treated as an error<br>C:\cygwin64\home\david\valhalla\src\jdk.jdwp.agent\share\native\libjdwp\debugInit.c(184): warning C5287: operands are different enum types '<unnamed-enum-JVMTI_VERSION_1>' and '<unnamed-enum-JVMTI_VERSION_MASK_INTERFACE_TYPE>'; use an explicit cast to silence this warning<br>C:\cygwin64\home\david\valhalla\src\jdk.jdwp.agent\share\native\libjdwp\debugInit.c(184): note: to simplify migration, consider the temporary use of /Wv:18 flag with the version of the compiler with which you used to build without warnings<br>C:\cygwin64\home\david\valhalla\src\jdk.jdwp.agent\share\native\libjdwp\debugInit.c(186): warning C5287: operands are different enum types '<unnamed-enum-JVMTI_VERSION_1>' and '<unnamed-enum-JVMTI_VERSION_MASK_INTERFACE_TYPE>'; use an explicit cast to silence this warning<br>C:\cygwin64\home\david\valhalla\src\jdk.jdwp.agent\share\native\libjdwp\debugInit.c(186): note: to simplify migration, consider the temporary use of /Wv:18 flag with the version of the compiler with which you used to build without warnings<br>C:\cygwin64\home\david\valhalla\src\jdk.jdwp.agent\share\native\libjdwp\debugInit.c(188): warning C5287: operands are different enum types '<unnamed-enum-JVMTI_VERSION_1>' and '<unnamed-enum-JVMTI_VERSION_MASK_INTERFACE_TYPE>'; use an explicit cast to silence this warning<br>C:\cygwin64\home\david\valhalla\src\jdk.jdwp.agent\share\native\libjdwp\debugInit.c(188): note: to simplify migration, consider the temporary use of /Wv:18 flag with the version of the compiler with which you used to build without warnings<br>make[3]: *** [modules/jdk.jdwp.agent/Lib.gmk:55: /home/david/valhalla/build/windows-x86_64-server-release/support/native/jdk.jdwp.agent/libjdwp/debugInit.obj] Error 1<br>make[3]: *** Waiting for unfinished jobs....<br>Creating support/modules_libs/<a href="http://jdk.net/extnet.dll">jdk.net/extnet.dll</a> from 1 file(s)<br>Creating support/modules_libs/jdk.security.auth/jaas.dll from 1 file(s)<br>Updating images/sec-bin.zip<br>Updating images/sec-windows-bin.zip<br>make[2]: *** [make/Main.gmk:182: jdk.jdwp.agent-libs] Error 2<br>make[2]: *** Waiting for unfinished jobs....<br>Updating images/jgss-windows-x64-bin.zip<br><br>ERROR: Build failed for target 'images' in configuration 'windows-x86_64-server-release' (exit code 2)<br><br>=== Output from failing command(s) repeated here ===<br>* For target support_native_jdk.jdwp.agent_libjdwp_debugInit.obj:<br>debugInit.c<br>C:\cygwin64\home\david\valhalla\src\jdk.jdwp.agent\share\native\libjdwp\debugInit.c(184): error C2220: the following warning is treated as an error<br>C:\cygwin64\home\david\valhalla\src\jdk.jdwp.agent\share\native\libjdwp\debugInit.c(184): warning C5287: operands are different enum types '<unnamed-enum-JVMTI_VERSION_1>' and '<unnamed-enum-JVMTI_VERSION_MASK_INTERFACE_TYPE>'; use an explicit cast to silence this warning<br>C:\cygwin64\home\david\valhalla\src\jdk.jdwp.agent\share\native\libjdwp\debugInit.c(184): note: to simplify migration, consider the temporary use of /Wv:18 flag with the version of the compiler with which you used to build without warnings<br>C:\cygwin64\home\david\valhalla\src\jdk.jdwp.agent\share\native\libjdwp\debugInit.c(186): warning C5287: operands are different enum types '<unnamed-enum-JVMTI_VERSION_1>' and '<unnamed-enum-JVMTI_VERSION_MASK_INTERFACE_TYPE>'; use an explicit cast to silence this warning<br>C:\cygwin64\home\david\valhalla\src\jdk.jdwp.agent\share\native\libjdwp\debugInit.c(186): note: to simplify migration, consider the temporary use of /Wv:18 flag with the version of the compiler with which you used to build without warnings<br>C:\cygwin64\home\david\valhalla\src\jdk.jdwp.agent\share\native\libjdwp\debugInit.c(188): warning C5287: operands are different enum types '<unnamed-enum-JVMTI_VERSION_1>' and '<unnamed-enum-JVMTI_VERSION_MASK_INTERFACE_TYPE>'; use an explicit cast to silence this warning<br>C:\cygwin64\home\david\valhalla\src\jdk.jdwp.agent\share\native\libjdwp\debugInit.c(188): note: to simplify migration, consider the temporary use of /Wv:18 flag with the version of the compiler with which you used to build without warnings<br>   ... (rest of output omitted)<br><br>* All command lines available in /home/david/valhalla/build/windows-x86_64-server-release/make-support/failure-logs.<br>=== End of repeated output ===<br><br>No indication of failed target found.<br>HELP: Try searching the build log for '] Error'.<br>HELP: Run 'make doctor' to diagnose build problems.<br><br>make[1]: *** [/home/david/valhalla/make/Init.gmk:144: main] Error 2<br>make: *** [/home/david/valhalla/make/PreInit.gmk:158: images] Error 2<br></div><div class="gmail_default" style="font-family:monospace"><br></div><div class="gmail_default" style="font-family:monospace"><br></div><div class="gmail_default" style="font-family:monospace">Thank you for your time and help.</div><div class="gmail_default" style="font-family:monospace">David Alayachew</div></div>