--disable-warnings-as-errors not working? Build failure on traditional Chinese Windows 8

Henry Jen henry.jen at oracle.com
Fri Aug 7 18:52:26 UTC 2015


Hi,

I am seeing following building errors on Traditional Chinese Windows 8, what makes me wondering is why disable-warnings-as-errors not silence this? Did I miss something obvious here?

Following is in my configure.log,
using configure arguments '--disable-warnings-as-errors --with-conf-name=rel’.

Cheers,
Henry

C:\ws\8027634\hotspot\src\share\vm\classfile/imageDecompressor.hpp : error C2220: warning treated as error - no 'object' file generated
C:\ws\8027634\hotspot\src\share\vm\classfile/imageDecompressor.hpp : warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
NMAKE : fatal error U1077: 'C:\progra~2\micros~1.0\vc\bin\amd64\cl.exe' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\amd64\nmake.EXE"' : return code '0x2'
Stop.
Makefile:230: recipe for target 'generic_build2' failed
make[5]: *** [generic_build2] Error 2
Makefile:177: recipe for target 'product' failed
make[4]: *** [product] Error 2
HotspotWrapper.gmk:44: recipe for target '/cygdrive/c/ws/8027634/build/rel/hotspot/_hotspot.timestamp' failed
make[3]: *** [/cygdrive/c/ws/8027634/build/rel/hotspot/_hotspot.timestamp] Error 1
make/Main.gmk:196: recipe for target 'hotspot' failed
make[2]: *** [hotspot] Error 1
make[2]: *** Waiting for unfinished jobs....
Compiling 141 files for BUILD_IDLJ
Compiling 6 files for BUILD_TOOLS_CORBA
Note: c:\ws\8027634\corba\src\java.corba\share\classes\com\sun\tools\corba\se\idl\som\idlemit\MetaPragma.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

ERROR: Build failed for target 'images' in configuration 'rel' (exit code 2)
Hint: If caused by a warning, try configure --disable-warnings-as-errors

/cygdrive/c/ws/8027634/make/Init.gmk:255: recipe for target 'main' failed
make[1]: *** [main] Error 1
/cygdrive/c/ws/8027634/make/Init.gmk:171: recipe for target 'images' failed
make: *** [images] Error 2





More information about the build-dev mailing list