dragonwell-project / dragonwell8

Alibaba Dragonwell8 JDK
http://dragonwell-jdk.io
GNU General Public License v2.0
4.21k stars 497 forks source link

[Bug] Build failure on windows #601

Closed jia-wei-tang closed 1 year ago

jia-wei-tang commented 1 year ago

Description Cannot build on windows. Output as follows: C:\workspace\openjdk-build\workspace\build\src\hotspot\src\share\vm\runtime\quickStart.cpp(565) : error C2220: warning treated as error - no 'object' file generated C:\workspace\openjdk-build\workspace\build\src\hotspot\src\share\vm\runtime\quickStart.cpp(565) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data C:\workspace\openjdk-build\workspace\build\src\hotspot\src\share\vm\runtime\quickStart.cpp(568) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data C:\workspace\openjdk-build\workspace\build\src\hotspot\src\share\vm\runtime\quickStart.cpp(589) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data C:\workspace\openjdk-build\workspace\build\src\hotspot\src\share\vm\runtime\quickStart.cpp(1133) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data C:\workspace\openjdk-build\workspace\build\src\hotspot\src\share\vm\runtime\quickStart.cpp(1135) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data

Steps to Reproduce make images

Expected behavior Build success.

JDK version OpenJDK 64-Bit Server VM (Alibaba Dragonwell Extended Edition 8.16.17)

Execution environment windows

jia-wei-tang commented 1 year ago

15:54:24 C:\workspace\openjdk-build\workspace\build\src\hotspot\src\share\vm\runtime\quickStart.cpp(565) : error C2220: warning treated as error - no 'object' file generated 15:54:24 C:\workspace\openjdk-build\workspace\build\src\hotspot\src\share\vm\runtime\quickStart.cpp(565) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data 15:54:24 C:\workspace\openjdk-build\workspace\build\src\hotspot\src\share\vm\runtime\quickStart.cpp(568) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data 15:54:24 C:\workspace\openjdk-build\workspace\build\src\hotspot\src\share\vm\runtime\quickStart.cpp(589) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data 15:54:24 C:\workspace\openjdk-build\workspace\build\src\hotspot\src\share\vm\runtime\quickStart.cpp(1133) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data 15:54:24 C:\workspace\openjdk-build\workspace\build\src\hotspot\src\share\vm\runtime\quickStart.cpp(1135) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data