Hellow:

  When i compile openjdk of version jdk-17-35 on windows 10, appear a trouble 
of follow, I can’t get useful information from the doc, who can help me shoot 
this trouble?

Thanks very much.

xsy@DESKTOP-QL6LMRE ~/openjdk/jdk-jdk-17-35
$  ./configure --with-toolchain-version=2017 --disable-warnings-as-errors
configure: Configuration created at Tue Feb  7 07:23:13 CST 2023.
checking for basename... /usr/bin/basename
checking for dirname... /usr/bin/dirname
checking for file... /usr/bin/file
checking for ldd... /usr/bin/ldd
checking for bash... /usr/bin/bash
checking for cat... /usr/bin/cat
checking for chmod... /usr/bin/chmod
checking for cp... /usr/bin/cp
checking for cut... /usr/bin/cut
checking for date... /usr/bin/date
checking for gdiff... [not found]
checking for diff... /usr/bin/diff
checking for echo... echo [builtin]
checking for expr... /usr/bin/expr
checking for find... /usr/bin/find
checking for gunzip... /usr/bin/gunzip
checking for pigz... [not found]
checking for gzip... /usr/bin/gzip
checking for head... /usr/bin/head
checking for ln... /usr/bin/ln
checking for ls... /usr/bin/ls
checking for gmkdir... [not found]
checking for mkdir... /usr/bin/mkdir
checking for mktemp... /usr/bin/mktemp
checking for mv... /usr/bin/mv
checking for gawk... /usr/bin/gawk
checking for printf... printf [builtin]
checking for rm... /usr/bin/rm
checking for rmdir... /usr/bin/rmdir
checking for sh... /usr/bin/sh
checking for sort... /usr/bin/sort
checking for tail... /usr/bin/tail
checking for gtar... [not found]
checking for tar... /usr/bin/tar
checking for tee... /usr/bin/tee
checking for touch... /usr/bin/touch
checking for tr... /usr/bin/tr
checking for uname... /usr/bin/uname
checking for wc... /usr/bin/wc
checking for xargs... /usr/bin/xargs
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for a sed that does not truncate output... /usr/bin/sed
checking for df... /usr/bin/df
checking for nice... /usr/bin/nice
checking for greadlink... [not found]
checking for readlink... /usr/bin/readlink
checking for cygpath... /usr/bin/cygpath
checking for lsb_release... [not found]
checking for cmd.exe... /cygdrive/c/Windows/system32/cmd.exe
checking for cmp... /usr/bin/cmp
checking for uniq... /usr/bin/uniq
checking build system type... x86_64-unknown-cygwin
checking host system type... x86_64-unknown-cygwin
checking target system type... x86_64-unknown-cygwin
checking openjdk-build os-cpu... windows-x86_64
checking openjdk-target os-cpu... windows-x86_64
checking compilation type... native
checking Windows environment type... cygwin
checking cygwin drive prefix... '/cygdrive'
checking cygwin root directory as Windows path... 'D:\cygwin'
checking cygwin temp directory... /tmp
checking cygwin release... 3.4.5-1.x86_64
checking cygwin version... 2023-01-19 19:09 UTC
checking Windows version... 10.0.19045.2486
checking what kind of 'find' is first on the PATH... unix style
checking for top-level directory... /home/xsy/openjdk/jdk-jdk-17-35
checking if custom source is suppressed (openjdk-only)... disabled, default
checking for --enable-debug... disabled, default
checking which debug level to use... release
checking which variants of the JVM to build... server
checking if absolute paths should be allowed in the build output... no, release 
build
checking for sysroot...
checking for toolchain path...
checking for extra path...
checking where to store configuration... in default location
checking what configuration name to use... windows-x86_64-server-release
checking for zypper... [not found]
checking for apt-get... [not found]
checking for yum... [not found]
checking for brew... [not found]
checking for port... [not found]
checking for pkgutil... [not found]
checking for pkgadd... [not found]
checking for pacman... [not found]
checking for pandoc... [not found]
checking for gmake... [not found]
checking for make... /usr/bin/make
configure: Testing potential make at /usr/bin/make, found using make in PATH
configure: Using GNU make at /usr/bin/make (version: GNU Make 4.4)
checking if make --output-sync is supported... yes
checking for output-sync value... none
checking if find supports -delete... yes
checking what type of tar was found... gnu
checking that grep (/usr/bin/grep) -Fx handles empty lines in the pattern list 
correctly... yes
checking for unzip... /usr/bin/unzip
checking for zip... /usr/bin/zip
checking for greadelf... [not found]
checking for readelf... [not found]
checking for dot... [not found]
checking for hg... [not found]
checking for git... $FIXPATH /cygdrive/c/progra~1/git/cmd/git.exe
checking for stat... /usr/bin/stat
checking for time... time [builtin]
checking for flock... /usr/bin/flock
checking for dtrace... [not found]
checking for gpatch... [not found]
checking for patch... [not found]
checking bash version... 4.4.12
checking if bash supports pipefail... yes
checking if bash supports errexit (-e)... yes
checking for pkg-config... no
checking for default LOG value...
checking if packaged modules are kept... enabled, default
checking for version string... 17-internal+0-adhoc.xsy.jdk-jdk-17-35
configure: Found potential Boot JDK using JAVA_HOME
checking for Boot JDK... /cygdrive/d/devtools/jdk-17.0.6
checking Boot JDK version... java version "17.0.6" 2023-01-17 LTS Java(TM) SE 
Runtime Environment (build 17.0.6+9-LTS-190) Java HotSpot(TM) 64-Bit Server VM 
(build 17.0.6+9-LTS-190, mixed mode, sharing)
checking for java [Boot JDK]... $BOOT_JDK/bin/java
checking for javac [Boot JDK]... $BOOT_JDK/bin/javac
checking for javadoc [Boot JDK]... $BOOT_JDK/bin/javadoc
checking for jar [Boot JDK]... $BOOT_JDK/bin/jar
checking if Boot JDK is 32 or 64 bits... 64
checking for local Boot JDK Class Data Sharing (CDS)... yes, created
checking for Build JDK... yes, will use output dir
checking for docs-reference JDK... no, using interim javadoc for the 
docs-reference targets
checking if we should build headless-only (no GUI)... disabled, default
checking if linker should clean out unused code (linktime-gc)... disabled, 
default
checking for graphviz dot... no, cannot generate full docs
checking for pandoc... no, cannot generate full docs
checking for --enable-full-docs... disabled, from default 'auto'
checking for cacerts file... default
checking for --enable-unlimited-crypto... enabled, default
checking for jni library path... default
checking if static build is available... no
checking if static build is enabled... disabled, default
configure: Using default toolchain microsoft (Microsoft Visual Studio)
configure: Found Visual Studio installation at 
/cygdrive/d/micvs/2017/professional using well-known name
configure: Found Microsoft Visual Studio 2017
configure: Trying to extract Visual Studio environment variables for x86_64
configure: using 
/cygdrive/d/micvs/2017/professional/vc/auxiliary/build/vcvarsx86_amd64.bat
configure: Setting extracted environment variables for x86_64
fixpath: failure: Path 
'/cygdrive/d/micvs/2017/professional/common7/ide/commonextensions/microsoft/teamfoundation/team
 explorer' contains space
