Got a warning treated as an error -- should I keep trying to build? And if so, how?
David Alayachew
davidalayachew at gmail.com
Thu Aug 14 08:27:31 UTC 2025
Thanks, it worked! All I needed to do was run the flag you gave me on my
bash configure, then reattempt the make images command, and it worked!
Building the JDK has gotten easier than the last time I tried it.
On Tue, Aug 12, 2025 at 10:46 AM Kim Barrett <kim.barrett at oracle.com> wrote:
> On 8/11/25 8:16 PM, David Alayachew wrote:
> > Hello Build Dev Team,
> >
> > I was trying to build the Valhalla repository off of the lworld branch,
> but I ran into the following build error.
> >
> > I went through the directions on this link --
> https://openjdk.org/groups/build/doc/building.html <
> https://openjdk.org/groups/build/doc/building.html>
> >
> > I went through the trouble-shooting section as well. It had useful
> information, but nothing that clearly moved me forward.
> [...]
>
> >
> C:\cygwin64\home\david\valhalla\src\jdk.jdwp.agent\share\native\libjdwp\debugInit.c(184):
> warning C5287: operands are different enum types
> '<unnamed-enum-JVMTI_VERSION_1>' and
> '<unnamed-enum-JVMTI_VERSION_MASK_INTERFACE_TYPE>'; use an explicit cast to
> silence this warning
>
> It looks like that was addressed in openjdk mainline here:
> https://github.com/openjdk/jdk/pull/25293 - integrated 2025-05-21
> Maybe that change hasn't been merged into the valhalla repository?
>
> You can configure with --disable-warnings-as-error to suppress the error.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/build-dev/attachments/20250814/991f2d57/attachment-0001.htm>
More information about the build-dev
mailing list