I build openjdk8 on windows, there is a error
柳鲲鹏
quantum6 at yeah.net
Sat Aug 7 12:03:56 UTC 2021
The error is:
D:\Taishan\tsjdk8-project\tsjdk8-amd64\hotspot\src\share\vm\asm/assembler.hpp(302) : error C3861: “INT64_C”: cannot find symbol
D:\Taishan\tsjdk8-project\tsjdk8-amd64\hotspot\src\share\vm\asm/assembler.hpp(315) : error C3861: “UINT64_C”: cannot find symbol
NMAKE : fatal error U1077: “C:\progra~2\micros~2.0\vc\bin\amd64\cl.exe”: return code “0x2”
Stop.
Here is modify of hg diff:
diff -r 91924b4ea982 src/share/vm/asm/assembler.hpp
--- a/src/share/vm/asm/assembler.hpp Tue Jul 20 18:10:23 2021 +0100
+++ b/src/share/vm/asm/assembler.hpp Sat Aug 07 20:03:29 2021 +0800
@@ -58,6 +58,11 @@
# include "vm_version_aarch64.hpp"
#endif
+#ifndef INT64_C
+#define INT64_C(c) (c ## LL)
+#define UINT64_C(c) (c ## ULL)
+#endif
+
// This file contains platform-independent assembler declarations.
:
Many thank and best regards
Liu Kunpeng.
More information about the jdk8u-dev
mailing list