fixpath: failure: Path '/cygdrive/d/micvs/2017/professional/team 
tools/performance tools' contains space
checking that Visual Studio variables have been correctly extracted... ok
checking for cl... $FIXPATH 
/cygdrive/d/micvs/2017/professional/vc/tools/msvc/14.10.25017/bin/hostx86/x64/cl.exe
checking resolved symbolic links for CC... no symlink
configure: Using microsoft C compiler version 19.10.25027 [Microsoft (R) C/C++ 
Optimizing Compiler Version 19.10.25027 for x64]
checking whether the C compiler works... yes
checking for C compiler default output file name... conftest.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... obj
checking whether the compiler supports GNU C... no
checking whether 
/home/xsy/openjdk/jdk-jdk-17-35/build/windows-x86_64-server-release/fixpath 
exec 
/cygdrive/d/micvs/2017/professional/vc/tools/msvc/14.10.25017/bin/hostx86/x64/cl.exe
 accepts -g... yes
checking for 
/home/xsy/openjdk/jdk-jdk-17-35/build/windows-x86_64-server-release/fixpath 
exec 
/cygdrive/d/micvs/2017/professional/vc/tools/msvc/14.10.25017/bin/hostx86/x64/cl.exe
 option to enable C11 features... unsupported
checking for 
/home/xsy/openjdk/jdk-jdk-17-35/build/windows-x86_64-server-release/fixpath 
exec 
/cygdrive/d/micvs/2017/professional/vc/tools/msvc/14.10.25017/bin/hostx86/x64/cl.exe
 option to enable C99 features... unsupported
