Can you provide the configuration summary produced by configure?
It's an issue with precompiled headers but I've no idea what.
David
On 30/05/2019 5:21 am, Moshe Zuisman wrote:
I thought, that may be probleem ressults form some specific
configuration on my machine (for example I have 2 version of MSVCc -
2012 and 2017.
So I created clean VmWare Virtual machine and installed their only MSVC
2017 and cygwin. And tried to build OPEN JDK theeir. and got exactly
same failure.
ср, 29 мая 2019 г. в 09:40, Moshe Zuisman <zuism...@gmail.com
<mailto:zuism...@gmail.com>>:
I am using
http://hg.openjdk.java.net/jdk-updates/jdk11u/rev/a23d4b4ea281
<http://hg.openjdk.java.net/jdk-updates/jdk11u/rev/a23d4b4ea281>
ср, 29 мая 2019 г. в 08:35, David Holmes <david.hol...@oracle.com
<mailto:david.hol...@oracle.com>>:
Hi Moshe,
On 29/05/2019 2:15 am, Moshe Zuisman wrote:
> I am trying to build OPEN jdk 11 on cygwin with MSVC 2017
>
_________________________________________________________________________
VS 2017 is the official supported compiler for building OpenJDK
11 [1]
and we don't see any issues. What version of the 11u source are you
trying to compile?
David
[1]
https://wiki.openjdk.java.net/display/Build/Supported+Build+Platforms
>
>
*c:\progra~2\mib055~1\2017\profes~1\vc\tools\msvc\1410~1.250\include\exception(366):
> warning C4577: 'noexcept' used with no exception handling
mode specified;
> termination on exception is not guaranteed. Specify
/EHscmake[3]: ***
> [lib/CompileJvm.gmk:151:
>
/cygdrive/c/Git_Repos/open_jdk_11/jdk11-1ddf9a99e4ad/jdk11-1ddf9a99e4ad/build/windows-x86_64-normal-server-release/hotspot/variant-server/libjvm/objs/BUILD_LIBJVM_pch.obj]
> Error 1make[3]: *** Waiting for unfinished jobs....make[2]: ***
> [make/Main.gmk:257: hotspot-server-libs] Error 2make[2]: ***
Waiting for
> unfinished jobs....ERROR: Build failed for target 'default
> (exploded-image)' in configuration
'windows-x86_64-normal-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.cppc:\progra~2\mib055~1\2017\profes~1\vc\tools\msvc\1410~1.250\include\exception(366):
> error C2220: warning treated as error - no 'object' file
>
generatedc:\progra~2\mib055~1\2017\profes~1\vc\tools\msvc\1410~1.250\include\exception(366):
> warning C4577: 'noexcept' used with no exception handling
mode specified;
> termination on exception is not guaranteed. Specify /EHsc
... (rest of
> output omitted)* All command lines available in
>
/cygdrive/c/Git_Repos/open_jdk_11/jdk11-1ddf9a99e4ad/jdk11-1ddf9a99e4ad/build/windows-x86_64-normal-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]: ***
>
[/cygdrive/c/Git_Repos/open_jdk_11/jdk11-1ddf9a99e4ad/jdk11-1ddf9a99e4ad/make/Init.gmk:305:
> main] Error 2make: ***
>
[/cygdrive/c/Git_Repos/open_jdk_11/jdk11-1ddf9a99e4ad/jdk11-1ddf9a99e4ad/make/Init.gmk:186:
> default] Error 2*
>