Error encountered while packaging version 21.0.3-9 in Windows environment
qia nxiao
zenghuichen1997 at gmail.com
Thu Aug 8 06:02:02 UTC 2024
Hello
When I try to package version 21.0.3-9 in a Windows environment, I
encounter the following error message. Can you help me figure out what
might be causing it?
d:\code\java\jdk21u-jdk-21.0.3-9\src\hotspot\share\runtime/atomic.hpp(1000):
> error C2027: use of undefined type 'Atomic::CmpxchgImpl<D,U,T,void>'
>
> with
>
> [
>
> D=jint,
>
> U=int,
>
> T=int
>
> ]
>
> d:\code\java\jdk21u-jdk-21.0.3-9\src\hotspot\share\runtime/atomic.hpp(1000):
> note: see declaration of 'Atomic::CmpxchgImpl<D,U,T,void>'
>
> with
>
> [
>
> D=jint,
>
> U=int,
>
> T=int
>
> ]
>
Here is the compilation command I executed.
> bash configure --with-boot-jdk='d:/Program Files/graalvm/jdk-21.0.3+9'
> --with-toolchain-version=2019 --enable-debug
> --with-tools-dir='d:/tool/vs2019/ide/VC/Auxiliary/Build'
>
make images
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/build-dev/attachments/20240808/5679d368/attachment.htm>
More information about the build-dev
mailing list