checking for 
/home/xsy/openjdk/jdk-jdk-17-35/build/windows-x86_64-server-release/fixpath 
exec 
/cygdrive/d/micvs/2017/professional/vc/tools/msvc/14.10.25017/bin/hostx86/x64/cl.exe
 option to enable C89 features... unsupported
checking for cl... $FIXPATH 
/cygdrive/d/micvs/2017/professional/vc/tools/msvc/14.10.25017/bin/hostx86/x64/cl.exe
checking resolved symbolic links for CXX... no symlink
configure: Using microsoft C++ compiler version 19.10.25027 [Microsoft (R) 
C/C++ Optimizing Compiler Version 19.10.25027 for x64]
checking whether the compiler supports GNU C++... no
checking whether 
/home/xsy/openjdk/jdk-jdk-17-35/build/windows-x86_64-server-release/fixpath 
exec 
/cygdrive/d/micvs/2017/professional/vc/tools/msvc/14.10.25017/bin/hostx86/x64/cl.exe
 accepts -g... yes
checking for 
/home/xsy/openjdk/jdk-jdk-17-35/build/windows-x86_64-server-release/fixpath 
exec 
/cygdrive/d/micvs/2017/professional/vc/tools/msvc/14.10.25017/bin/hostx86/x64/cl.exe
 option to enable C++11 features... none needed
checking how to run the C preprocessor... 
/home/xsy/openjdk/jdk-jdk-17-35/build/windows-x86_64-server-release/fixpath 
exec 
/cygdrive/d/micvs/2017/professional/vc/tools/msvc/14.10.25017/bin/hostx86/x64/cl.exe
 -E
checking how to run the C++ preprocessor... 
/home/xsy/openjdk/jdk-jdk-17-35/build/windows-x86_64-server-release/fixpath 
exec 
/cygdrive/d/micvs/2017/professional/vc/tools/msvc/14.10.25017/bin/hostx86/x64/cl.exe
 -E
checking for link... $FIXPATH 
/cygdrive/d/micvs/2017/professional/vc/tools/msvc/14.10.25017/bin/hostx86/x64/link.exe
checking if the found link.exe is actually the Visual Studio linker... yes
configure: Using microsoft linker version 14.10.25027.0 [Microsoft (R) 
Incremental Linker Version 14.10.25027.0]
checking for ml64... $FIXPATH 
/cygdrive/d/micvs/2017/professional/vc/tools/msvc/14.10.25017/bin/hostx86/x64/ml64.exe
checking for lib... $FIXPATH 
/cygdrive/d/micvs/2017/professional/vc/tools/msvc/14.10.25017/bin/hostx86/x64/lib.exe
checking for mt... $FIXPATH /cygdrive/c/progra~2/wi3cf2~1/10/bin/x86/mt.exe
checking for rc... $FIXPATH /cygdrive/c/progra~2/wi3cf2~1/10/bin/x86/rc.exe
checking for dumpbin... $FIXPATH 
/cygdrive/d/micvs/2017/professional/vc/tools/msvc/14.10.25017/bin/hostx86/x64/dumpbin.exe
checking for gobjdump... [not found]
checking for objdump... [not found]
checking for jtreg... [not found]
checking for jtreg test harness... no, not found
checking for jmh (Java Microbenchmark Harness)... no, disabled
checking for jib... no
checking if CC supports "-m64"... yes
checking if CXX supports "-m64"... yes
checking if both CC and CXX support "-m64"... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... no
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... no
checking for stdio.h... (cached) yes
checking size of int *... 8
checking for target address size... 64 bits
checking whether byte ordering is bigendian... no
checking what source date to use... determined at build time, from 'updated'
checking for --enable-reproducible-build... enabled, default
checking for --enable-warnings-as-errors... disabled, from command line
checking if CC supports "-experimental:deterministic -wd5048"... yes
checking if CXX supports "-experimental:deterministic -wd5048"... yes
checking if both CC and CXX support "-experimental:deterministic -wd5048"... yes
checking if CC supports "-pathmap:D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35=s    
       -pathmap:D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35=s"... yes
checking if CXX supports "-pathmap:D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35=s   
        -pathmap:D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35=s"... yes
