@@ -19,6 +19,7 @@ tags: [Java,JDK,OpenJDK,Zero VM,Hotspot]
19
19
7 . [ Ccache] ( https://ccache.samba.org )
20
20
8 . [ XCode Version 14.3.1 (14E300c) macOS Version 13.4.1 (22F82)] ( https://developer.apple.com/download/more/ )
21
21
9 . [ Binutils] ( https://ftp.gnu.org/gnu/binutils/ )
22
+ 10 . texinfo
22
23
23
24
[ 👉🏼 依赖安装] ( https://github.com/yakirChen/macOS-libs/blob/master/build.md )
24
25
@@ -55,9 +56,9 @@ sh ./configure --enable-dtrace \
55
56
--with-native-debug-symbols=internal \
56
57
--with-jvm-variants=zero \
57
58
--with-hsdis=binutils \
58
- --with-binutils-src=/Volumes/sm/github/jdk/jdkbuild/src/utils/hsdis/binutils-2.37 \
59
+ --with-binutils-src=/Volumes/sm/github/jdk/jdkbuild/src/utils/hsdis/binutils-2.42 \
59
60
--with-target-bits=64 \
60
- --with-libffi=/Users/yakir/local /brew/opt/libffi \
61
+ --with-libffi=/opt/homebrew /brew/opt/libffi \
61
62
--with-num-cores=12 \
62
63
--with-jobs=12
63
64
```
@@ -90,32 +91,32 @@ sh ./configure --enable-dtrace \
90
91
``` shell
91
92
====================================================
92
93
A new configuration has been successfully created in
93
- /Volumes/sm/github/jdk/jdkbuild/build/macosx-x86_64 -zero-slowdebug
94
- using configure arguments ' --enable-dtrace --with-boot-jdk=/Library/Java/JavaVirtualMachines/jdk-21 .jdk/Contents/Home/ --with-toolchain-path=/Applications/Xcode.app/Contents/Developer/usr/bin --disable-warnings-as-errors --with-boot-jdk-jvmargs=' -XX:+UseG1GC -Xms8G -Xmx8G' --with-toolchain-type=clang --with-debug-level=slowdebug --with-native-debug-symbols=internal --with-jvm-variants=zero --with-hsdis=binutils --with-binutils-src=/Volumes/sm/github/jdk/jdkbuild/src/utils/hsdis/binutils-2.37 --with-target-bits=64 --with-libffi=/Users/yakir/local/brew/ opt/libffi --with-num-cores=12 --with-jobs=12 ' .
94
+ /Volumes/sm/github/jdk/jdkbuild/build/macosx-aarch64 -zero-slowdebug
95
+ using configure arguments ' --enable-dtrace --with-boot-jdk=/Library/Java/JavaVirtualMachines/jdk-22 .jdk/Contents/Home/ --with-toolchain-path=/Applications/Xcode.app/Contents/Developer/usr/bin --disable-warnings-as-errors --with-boot-jdk-jvmargs=' -XX:+UseG1GC -Xms8G -Xmx8G' --with-toolchain-type=clang --with-debug-level=slowdebug --with-native-debug-symbols=internal --with-jvm-variants=zero --with-hsdis=binutils --with-binutils-src=/Volumes/sm/github/jdk/jdkbuild/src/utils/hsdis/binutils-2.42 --with-target-bits=64 --with-libffi=/opt/homebrew/ opt/libffi/ --with-num-cores=14 --with-jobs=14 ' .
95
96
96
97
Configuration summary:
97
- * Name: macosx-x86_64 -zero-slowdebug
98
+ * Name: macosx-aarch64 -zero-slowdebug
98
99
* Debug level: slowdebug
99
100
* HS debug level: debug
100
101
* JVM variants: zero
101
102
* JVM features: zero: ' cds dtrace epsilongc g1gc jni-check jvmti management parallelgc serialgc services shenandoahgc vm-structs zero'
102
- * OpenJDK target: OS: macosx, CPU architecture: x86 , address length: 64
103
- * Version string: 22 -internal-adhoc.yakir.jdkbuild (22 -internal)
104
- * Source date: 1688474086 (2023-07-04T12:34:46Z )
103
+ * OpenJDK target: OS: macosx, CPU architecture: aarch64 , address length: 64
104
+ * Version string: 24 -internal-adhoc.yakir.jdkbuild (24 -internal)
105
+ * Source date: 1719382331 (2024-06-26T06:12:11Z )
105
106
106
107
Tools summary:
107
- * Boot JDK: openjdk version " 21-ea " 2023-09-19 OpenJDK Runtime Environment (build 21-ea+29-2411) OpenJDK 64-Bit Server VM (build 21-ea+29-2411 , mixed mode, sharing) (at /Library/Java/JavaVirtualMachines/jdk-21 .jdk/Contents/Home)
108
- * Toolchain: clang (clang/LLVM from Xcode 14.3.1 )
109
- * Sysroot: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3 .sdk
110
- * C Compiler: Version 14 .0.3 (at /usr/bin/clang)
111
- * C++ Compiler: Version 14 .0.3 (at /usr/bin/clang++)
108
+ * Boot JDK: java version " 22.0.1 " 2024-04-16 Java(TM) SE Runtime Environment (build 22.0.1+8-16) Java HotSpot(TM) 64-Bit Server VM (build 22.0.1+8-16 , mixed mode, sharing) (at /Library/Java/JavaVirtualMachines/jdk-22 .jdk/Contents/Home)
109
+ * Toolchain: clang (clang/LLVM from Xcode 15.4 )
110
+ * Sysroot: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5 .sdk
111
+ * C Compiler: Version 15 .0.0 (at /usr/bin/clang)
112
+ * C++ Compiler: Version 15 .0.0 (at /usr/bin/clang++)
112
113
113
114
Build performance summary:
114
- * Build jobs: 12
115
- * Memory limit: 32768 MB
115
+ * Build jobs: 14
116
+ * Memory limit: 36864 MB
116
117
117
118
The following warnings were produced. Repeated here for convenience:
118
- WARNING: pandoc is version 3.1.4 , not the recommended version 2.19.2
119
+ WARNING: pandoc is version 3.2.1 , not the recommended version 2.19.2
119
120
```
120
121
121
122
## Server & Client Fastdebug ` configure ` 成功输出
0 commit comments