Failure buiilding OPEN JDK 11 on windows cygwin with VC 2017
David Holmes
david.holmes at oracle.com
Mon Jun 3 07:20:02 UTC 2019
On 3/06/2019 5:06 pm, Moshe Zuisman wrote:
> Hi.
> Probably I do not understand something in source control system of Open
> JDK projeck.
> I have gone to :
> https://hg.openjdk.java.net/jdk/jdk11
> and clicked last label:
> "9 months ago jwilhelm Added tag jdk-11+28 for changeset
> 76072a077ee1default tip"
> arrived to:
> https://hg.openjdk.java.net/jdk/jdk11/rev/1ddf9a99e4ad
> and downloaded zip with sources.
Thats JDK 11 GA version.
> How have I to download latest fixed source of JDK 11.0.2?
11.0.2 is one of the JDK 11 update releases. You previously indicated
that you were using 11u sources at:
http://hg.openjdk.java.net/jdk-updates/jdk11u/rev/a23d4b4ea281
which seems to be a somewhat arbitrary point in 11u development. If you
want a specific release, rather than latest dev sources then use the
appropriate tag to update your sources to that level:
http://hg.openjdk.java.net/jdk-updates/jdk11u/tags
So if you clone
http://hg.openjdk.java.net/jdk-updates/jdk11u/
then do:
hg update -r jdk-11.0.2-ga
that should get you to the final 11.0.2 sources.
That all said, the fix Kim was referring to appears to have gone into
11u 3 months before the date of the sources you indicated you were using.
Hope that helps.
David
-----
>
> пн, 3 июн. 2019 г. в 00:34, Kim Barrett <kim.barrett at oracle.com
> <mailto:kim.barrett at oracle.com>>:
>
> > On Jun 2, 2019, at 4:20 PM, Moshe Zuisman <zuismanm at gmail.com
> <mailto:zuismanm at gmail.com>> wrote:
> >
> > Hi David.
> > I have updated to Visual studio 2017 15.9.12.
> > Build still fails, while now works much longer and pass much more
> steps:
> >
> >
> details.c:/Git_Repos/open_jdk_11/jdk11-1ddf9a99e4ad/jdk11-1ddf9a99e4ad/src/hotspot/share/runtime/flags/jvmFlagRangeList.cpp(341):
> > error C2220: warning treated as error -o 'object' file
> >
> generatedc:/Git_Repos/open_jdk_11/jdk11-1ddf9a99e4ad/jdk11-1ddf9a99e4ad/src/hotspot/share/runtime/flags/jvmFlagRangeList.cpp(341):
> > warning C4305: 'argument': truncation fm 'const intx' to
> 'double'make[3]:
> > *** [lib/CompileJvm.gmk:151:
> >
> /cygdrive/c/Git_Repos/open_jdk_11/jdk11-1ddf9a99e4ad/jdk11-1ddf9a99e4ad/build/windows-x86_64-normal-server-release/hotspot/riant-server/libjvm/objs/jvmFlagRangeList.obj]
> > Error 1make[3]: *** Waiting for unfinished jobs....make[2]: ***
>
> This looks like JDK-8212052, which is marked as fixed in JDK 11.0.2.
>
>
More information about the build-dev
mailing list