checking if both CC and CXX support 
"-pathmap:D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35=s           
-pathmap:D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35=s"... yes
checking how to prevent absolute paths in output... using compiler options
checking if BUILD_CC supports "-experimental:deterministic -wd5048"... yes
checking if BUILD_CXX supports "-experimental:deterministic -wd5048"... yes
checking if both BUILD_CC and BUILD_CXX support "-experimental:deterministic 
-wd5048"... yes
checking if BUILD_CC supports 
"-pathmap:D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35=s           
-pathmap:D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35=s"... yes
checking if BUILD_CXX supports 
"-pathmap:D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35=s           
-pathmap:D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35=s"... yes
checking if both BUILD_CC and BUILD_CXX support 
"-pathmap:D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35=s           
-pathmap:D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35=s"... yes
checking how to prevent absolute paths in output... using compiler options
checking what type of native debug symbols to use... external
checking if we should add external native debug symbols to the shipped 
bundles... no
checking if native coverage is available... no
checking for --enable-native-coverage... disabled, default
checking if AddressSanitizer (asan) is available... no
checking for --enable-asan... disabled, default
configure: Found vcruntime140.dll at 
/cygdrive/d/devtools/jdk-17.0.6/bin/vcruntime140.dll using well-known location 
in Boot JDK
checking found vcruntime140.dll architecture... ok
checking for vcruntime140.dll... 
/cygdrive/d/devtools/jdk-17.0.6/bin/vcruntime140.dll
configure: Found msvcp140.dll at 
/cygdrive/d/devtools/jdk-17.0.6/bin/msvcp140.dll using well-known location in 
Boot JDK
checking found msvcp140.dll architecture... ok
checking for msvcp140.dll... /cygdrive/d/devtools/jdk-17.0.6/bin/msvcp140.dll
checking for UCRT DLL dir... 
/cygdrive/c/progra~2/wi3cf2~1/10//redist/ucrt/dlls/x64
Using freetype: bundled
checking for --enable-libffi-bundling... disabled, default
checking for which libjpeg to use... bundled
checking for which giflib to use... bundled
checking for PNG... checking for which libpng to use... bundled
checking for compress in -lz... no
checking for which zlib to use... bundled
checking for which lcms to use... bundled
checking for which harfbuzz to use... bundled
checking for dlopen in -ldl... no
checking for JVM features enabled by the user... none
checking for JVM features disabled by the user... none
checking if platform is supported by CDS... yes
checking if JVM feature 'cds' is available... yes
checking for dtrace tool... no
checking for sys/sdt.h... no
configure: Cannot enable dtrace with missing dependencies. See above.
checking if JVM feature 'dtrace' is available... no
checking if platform is supported by JFR... yes
checking if JVM feature 'jfr' is available... yes
checking if platform is supported by JVMCI... yes
checking if JVM feature 'jvmci' is available... yes
checking if platform is supported by Shenandoah... yes
checking if JVM feature 'shenandoahgc' is available... yes
checking if static-build is enabled in configure... no, use 
--enable-static-build to enable static build.
checking if JVM feature 'static-build' is available... no
checking if platform is supported by ZGC... yes
checking if Windows APIs required for ZGC is present... no, missing required 
APIs
checking if JVM feature 'zgc' is available... no
checking JVM features to use for variant 'server'... 'cds compiler1 compiler2 
epsilongc g1gc jfr jni-check jvmci jvmti management nmt parallelgc serialgc 
services shenandoahgc vm-structs'
checking if the jtreg failure handler is available... no (jtreg not present)
checking if the jtreg failure handler should be built... disabled, from default 
'auto'
checking if the CDS classlist generation should be enabled... enabled, from 
default 'auto'
checking if any translations should be excluded... no
checking if static man pages should be copied... enabled, default
checking if CDS archive is available... yes
checking if a default CDS archive should be generated... enabled, from default 
'auto'
checking if CDS archive is available... yes
checking if compatible cds region alignment enabled... disabled, default
checking for number of cores... 8
checking for memory size... 12171 MB
checking for appropriate number of jobs to run in parallel... 8
checking whether to use javac server... enabled, default
checking flags for boot jdk java command ...  -Duser.language=en 
-Duser.country=US  -XX:+UnlockDiagnosticVMOptions -XX:-VerifySharedSpaces 
-XX:SharedArchiveFile=/home/xsy/openjdk/jdk-jdk-17-35/build/windows-x86_64-server-release/configure-support/classe
checking flags for boot jdk java command for big workloads...  -Xms64M -Xmx1600M
checking flags for bootcycle boot jdk java command for big workloads... -Xms64M 
-Xmx1600M
checking flags for boot jdk java command for small workloads...  
-XX:+UseSerialGC -Xms32M -Xmx512M -XX:TieredStopAtLevel=1
checking for --enable-icecc... disabled, default
checking if precompiled headers are available... yes
checking for --enable-precompiled-headers... enabled, from default 'auto'
checking for ccache... [not found]
checking if ccache is available... no, not supported for toolchain type 
microsoft
checking if ccache is enabled... disabled, default
checking if build directory is on local disk... yes
configure: creating 
/home/xsy/openjdk/jdk-jdk-17-35/build/windows-x86_64-server-release/configure-support/config.status
config.status: creating 
/home/xsy/openjdk/jdk-jdk-17-35/build/windows-x86_64-server-release/spec.gmk
config.status: creating 
/home/xsy/openjdk/jdk-jdk-17-35/build/windows-x86_64-server-release/bootcycle-spec.gmk
config.status: creating 
/home/xsy/openjdk/jdk-jdk-17-35/build/windows-x86_64-server-release/buildjdk-spec.gmk
config.status: creating 
/home/xsy/openjdk/jdk-jdk-17-35/build/windows-x86_64-server-release/compare.sh
config.status: creating 
/home/xsy/openjdk/jdk-jdk-17-35/build/windows-x86_64-server-release/Makefile

====================================================
The existing configuration has been successfully updated in
/home/xsy/openjdk/jdk-jdk-17-35/build/windows-x86_64-server-release
using configure arguments '--with-toolchain-version=2017 
--disable-warnings-as-errors'.

Configuration summary:
* Name:           windows-x86_64-server-release
* Debug level:    release
* HS debug level: product
* JVM variants:   server
* JVM features:   server: 'cds compiler1 compiler2 epsilongc g1gc jfr jni-check 
jvmci jvmti management nmt parallelgc serialgc services shenandoahgc vm-structs'
* OpenJDK target: OS: windows, CPU architecture: x86, address length: 64
* Version string: 17-internal+0-adhoc.xsy.jdk-jdk-17-35 (17-internal)

Tools summary:
* Environment:    cygwin version 3.4.5-1.x86_64, 2023-01-19 19:09 UTC; windows 
version 10.0.19045.2486; prefix "/cygdrive"; root "D:\cygwin"
* Boot JDK:       java version "17.0.6" 2023-01-17 LTS Java(TM) SE Runtime 
Environment (build 17.0.6+9-LTS-190) Java HotSpot(TM) 64-Bit Server VM (build 
17.0.6+9-LTS-190, mixed mode, sharing) (at /cygdrive/d/devtools/jdk-17.0.6)
* Toolchain:      microsoft (Microsoft Visual Studio 2017)
* C Compiler:     Version 19.10.25027 (at 
/cygdrive/d/micvs/2017/professional/vc/tools/msvc/14.10.25017/bin/hostx86/x64/cl.exe)
* C++ Compiler:   Version 19.10.25027 (at 
/cygdrive/d/micvs/2017/professional/vc/tools/msvc/14.10.25017/bin/hostx86/x64/cl.exe)

Build performance summary:
* Cores to use:   8
* Memory limit:   12171 MB

WARNING: The result of this configuration has overridden an older
configuration. You *should* run 'make clean' to make sure you get a
proper build. Failure to do so might result in strange build problems.


xsy@DESKTOP-QL6LMRE ~/openjdk/jdk-jdk-17-35
$ make images
Building target 'images' in configuration 'windows-x86_64-server-release'
Compiling 1 files for BUILD_TOOLS_HOTSPOT
Compiling 8 files for BUILD_TOOLS_LANGTOOLS
Warning: No SCM configuration present and no .src-rev
Parsing 2 properties into enum-like class for jdk.compiler
Compiling 13 properties into resource bundles for jdk.javadoc
Compiling 16 properties into resource bundles for jdk.compiler
Compiling 7 properties into resource bundles for jdk.jshell
Compiling 12 properties into resource bundles for jdk.jdeps
Compiling 127 files for BUILD_java.compiler.interim
Compiling 402 files for BUILD_jdk.compiler.interim
Compiling 229 files for BUILD_jdk.javadoc.interim
Creating hotspot/variant-server/tools/adlc/adlc.exe from 13 file(s)
Compiling 2 files for BUILD_JVMTI_TOOLS
Creating support/modules_libs/java.base/server/jvm.dll from 985 file(s)
cl : Command line warning D9002 : ignoring unknown option 
'-pathmap:D:cygwinhomexsyopenjdkjdk-jdk-17-35=s'
cl : Command line warning D9002 : ignoring unknown option 
'-pathmap:D:cygwinhomexsyopenjdkjdk-jdk-17-35=s'
cl : Command line warning D9002 : ignoring unknown option 
'-experimental:deterministic'
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\metaprogramming/primitiveConversions.hpp(127):
 error C2672: 'PrimitiveConversions::cast': no matching overloaded function 
found
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\metaprogramming/primitiveConversions.hpp(127):
 error C2783: 'To PrimitiveConversions::cast(From)': could not deduce template 
argument for '__formal'
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\metaprogramming/primitiveConversions.hpp(63):
 note: see declaration of 'PrimitiveConversions::cast'
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\metaprogramming/primitiveConversions.hpp(128):
 error C2672: 'PrimitiveConversions::cast': no matching overloaded function 
found
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\metaprogramming/primitiveConversions.hpp(128):
 error C2783: 'To PrimitiveConversions::cast(From)': could not deduce template 
argument for '__formal'
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\metaprogramming/primitiveConversions.hpp(63):
 note: see declaration of 'PrimitiveConversions::cast'
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\metaprogramming/primitiveConversions.hpp(136):
 error C2672: 'PrimitiveConversions::cast': no matching overloaded function 
found
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\metaprogramming/primitiveConversions.hpp(136):
 error C2783: 'To PrimitiveConversions::cast(From)': could not deduce template 
argument for '__formal'
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\metaprogramming/primitiveConversions.hpp(63):
 note: see declaration of 'PrimitiveConversions::cast'
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\metaprogramming/primitiveConversions.hpp(137):
 error C2672: 'PrimitiveConversions::cast': no matching overloaded function 
found
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\metaprogramming/primitiveConversions.hpp(137):
 error C2783: 'To PrimitiveConversions::cast(From)': could not deduce template 
argument for '__formal'
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\metaprogramming/primitiveConversions.hpp(63):
 note: see declaration of 'PrimitiveConversions::cast'
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\compiler/compilerOracle.hpp(117):
 error C3431: 'CompileCommand': a scoped enumeration cannot be redeclared as an 
unscoped enumeration
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\compiler/compilerOracle.hpp(117):
 error C3431: 'OptionType': a scoped enumeration cannot be redeclared as an 
unscoped enumeration
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\compiler/compilerOracle.hpp(152):
 error C3431: 'CompileCommand': a scoped enumeration cannot be redeclared as an 
unscoped enumeration
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\compiler/compilerOracle.hpp(157):
 error C3431: 'CompileCommand': a scoped enumeration cannot be redeclared as an 
unscoped enumeration
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\compiler/compilerOracle.hpp(161):
 error C3431: 'CompileCommand': a scoped enumeration cannot be redeclared as an 
unscoped enumeration
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\compiler/compilerOracle.hpp(173):
 error C3431: 'CompileCommand': a scoped enumeration cannot be redeclared as an 
unscoped enumeration
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\compiler/compilerOracle.hpp(177):
 error C3431: 'CompileCommand': a scoped enumeration cannot be redeclared as an 
unscoped enumeration
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\compiler/compilerOracle.hpp(181):
 error C3431: 'OptionType': a scoped enumeration cannot be redeclared as an 
unscoped enumeration
make[3]: *** [lib/CompileJvm.gmk:143: 
/home/xsy/openjdk/jdk-jdk-17-35/build/windows-x86_64-server-release/hotspot/variant-server/libjvm/objs/BUILD_LIBJVM_pch.obj]
 Error 1
make[2]: *** [make/Main.gmk:252: hotspot-server-libs] Error 2
make[2]: *** Waiting for unfinished jobs....

ERROR: Build failed for target 'images' in configuration 
'windows-x86_64-server-release' (exit code 2)

=== Output from failing command(s) repeated here ===
* For target hotspot_variant-server_libjvm_objs_BUILD_LIBJVM_pch.obj:
BUILD_LIBJVM_pch.cpp
cl : Command line warning D9002 : ignoring unknown option 
'-pathmap:D:cygwinhomexsyopenjdkjdk-jdk-17-35=s'
cl : Command line warning D9002 : ignoring unknown option 
'-pathmap:D:cygwinhomexsyopenjdkjdk-jdk-17-35=s'
cl : Command line warning D9002 : ignoring unknown option 
'-experimental:deterministic'
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\metaprogramming/primitiveConversions.hpp(127):
 error C2672: 'PrimitiveConversions::cast': no matching overloaded function 
found
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\metaprogramming/primitiveConversions.hpp(127):
 error C2783: 'To PrimitiveConversions::cast(From)': could not deduce template 
argument for '__formal'
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\metaprogramming/primitiveConversions.hpp(63):
 note: see declaration of 'PrimitiveConversions::cast'
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\metaprogramming/primitiveConversions.hpp(128):
 error C2672: 'PrimitiveConversions::cast': no matching overloaded function 
found
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\metaprogramming/primitiveConversions.hpp(128):
 error C2783: 'To PrimitiveConversions::cast(From)': could not deduce template 
argument for '__formal'
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\metaprogramming/primitiveConversions.hpp(63):
 note: see declaration of 'PrimitiveConversions::cast'
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\metaprogramming/primitiveConversions.hpp(136):
 error C2672: 'PrimitiveConversions::cast': no matching overloaded function 
found
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\metaprogramming/primitiveConversions.hpp(136):
 error C2783: 'To PrimitiveConversions::cast(From)': could not deduce template 
argument for '__formal'
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\metaprogramming/primitiveConversions.hpp(63):
 note: see declaration of 'PrimitiveConversions::cast'
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\metaprogramming/primitiveConversions.hpp(137):
 error C2672: 'PrimitiveConversions::cast': no matching overloaded function 
found
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\metaprogramming/primitiveConversions.hpp(137):
 error C2783: 'To PrimitiveConversions::cast(From)': could not deduce template 
argument for '__formal'
   ... (rest of output omitted)

* All command lines available in 
/home/xsy/openjdk/jdk-jdk-17-35/build/windows-x86_64-server-release/make-support/failure-logs.
=== End of repeated output ===

No indication of failed target found.
Hint: Try searching the build log for '] Error'.
Hint: See doc/building.html#troubleshooting for assistance.

make[1]: *** [/home/xsy/openjdk/jdk-jdk-17-35/make/Init.gmk:315: main] Error 2
make: *** [/home/xsy/openjdk/jdk-jdk-17-35/make/Init.gmk:186: images] Error 2


xsy@DESKTOP-QL6LMRE ~/openjdk/jdk-jdk-17-35
$ grep -r "cygwinhomexsyopenjdkjdk" ./*
./build/windows-x86_64-server-release/build.log:cl : Command line warning D9002 
: ignoring unknown option '-pathmap:D:cygwinhomexsyopenjdkjdk-jdk-17-35=s'
./build/windows-x86_64-server-release/build.log:cl : Command line warning D9002 
: ignoring unknown option '-pathmap:D:cygwinhomexsyopenjdkjdk-jdk-17-35=s'
./build/windows-x86_64-server-release/hotspot/variant-server/libjvm/objs/BUILD_LIBJVM_pch.obj.log:cl
 : Command line warning D9002 : ignoring unknown option 
'-pathmap:D:cygwinhomexsyopenjdkjdk-jdk-17-35=s'
./build/windows-x86_64-server-release/hotspot/variant-server/libjvm/objs/BUILD_LIBJVM_pch.obj.log:cl
 : Command line warning D9002 : ignoring unknown option 
'-pathmap:D:cygwinhomexsyopenjdkjdk-jdk-17-35=s'
./build/windows-x86_64-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_BUILD_LIBJVM_pch.obj.log:cl
 : Command line warning D9002 : ignoring unknown option 
'-pathmap:D:cygwinhomexsyopenjdkjdk-jdk-17-35=s'
./build/windows-x86_64-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_BUILD_LIBJVM_pch.obj.log:cl
 : Command line warning D9002 : ignoring unknown option 
'-pathmap:D:cygwinhomexsyopenjdkjdk-jdk-17-35=s'

xsy@DESKTOP-QL6LMRE ~/openjdk/jdk-jdk-17-35
$ ^C

xsy@DESKTOP-QL6LMRE ~/openjdk/jdk-jdk-17-35
$ cd build/windows-x86_64-server-release/

xsy@DESKTOP-QL6LMRE ~/openjdk/jdk-jdk-17-35/build/windows-x86_64-server-release
$ ls
Makefile  bootcycle-spec.gmk  build.log  build.log.old  buildjdk-spec.gmk  
buildtools  compare.sh  configure-support  configure.log  configure.log.old  
fixpath  hotspot  jdk  make-support  spec.gmk  support

xsy@DESKTOP-QL6LMRE ~/openjdk/jdk-jdk-17-35/build/windows-x86_64-server-release
$ cat build.log
Building target 'images' in configuration 'windows-x86_64-server-release'
Compiling 1 files for BUILD_TOOLS_HOTSPOT
Compiling 8 files for BUILD_TOOLS_LANGTOOLS
Warning: No SCM configuration present and no .src-rev
Parsing 2 properties into enum-like class for jdk.compiler
Compiling 13 properties into resource bundles for jdk.javadoc
Compiling 16 properties into resource bundles for jdk.compiler
Compiling 7 properties into resource bundles for jdk.jshell
Compiling 12 properties into resource bundles for jdk.jdeps
Compiling 127 files for BUILD_java.compiler.interim
Compiling 402 files for BUILD_jdk.compiler.interim
Compiling 229 files for BUILD_jdk.javadoc.interim
Creating hotspot/variant-server/tools/adlc/adlc.exe from 13 file(s)
Compiling 2 files for BUILD_JVMTI_TOOLS
Creating support/modules_libs/java.base/server/jvm.dll from 985 file(s)
cl : Command line warning D9002 : ignoring unknown option 
'-pathmap:D:cygwinhomexsyopenjdkjdk-jdk-17-35=s'
cl : Command line warning D9002 : ignoring unknown option 
'-pathmap:D:cygwinhomexsyopenjdkjdk-jdk-17-35=s'
cl : Command line warning D9002 : ignoring unknown option 
'-experimental:deterministic'
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\metaprogramming/primitiveConversions.hpp(127):
 error C2672: 'PrimitiveConversions::cast': no matching overloaded function 
found
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\metaprogramming/primitiveConversions.hpp(127):
 error C2783: 'To PrimitiveConversions::cast(From)': could not deduce template 
argument for '__formal'
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\metaprogramming/primitiveConversions.hpp(63):
 note: see declaration of 'PrimitiveConversions::cast'
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\metaprogramming/primitiveConversions.hpp(128):
 error C2672: 'PrimitiveConversions::cast': no matching overloaded function 
found
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\metaprogramming/primitiveConversions.hpp(128):
 error C2783: 'To PrimitiveConversions::cast(From)': could not deduce template 
argument for '__formal'
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\metaprogramming/primitiveConversions.hpp(63):
 note: see declaration of 'PrimitiveConversions::cast'
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\metaprogramming/primitiveConversions.hpp(136):
 error C2672: 'PrimitiveConversions::cast': no matching overloaded function 
found
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\metaprogramming/primitiveConversions.hpp(136):
 error C2783: 'To PrimitiveConversions::cast(From)': could not deduce template 
argument for '__formal'
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\metaprogramming/primitiveConversions.hpp(63):
 note: see declaration of 'PrimitiveConversions::cast'
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\metaprogramming/primitiveConversions.hpp(137):
 error C2672: 'PrimitiveConversions::cast': no matching overloaded function 
found
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\metaprogramming/primitiveConversions.hpp(137):
 error C2783: 'To PrimitiveConversions::cast(From)': could not deduce template 
argument for '__formal'
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\metaprogramming/primitiveConversions.hpp(63):
 note: see declaration of 'PrimitiveConversions::cast'
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\compiler/compilerOracle.hpp(117):
 error C3431: 'CompileCommand': a scoped enumeration cannot be redeclared as an 
unscoped enumeration
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\compiler/compilerOracle.hpp(117):
 error C3431: 'OptionType': a scoped enumeration cannot be redeclared as an 
unscoped enumeration
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\compiler/compilerOracle.hpp(152):
 error C3431: 'CompileCommand': a scoped enumeration cannot be redeclared as an 
unscoped enumeration
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\compiler/compilerOracle.hpp(157):
 error C3431: 'CompileCommand': a scoped enumeration cannot be redeclared as an 
unscoped enumeration
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\compiler/compilerOracle.hpp(161):
 error C3431: 'CompileCommand': a scoped enumeration cannot be redeclared as an 
unscoped enumeration
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\compiler/compilerOracle.hpp(173):
 error C3431: 'CompileCommand': a scoped enumeration cannot be redeclared as an 
unscoped enumeration
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\compiler/compilerOracle.hpp(177):
 error C3431: 'CompileCommand': a scoped enumeration cannot be redeclared as an 
unscoped enumeration
D:\cygwin\home\xsy\openjdk\jdk-jdk-17-35\src\hotspot\share\compiler/compilerOracle.hpp(181):
 error C3431: 'OptionType': a scoped enumeration cannot be redeclared as an 
unscoped enumeration
make[3]: *** [lib/CompileJvm.gmk:143: 
/home/xsy/openjdk/jdk-jdk-17-35/build/windows-x86_64-server-release/hotspot/variant-server/libjvm/objs/BUILD_LIBJVM_pch.obj]
 Error 1
make[2]: *** [make/Main.gmk:252: hotspot-server-libs] Error 2
make[2]: *** Waiting for unfinished jobs....

ERROR: Build failed for target 'images' in configuration 
'windows-x86_64-server-release' (exit code 2)

Reply via email to