$ cat bashrc.sh
# 设定语言选项,必须设置
export LANG=C
# Mac平台,C编译器不再是GCC,而是clang
export CC=clang
export CXX=clang++
export CXXFLAGS=-stdlib=libc++
# 是否使用clang,如果使用的是GCC编译,该选项应该设置为false
export USE_CLANG=true
# 跳过clang的一些严格的语法检查,不然会将N多的警告作为Error
export COMPILER_WARNINGS_FATAL=false
# 链接时使用的参数
export LFLAGS='-Xlinker -lstdc++'
# 使用64位数据模型
export LP64=1
# 告诉编译平台是64位,不然会按照32位来编译
export ARCH_DATA_MODEL=64
# 允许自动下载依赖
export ALLOW_DOWNLOADS=true
# 并行编译的线程数,编译时长,为了不影响其他工作,可以选择2
export HOTSPOT_BUILD_JOBS=2
export PARALLEL_COMPILE_JOBS=2 #ALT_PARALLEL_COMPILE_JOBS=2
# 是否跳过与先前版本的比较
export SKIP_COMPARE_IMAGES=true
# 是否使用预编译头文件,加快编译速度
export USE_PRECOMPILED_HEADER=true
# 是否使用增量编译
export INCREMENTAL_BUILD=true
# 编译内容
export BUILD_LANGTOOL=true
export BUILD_JAXP=true
export BUILD_JAXWS=true
export BUILD_CORBA=true
export BUILD_HOTSPOT=true
export BUILD_JDK=true
# 编译版本
export SKIP_DEBUG_BUILD=true
export SKIP_FASTDEBUG_BULID=false
export DEBUG_NAME=debug
# 避开javaws和浏览器Java插件之类部分的build
export BUILD_DEPLOY=false
export BUILD_INSTALL=false
# 最后需要干掉这两个环境变量(如果你配置过),不然会发生诡异的事件
unset JAVA_HOME
unset CLASSPATH
$ source ./bashrc.sh && bash configure --enable-dtrace \
--with-boot-jdk=/Users/diguage/.sdkman/candidates/java/21-amzn/ \
--with-debug-level=slowdebug \
--with-target-bits=64 \
--with-native-debug-symbols=internal \
--disable-warnings-as-errors \
--with-jvm-variants=server \
--with-xcode-path=/Applications/Xcode.app
configure: Configuration created at Mon Sep 25 20:52:23 CST 2023.
checking for basename... /usr/bin/basename
checking for dirname... /usr/bin/dirname
checking for file... /usr/bin/file
checking for ldd... no
checking for echo... echo [builtin]
checking for tr... /usr/bin/tr
checking for uname... /usr/bin/uname
checking for wc... /usr/bin/wc
checking for grep that handles long lines and -e... /usr/local/opt/grep/libexec/gnubin/grep
checking for egrep... /usr/local/opt/grep/libexec/gnubin/grep -E
checking for a sed that does not truncate output... /usr/local/bin/gsed
checking for cygpath... [not found]
checking for wslpath... [not found]
checking for cmd.exe... [not found]
checking build system type... x86_64-apple-darwin21.6.0
checking host system type... x86_64-apple-darwin21.6.0
checking target system type... x86_64-apple-darwin21.6.0
checking openjdk-build os-cpu... macosx-x86_64
checking openjdk-target os-cpu... macosx-x86_64
configure: --with-target-bits are set to build platform address size; argument has no meaning
checking compilation type... native
checking for top-level directory... /Users/diguage/path/to/openjdk21
checking for bash... /usr/local/bin/bash
checking for cat... /bin/cat
checking for chmod... /bin/chmod
checking for cp... /bin/cp
checking for cut... /usr/bin/cut
checking for date... /bin/date
checking for gdiff... [not found]
checking for diff... /usr/bin/diff
checking for expr... /bin/expr
checking for find... /usr/bin/find
checking for gunzip... /usr/bin/gunzip
checking for pigz... [not found]
checking for gzip... /usr/bin/gzip
checking for head... /usr/bin/head
checking for ln... /bin/ln
checking for ls... /bin/ls
checking for gmkdir... /usr/local/bin/gmkdir
checking for mktemp... /usr/bin/mktemp
checking for mv... /bin/mv
checking for gawk... [not found]
checking for nawk... [not found]
checking for awk... /usr/bin/awk
checking for printf... printf [builtin]
checking for rm... /bin/rm
checking for rmdir... /bin/rmdir
checking for sh... /bin/sh
checking for sort... /usr/bin/sort
checking for tail... /usr/bin/tail
checking for gtar... [not found]
checking for tar... /usr/bin/tar
checking for tee... /usr/bin/tee
checking for touch... /usr/bin/touch
checking for xargs... /usr/bin/xargs
checking for fgrep... /usr/local/opt/grep/libexec/gnubin/grep -F
checking for df... /bin/df
checking for git... /usr/bin/git
checking for nice... /usr/bin/nice
checking for greadlink... /usr/local/bin/greadlink
checking for whoami... /usr/bin/whoami
checking for lsb_release... [not found]
checking for cmp... /usr/bin/cmp
checking for uniq... /usr/bin/uniq
checking for build environment type... dev, default (calculated from 'auto')
checking if custom source is suppressed (openjdk-only)... disabled, default
checking for --enable-debug... disabled, default
checking which debug level to use... slowdebug
checking which variants of the JVM to build... server
checking if absolute paths should be allowed in the build output... yes, debug build
checking for toolchain path... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin
checking for sdk name... macosx
checking for xcodebuild... /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild
configure: Setting sysroot from xcodebuild with SDK macosx
checking for sysroot... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk
checking for extra path...
checking where to store configuration... in default location
checking what configuration name to use... macosx-x86_64-server-slowdebug
checking for zypper... [not found]
checking for apt-get... [not found]
checking for yum... [not found]
checking for brew... /usr/local/bin/brew
checking for pandoc... /usr/local/bin/pandoc
checking for pandoc version... 3.1.7
configure: WARNING: pandoc is version 3.1.7, not the recommended version 2.19.2
checking if the pandoc smart extension needs to be disabled for markdown... yes
checking for gmake... /usr/local/bin/gmake
configure: Testing potential make at /usr/local/bin/gmake, found using gmake in PATH
configure: Using GNU make at /usr/local/bin/gmake (version: GNU Make 4.4.1)
checking if make --output-sync is supported... yes
checking for make --output-sync value... none, default
checking if find supports -delete... yes
checking what type of tar was found... bsd
checking that grep (/usr/local/opt/grep/libexec/gnubin/grep) -Fx handles empty lines in the pattern list correctly... yes
checking for unzip... /usr/bin/unzip
checking for zip... /usr/bin/zip
checking for greadelf... [not found]
checking for readelf... [not found]
checking for dot... /usr/local/bin/dot
checking for stat... /usr/bin/stat
checking for time... time [builtin]
checking for flock... [not found]
checking for dtrace... /usr/sbin/dtrace
checking for gpatch... [not found]
checking for patch... /usr/bin/patch
checking if date is a GNU compatible version... no
checking for dsymutil... /usr/bin/dsymutil
checking for mig... /usr/bin/mig
checking for xattr... /usr/bin/xattr
checking for codesign... /usr/bin/codesign
checking for SetFile... /usr/bin/SetFile
checking for ulimit... ulimit [builtin]
checking bash version... 5.2.15
checking if bash supports pipefail... yes
checking if bash supports errexit (-e)... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for default LOG value...
checking for JMOD compression type... zip-1, default
checking if packaged modules are kept... enabled, default
checking for --with-build-user... diguage, default
checking for --with-jdk-rc-name... OpenJDK Platform, default
checking for --with-vendor-name... N/A, default
checking for --with-vendor-url... https://openjdk.org/, default
checking for --with-vendor-bug-url... https://bugreport.java.com/bugreport/, default
checking for --with-vendor-vm-bug-url... https://bugreport.java.com/bugreport/crash.jsp, default
checking for --with-version-string... <none>, default
checking for --with-version-feature... 21, default
checking for --with-version-date... 2023-10-17, default
checking for --with-vendor-version-string... <disabled>, default
checking for --with-macosx-bundle-name-base... OpenJDK, default
checking for --with-macosx-bundle-id-base... net.java.openjdk-internal, default
checking for --with-macosx-bundle-build-version... 0, default
checking for version string... 21.0.1-internal-adhoc.diguage.openjdk21
configure: Found potential Boot JDK using configure arguments
checking for Boot JDK... /Users/diguage/.sdkman/candidates/java/21-amzn
checking Boot JDK version... openjdk version "21" 2023-09-19 LTS OpenJDK Runtime Environment Corretto-21.0.0.35.1 (build 21+35-LTS) OpenJDK 64-Bit Server VM Corretto-21.0.0.35.1 (build 21+35-LTS, mixed mode, sharing)
checking for java [Boot JDK]... $BOOT_JDK/bin/java
checking for javac [Boot JDK]... $BOOT_JDK/bin/javac
checking for javadoc [Boot JDK]... $BOOT_JDK/bin/javadoc
checking for jar [Boot JDK]... $BOOT_JDK/bin/jar
checking if Boot JDK jar supports --date=TIMESTAMP... true
checking if Boot JDK is 32 or 64 bits... 64
checking for local Boot JDK Class Data Sharing (CDS)... yes, created
checking for Build JDK... yes, will use output dir
checking for docs-reference JDK... no, using interim javadoc for the docs-reference targets
checking what source date to use... 1695646351, from 'current' (default)
checking if we should build headless-only (no GUI)... disabled, default
checking if linker should clean out unused code (linktime-gc)... disabled, default
checking for graphviz dot... yes
checking for pandoc... yes
checking for --enable-full-docs... enabled, from default 'auto'
checking for cacerts file... default
checking for cacerts source... default
checking for --enable-unlimited-crypto... enabled, default
checking for jni library path... default
checking if static build is available... yes
checking if static build is enabled... disabled, default
configure: Using default toolchain clang (clang/LLVM)
configure: WARNING: Ignoring CXXFLAGS(-stdlib=libc++) found in environment. Use --with-extra-cxxflags
configure: WARNING: Ignoring LDFLAGS(-L/usr/local/opt/llvm/lib) found in environment. Use --with-extra-ldflags
configure: Will use user supplied compiler CC=clang
checking for clang... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
checking resolved symbolic links for CC... no symlink
configure: Using clang C compiler version 14.0.0 [Apple clang version 14.0.0 (clang-1400.0.29.202) Target: x86_64-apple-darwin21.6.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin]
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang accepts -g... yes
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang option to enable C11 features... none needed
configure: Will use user supplied compiler CXX=clang++
checking for clang++... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
checking resolved symbolic links for CXX... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
configure: Using clang C++ compiler version 14.0.0 [Apple clang version 14.0.0 (clang-1400.0.29.202) Target: x86_64-apple-darwin21.6.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin]
checking whether the compiler supports GNU C++... yes
checking whether /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ accepts -g... yes
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ option to enable C++11 features... none needed
checking how to run the C preprocessor... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -E
checking how to run the C++ preprocessor... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -E
configure: Using clang linker version 820.1 [@(#)PROGRAM:ld PROJECT:ld64-820.1]
checking for ar... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar
checking for lipo... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo
checking for otool... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool
checking for install_name_tool... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool
checking for metal... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/metal
checking for metallib... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/metallib
checking for strip... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip
checking for nm... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm
checking for gobjdump... [not found]
checking for objdump... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump
checking for c++filt... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++filt
checking if CC supports "-m64"... yes
checking if CXX supports "-m64"... yes
checking if both CC and CXX support "-m64"... yes
checking for jtreg... [not found]
checking for jtreg test harness... no, not found
checking for jmh (Java Microbenchmark Harness)... no, disabled
checking for jib... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for stdio.h... (cached) yes
checking size of int *... 8
checking for target address size... 64 bits
checking whether byte ordering is bigendian... no
checking for --enable-branch-protection... disabled, default
checking if CC supports "-gdwarf-4 -gdwarf-aranges"... yes
checking if CXX supports "-gdwarf-4 -gdwarf-aranges"... yes
checking if both CC and CXX support "-gdwarf-4 -gdwarf-aranges"... yes
checking for --enable-warnings-as-errors... disabled, from command line
checking if TARGET is x86... no
checking if CC supports "-fno-delete-null-pointer-checks"... yes
checking if CXX supports "-fno-delete-null-pointer-checks"... yes
checking if both CC and CXX support "-fno-delete-null-pointer-checks"... yes
checking if CC supports "-ffp-contract=off"... yes
checking if CXX supports "-ffp-contract=off"... yes
checking if both CC and CXX support "-ffp-contract=off"... yes
checking if BUILD is x86... no
checking if BUILD_CC supports "-fno-delete-null-pointer-checks"... yes
checking if BUILD_CXX supports "-fno-delete-null-pointer-checks"... yes
checking if both BUILD_CC and BUILD_CXX support "-fno-delete-null-pointer-checks"... yes
checking if BUILD_CC supports "-ffp-contract=off"... yes
checking if BUILD_CXX supports "-ffp-contract=off"... yes
checking if both BUILD_CC and BUILD_CXX support "-ffp-contract=off"... yes
checking how to run strip... -S
checking what type of native debug symbols to use... internal
checking if we should add external native debug symbols to the shipped bundles... no
checking if native coverage is available... yes
checking for --enable-native-coverage... disabled, default
checking if AddressSanitizer (asan) is available... yes
checking for --enable-asan... disabled, default
checking if UndefinedBehaviorSanitizer (ubsan) is available... yes
checking for --enable-ubsan... disabled, default
checking if LeakSanitizer (lsan) is available... yes
checking for --enable-lsan... disabled, default
checking if fallback linker enabled... disabled, default
checking for which libjpeg to use... bundled
checking for which giflib to use... bundled
checking for PNG... yes
checking for which libpng to use... bundled
checking for compress in -lz... yes
checking for which zlib to use... system
checking for system zlib functionality... ok
checking for which lcms to use... bundled
checking for which harfbuzz to use... bundled
checking for cups/cups.h... yes
checking for cups/ppd.h... yes
Using freetype: bundled
checking for --enable-hsdis-bundling... disabled, default
checking what hsdis backend to use... 'none', hsdis will not be built
checking if hsdis should be bundled... no
checking for --enable-libffi-bundling... disabled, default
checking for cos in -lm... yes
checking for dlopen in -ldl... yes
checking for JVM features enabled by the user... 'dtrace'
checking for JVM features disabled by the user... none
checking if platform is supported by CDS... yes
checking if JVM feature 'cds' is available... yes
checking for dtrace tool and platform support... /usr/sbin/dtrace
checking for sys/sdt.h... yes
checking if JVM feature 'dtrace' is available... yes
checking if platform is supported by JVMCI... yes
checking if JVM feature 'jvmci' is available... yes
checking if platform is supported by Shenandoah... yes
checking if JVM feature 'shenandoahgc' is available... yes
checking if static-build is enabled in configure... no, use --enable-static-build to enable static build.
checking if JVM feature 'static-build' is available... no
checking if platform is supported by ZGC... yes
checking if JVM feature 'zgc' is available... yes
configure: Default JVM features explicitly enabled for 'server': 'dtrace'
checking JVM features to use for variant 'server'... 'cds compiler1 compiler2 dtrace epsilongc g1gc jfr jni-check jvmci jvmti management parallelgc serialgc services shenandoahgc vm-structs zgc'
checking what hotspot build time to use... 2023-09-25T12:52:31Z (from --with-source-date)
checking if the jtreg failure handler is available... no (jtreg not present)
checking if the jtreg failure handler should be built... disabled, default
checking if the jtreg test thread factory is available... no (jtreg not present)
checking if the jtreg test thread factory should be built... disabled, from default 'auto'
checking if the CDS classlist generation should be enabled... enabled, from default 'auto'
checking if any translations should be excluded... no
checking if static man pages should be copied... enabled, default
checking if CDS archive is available... yes
checking if a default CDS archive should be generated... enabled, from default 'auto'
checking if CDS archive is available... yes
checking if compatible cds region alignment enabled... disabled, default
checking for macosx code signing mode... auto, default
checking for macosx code signing identity... openjdk_codesign, default
checking if debug mode codesign is possible... yes
checking for macosx code signing mode... debug
checking for number of cores... 12
checking for memory size... 16384 MB
checking for appropriate number of jobs to run in parallel... 12
checking whether to use javac server... enabled, default
checking flags for boot jdk java command ... -Duser.language=en -Duser.country=US -XX:+UnlockDiagnosticVMOptions -XX:-VerifySharedSpaces -XX:SharedArchiveFile=/Users/diguage/path/to/openjdk21/build/macosx-x86_64-server-slowdebug/configure-support/classes.jsa -Xshare:auto
checking flags for boot jdk java command for big workloads... -Xms64M -Xmx1600M
checking flags for bootcycle boot jdk java command for big workloads... -Xms64M -Xmx1600M
checking flags for boot jdk java command for small workloads... -XX:+UseSerialGC -Xms32M -Xmx512M -XX:TieredStopAtLevel=1
checking for --enable-icecc... disabled, default
checking if precompiled headers are available... yes
checking for --enable-precompiled-headers... enabled, from default 'auto'
checking for ccache... /usr/local/bin/ccache
checking if ccache is available... yes
checking if ccache is enabled... disabled, default
checking if build directory is on local disk... yes
configure: creating /Users/diguage/path/to/openjdk21/build/macosx-x86_64-server-slowdebug/configure-support/config.status
config.status: creating /Users/diguage/path/to/openjdk21/build/macosx-x86_64-server-slowdebug/spec.gmk
config.status: creating /Users/diguage/path/to/openjdk21/build/macosx-x86_64-server-slowdebug/bootcycle-spec.gmk
config.status: creating /Users/diguage/path/to/openjdk21/build/macosx-x86_64-server-slowdebug/buildjdk-spec.gmk
config.status: creating /Users/diguage/path/to/openjdk21/build/macosx-x86_64-server-slowdebug/compare.sh
config.status: creating /Users/diguage/path/to/openjdk21/build/macosx-x86_64-server-slowdebug/Makefile
====================================================
The existing configuration has been successfully updated in
/Users/diguage/path/to/openjdk21/build/macosx-x86_64-server-slowdebug
using configure arguments '--enable-dtrace --with-boot-jdk=/Users/diguage/.sdkman/candidates/java/21-amzn/ --with-debug-level=slowdebug --with-target-bits=64 --with-native-debug-symbols=internal --disable-warnings-as-errors --with-jvm-variants=server --with-xcode-path=/Applications/Xcode.app'.
Configuration summary:
* Name: macosx-x86_64-server-slowdebug
* Debug level: slowdebug
* HS debug level: debug
* JVM variants: server
* JVM features: server: 'cds compiler1 compiler2 dtrace epsilongc g1gc jfr jni-check jvmci jvmti management parallelgc serialgc services shenandoahgc vm-structs zgc'
* OpenJDK target: OS: macosx, CPU architecture: x86, address length: 64
* Version string: 21.0.1-internal-adhoc.diguage.openjdk21 (21.0.1-internal)
* Source date: 1695646351 (2023-09-25T12:52:31Z)
Tools summary:
* Boot JDK: openjdk version "21" 2023-09-19 LTS OpenJDK Runtime Environment Corretto-21.0.0.35.1 (build 21+35-LTS) OpenJDK 64-Bit Server VM Corretto-21.0.0.35.1 (build 21+35-LTS, mixed mode, sharing) (at /Users/diguage/.sdkman/candidates/java/21-amzn)
* Toolchain: clang (clang/LLVM from Xcode 14.2)
* Sysroot: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk
* C Compiler: Version 14.0.0 (at /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang)
* C++ Compiler: Version 14.0.0 (at /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++)
Build performance summary:
* Build jobs: 12
* Memory limit: 16384 MB
WARNING: The result of this configuration has overridden an older
configuration. You *should* run 'make clean' to make sure you get a
proper build. Failure to do so might result in strange build problems.
The following warnings were produced. Repeated here for convenience:
WARNING: pandoc is version 3.1.7, not the recommended version 2.19.2
WARNING: Ignoring CXXFLAGS(-stdlib=libc++) found in environment. Use --with-extra-cxxflags
WARNING: Ignoring LDFLAGS(-L/usr/local/opt/llvm/lib) found in environment. Use --with-extra-ldflags
$ make images
Building target 'images' in configuration 'macosx-x86_64-server-slowdebug'
Compiling up to 1 files for BUILD_TOOLS_HOTSPOT
Compiling up to 8 files for BUILD_TOOLS_LANGTOOLS
Creating hotspot/variant-server/tools/adlc/adlc from 13 file(s)
Compiling up to 2 files for BUILD_JVMTI_TOOLS
Generating classes for compiler.properties launcher.properties
Compiling 20 properties into resource bundles for jdk.compiler
Compiling 9 properties into resource bundles for jdk.jshell
Compiling 17 properties into resource bundles for jdk.javadoc
Compiling 15 properties into resource bundles for jdk.jdeps
Compiling up to 127 files for BUILD_java.compiler.interim
Compiling up to 353 files for BUILD_jdk.compiler.interim
Compiling up to 242 files for BUILD_jdk.javadoc.interim
Compiling up to 17 files for BUILD_JAVAC_SERVER
Creating support/modules_libs/java.base/server/libjvm.dylib from 1209 file(s)
Compiling up to 31 files for BUILD_JRTFS
Compiling up to 187 files for BUILD_TOOLS_JDK
Compiling up to 2 files for COMPILE_DEPEND
Creating support/modules_libs/java.base/jrt-fs.jar
Compiling up to 2 files for BUILD_BREAKITERATOR_BASE
Compiling up to 2 files for BUILD_BREAKITERATOR_LD
Compiling 11 properties into resource bundles for java.logging
Compiling 11 properties into resource bundles for java.base
Compiling 6 properties into resource bundles for java.base
Compiling 4 properties into resource bundles for jdk.httpserver
Compiling 11 properties into resource bundles for jdk.jartool
Compiling up to 71 files for COMPILE_CREATE_SYMBOLS
Compiling 11 properties into resource bundles for jdk.management.agent
Compiling 8 properties into resource bundles for jdk.jlink
Compiling 4 properties into resource bundles for jdk.jdi
Compiling 4 properties into resource bundles for jdk.jlink
Compiling 1 properties into resource bundles for jdk.jlink
Compiling 224 properties into resource bundles for jdk.localedata
Compiling up to 71 files for COMPILE_CREATE_SYMBOLS
Creating ct.sym classes
Compiling 90 properties into resource bundles for java.desktop
Compiling up to 3462 files for java.base
Updating support/src.zip
Compiling up to 127 files for java.compiler
Compiling up to 18 files for java.datatransfer
Compiling up to 10 files for java.instrument
Compiling up to 35 files for java.logging
Compiling up to 330 files for java.management
Compiling up to 144 files for java.net.http
Compiling up to 15 files for java.scripting
Compiling up to 5 files for java.transaction.xa
Compiling up to 22 files for java.smartcardio
Compiling up to 60 files for jdk.internal.jvmstat
Compiling up to 146 files for jdk.charsets
Compiling up to 14 files for jdk.zipfs
Compiling up to 52 files for jdk.internal.opt
Compiling up to 35 files for jdk.crypto.ec
Compiling up to 68 files for jdk.dynalink
Compiling up to 3 files for jdk.internal.ed
Compiling up to 1850 files for java.xml
Compiling up to 59 files for jdk.httpserver
Compiling up to 50 files for jdk.incubator.vector
Compiling up to 214 files for jdk.internal.vm.ci
Compiling up to 24 files for jdk.management
Compiling up to 28 files for jdk.jartool
Compiling up to 1 files for jdk.jdwp.agent
Compiling up to 311 files for jdk.jfr
Compiling up to 114 files for jdk.internal.le
Compiling up to 4 files for jdk.jsobject
Compiling up to 1877 files for jdk.localedata
Compiling up to 9 files for jdk.net
Compiling up to 2 files for jdk.nio.mapmode
Compiling up to 11 files for jdk.random
Compiling up to 26 files for jdk.sctp
Compiling up to 9 files for jdk.unsupported
Compiling up to 30 files for java.security.sasl
Compiling up to 106 files for java.rmi
Compiling up to 15 files for jdk.attach
Compiling up to 359 files for jdk.compiler
Compiling up to 78 files for jdk.crypto.cryptoki
Compiling up to 1 files for jdk.internal.vm.compiler
Compiling up to 1 files for jdk.internal.vm.compiler.management
Compiling up to 40 files for jdk.jcmd
Compiling up to 254 files for jdk.jdi
Compiling up to 11 files for jdk.jstatd
Compiling up to 15 files for jdk.management.jfr
Compiling up to 199 files for java.naming
Compiling up to 15 files for java.management.rmi
Compiling up to 212 files for java.security.jgss
Compiling up to 16 files for jdk.naming.dns
Compiling up to 8 files for jdk.naming.rmi
Compiling up to 30 files for jdk.management.agent
Compiling up to 18 files for java.prefs
Compiling up to 77 files for java.sql
Compiling up to 94 files for jdk.xml.dom
Compiling up to 272 files for java.xml.crypto
Compiling up to 30 files for jdk.security.auth
Compiling up to 16 files for jdk.security.jgss
Compiling up to 139 files for jdk.jdeps
Compiling up to 56 files for java.sql.rowset
Compiling up to 99 files for jdk.jshell
Compiling up to 242 files for jdk.javadoc
Compiling up to 89 files for jdk.jlink
Compiling up to 2739 files for java.desktop
Compiling up to 1 files for java.se
Compiling up to 18 files for jdk.accessibility
Compiling up to 3 files for jdk.editpad
Compiling up to 8 files for jdk.unsupported.desktop
Compiling up to 64 files for jdk.jconsole
Compiling up to 55 files for jdk.jpackage
Compiling up to 946 files for jdk.hotspot.agent
Creating support/modules_libs/java.base/libverify.dylib from 1 file(s)
Creating support/modules_libs/java.base/libjava.dylib from 68 file(s)
Creating support/modules_libs/java.base/libzip.dylib from 5 file(s)
Creating support/modules_libs/java.base/libjimage.dylib from 6 file(s)
Creating support/modules_libs/java.base/libjli.dylib from 8 file(s)
Creating support/modules_libs/java.base/libnet.dylib from 14 file(s)
Creating support/modules_libs/java.base/libnio.dylib from 24 file(s)
Creating support/modules_libs/java.base/libosxsecurity.dylib from 1 file(s)
Creating support/modules_libs/java.base/libjsig.dylib from 1 file(s)
Creating support/modules_libs/java.base/libsyslookup.dylib from 1 file(s)
Creating support/modules_libs/java.prefs/libprefs.dylib from 1 file(s)
Creating support/modules_libs/java.rmi/librmi.dylib from 1 file(s)
Creating support/modules_libs/java.management/libmanagement.dylib from 9 file(s)
Creating support/modules_libs/java.smartcardio/libj2pcsc.dylib from 2 file(s)
Creating support/modules_libs/java.instrument/libinstrument.dylib from 12 file(s)
Creating support/modules_cmds/java.rmi/rmiregistry from 1 file(s)
Creating support/modules_cmds/java.scripting/jrunscript from 1 file(s)
Creating support/modules_libs/jdk.attach/libattach.dylib from 1 file(s)
Creating support/modules_libs/java.security.jgss/libj2gss.dylib from 3 file(s)
Creating support/modules_libs/java.security.jgss/libosxkrb5.dylib from 2 file(s)
Creating support/modules_cmds/java.base/java from 1 file(s)
Creating support/modules_cmds/jdk.compiler/javac from 1 file(s)
Creating support/modules_cmds/java.base/keytool from 1 file(s)
Creating support/modules_cmds/jdk.compiler/serialver from 1 file(s)
Creating support/modules_libs/java.base/jspawnhelper from 1 file(s)
Creating support/modules_libs/jdk.crypto.cryptoki/libj2pkcs11.dylib from 14 file(s)
Creating support/modules_libs/jdk.hotspot.agent/libsaproc.dylib from 8 file(s)
Creating support/modules_cmds/jdk.hotspot.agent/jhsdb from 1 file(s)
Creating support/modules_libs/java.desktop/libmlib_image.dylib from 50 file(s)
Creating support/modules_libs/java.desktop/libawt.dylib from 70 file(s)
Creating support/modules_libs/java.desktop/liblcms.dylib from 27 file(s)
Creating support/modules_libs/java.desktop/libjavajpeg.dylib from 46 file(s)
Creating support/modules_libs/java.desktop/libfreetype.dylib from 105 file(s)
Creating support/modules_libs/java.desktop/libfontmanager.dylib from 67 file(s)
Creating support/modules_libs/java.desktop/libawt_lwawt.dylib from 126 file(s)
Creating support/modules_libs/java.desktop/libosxapp.dylib from 6 file(s)
Creating support/modules_libs/java.desktop/libjawt.dylib from 1 file(s)
Creating support/modules_libs/java.desktop/libsplashscreen.dylib from 66 file(s)
Creating support/modules_cmds/jdk.httpserver/jwebserver from 1 file(s)
Creating support/modules_libs/java.desktop/libosxui.dylib from 7 file(s)
In file included from /Users/diguage/path/to/openjdk21/src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/shaders.metal:26:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/simd.h:17:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/vector.h:43:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/vector_types.h:509:9: error: 'double' is not supported in Metal
typedef double simd_double1;
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/vector_types.h:517:49: error: 'double' is not supported in Metal
typedef __attribute__((__ext_vector_type__(2))) double simd_double2;
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/vector_types.h:523:65: error: 'double' is not supported in Metal
typedef __attribute__((__ext_vector_type__(3),__aligned__(16))) double simd_double3;
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/vector_types.h:531:65: error: 'double' is not supported in Metal
typedef __attribute__((__ext_vector_type__(4),__aligned__(16))) double simd_double4;
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/vector_types.h:539:65: error: 'double' is not supported in Metal
typedef __attribute__((__ext_vector_type__(8),__aligned__(16))) double simd_double8;
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/vector_types.h:547:11: error: redefinition of 'simd' as different kind of symbol
namespace simd {
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/metal/macos/lib/clang/31001.667/include/metal/metal_types:311:11: note: previous definition is here
namespace simd = metal;
^
In file included from /Users/diguage/path/to/openjdk21/src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/shaders.metal:26:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/simd.h:17:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/vector.h:43:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/vector_types.h:1031:20: error: typedef redefinition with different types ('simd_char8' (vector of 8 'char' values) vs 'char8' (aka '__Reserved_Name__Do_not_use_char8'))
typedef simd_char8 vector_char8;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/metal/macos/lib/clang/31001.667/include/metal/metal_extended_vector:177:15: note: previous definition is here
typedef char8 vector_char8;
^
In file included from /Users/diguage/path/to/openjdk21/src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/shaders.metal:26:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/simd.h:17:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/vector.h:43:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/vector_types.h:1036:21: error: typedef redefinition with different types ('simd_char16' (vector of 16 'char' values) vs 'char16' (aka '__Reserved_Name__Do_not_use_char16'))
typedef simd_char16 vector_char16;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/metal/macos/lib/clang/31001.667/include/metal/metal_extended_vector:178:16: note: previous definition is here
typedef char16 vector_char16;
^
In file included from /Users/diguage/path/to/openjdk21/src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/shaders.metal:26:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/simd.h:17:
In fileCreating support/modules_libs/java.desktop/libjsound.dylib from 17 file(s)
included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/vector.h:43:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/vector_types.h:1062:21: error: typedef redefinition with different types ('simd_uchar8' (vector of 8 'unsigned char' values) vs 'uchar8' (aka '__Reserved_Name__Do_not_use_uchar8'))
typedef simd_uchar8 vector_uchar8;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/metal/macos/lib/clang/31001.667/include/metal/metal_extended_vector:183:16: note: previous definition is here
typedef uchar8 vector_uchar8;
^
In file included from /Users/diguage/path/to/openjdk21/src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/shaders.metal:26:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/simd.h:17:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/vector.h:43:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/vector_types.h:1067:22: error: typedef redefinition with different types ('simd_uchar16' (vector of 16 'unsigned char' values) vs 'uchar16' (aka '__Reserved_Name__Do_not_use_uchar16'))
typedef simd_uchar16 vector_uchar16;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/metal/macos/lib/clang/31001.667/include/metal/metal_extended_vector:184:17: note: previous definition is here
typedef uchar16 vector_uchar16;
^
In file included from /Users/diguage/path/to/openjdk21/src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/shaders.metal:26:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/simd.h:17:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/vector.h:43:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/vector_types.h:1092:21: error: typedef redefinition with different types ('simd_short8' (vector of 8 'short' values) vs 'short8' (aka '__Reserved_Name__Do_not_use_short8'))
typedef simd_short8 vector_short8;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/metal/macos/lib/clang/31001.667/include/metal/metal_extended_vector:189:16: note: previous definition is here
typedef short8 vector_short8;
^
In file included from /Users/diguage/path/to/openjdk21/src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/shaders.metal:26:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/simd.h:17:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/vector.h:43:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/vector_types.h:1097:22: error: typedef redefinition with different types ('simd_short16' (vector of 16 'short' values) vs 'short16' (aka '__Reserved_Name__Do_not_use_short16'))
typedef simd_short16 vector_short16;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/metal/macos/lib/clang/31001.667/include/metal/metal_extended_vector:190:17: note: previous definition is here
typedef short16 vector_short16;
^
In file included from /Users/diguage/path/to/openjdk21/src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/shaders.metal:26:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/simd.h:17:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/vector.h:43:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/vector_types.h:1123:22: error: typedef redefinition with different types ('simd_ushort8' (vector of 8 'unsigned short' values) vs 'ushort8' (aka '__Reserved_Name__Do_not_use_ushort8'))
typedef simd_ushort8 vector_ushort8;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/metal/macos/lib/clang/31001.667/include/metal/metal_extended_vector:195:17: note: previous definition is here
typedef ushort8 vector_ushort8;
^
In file included from /Users/diguage/path/to/openjdk21/src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/shaders.metal:26:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/simd.h:17:
In file included from /Applications/Xcode.app/Contents/DeCreating support/modules_libs/jdk.internal.le/lible.dylib from 1 file(s)
Creating support/modules_cmds/jdk.jartool/jar from 1 file(s)
veloper/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/vector.h:43:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/vector_types.h:1128:23: error: typedef redefinition with different types ('simd_ushort16' (vector of 16 'unsigned short' values) vs 'ushort16' (aka '__Reserved_Name__Do_not_use_ushort16'))
typedef simd_ushort16 vector_ushort16;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/metal/macos/lib/clang/31001.667/include/metal/metal_extended_vector:196:18: note: previous definition is here
typedef ushort16 vector_ushort16;
^
In file included from /Users/diguage/path/to/openjdk21/src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/shaders.metal:26:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/simd.h:17:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/vector.h:43:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/vector_types.h:1153:19: error: typedef redefinition with different types ('simd_int8' (vector of 8 'int' values) vs 'int8' (aka '__Reserved_Name__Do_not_use_int8'))
typedef simd_int8 vector_int8;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/metal/macos/lib/clang/31001.667/include/metal/metal_extended_vector:201:14: note: previous definition is here
typedef int8 vector_int8;
^
In file included from /Users/diguage/path/to/openjdk21/src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/shaders.metal:26:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/simd.h:17:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/vector.h:43:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/vector_types.h:1158:20: error: typedef redefinition with different types ('simd_int16' (vector of 16 'int' values) vs 'int16' (aka '__Reserved_Name__Do_not_use_int16'))
typedef simd_int16 vector_int16;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/metal/macos/lib/clang/31001.667/include/metal/metal_extended_vector:202:15: note: previous definition is here
typedef int16 vector_int16;
^
In file included from /Users/diguage/path/to/openjdk21/src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/shaders.metal:26:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/simd.h:17:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/vector.h:43:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/vector_types.h:1178:20: error: typedef redefinition with different types ('simd_uint8' (vector of 8 'unsigned int' values) vs 'uint8' (aka '__Reserved_Name__Do_not_use_uint8'))
typedef simd_uint8 vector_uint8;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/metal/macos/lib/clang/31001.667/include/metal/metal_extended_vector:207:15: note: previous definition is here
typedef uint8 vector_uint8;
^
In file included from /Users/diguage/path/to/openjdk21/src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/shaders.metal:26:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/simd.h:17:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/vector.h:43:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/vector_types.h:1183:21: error: typedef redefinition with different types ('simd_uint16' (vector of 16 'unsigned int' values) vs 'uint16' (aka '__Reserved_Name__Do_not_use_uint16'))
typedef simd_uint16 vector_uint16;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/metal/macos/lib/clang/31001.667/include/metal/metal_extended_vector:208:16: note: previous definition is here
tyCreating support/modules_cmds/jdk.jartool/jarsigner from 1 file(s)
Creating support/modules_libs/java.desktop/libosx.dylib from 1 file(s)
Creating support/modules_cmds/jdk.javadoc/javadoc from 1 file(s)
Creating support/modules_libs/jdk.management/libmanagement_ext.dylib from 8 file(s)
Creating support/modules_libs/jdk.management.agent/libmanagement_agent.dylib from 1 file(s)
Creating support/modules_cmds/jdk.jconsole/jconsole from 1 file(s)
Creating support/modules_cmds/jdk.jcmd/jinfo from 1 file(s)
Creating support/modules_cmds/jdk.jcmd/jmap from 1 file(s)
Creating support/modules_cmds/jdk.jcmd/jps from 1 file(s)
Creating support/modules_cmds/jdk.jcmd/jstack from 1 file(s)
Creating support/modules_cmds/jdk.jcmd/jstat from 1 file(s)
Creating support/modules_cmds/jdk.jcmd/jcmd from 1 file(s)
pedef uint16 vector_uint16;
^
In file included from /Users/diguage/path/to/openjdk21/src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/shaders.metal:26:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/simd.h:17:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/vector.h:43:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/vector_types.h:1203:21: error: typedef redefinition with different types ('simd_float8' (vector of 8 'float' values) vs 'float8' (aka '__Reserved_Name__Do_not_use_float8'))
typedef simd_float8 vector_float8;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/metal/macos/lib/clang/31001.667/include/metal/metal_extended_vector:231:16: note: previous definition is here
typedef float8 vector_float8;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
gmake[3]: *** [lib/Awt2dLibraries.gmk:913: /Users/diguage/path/to/openjdk21/build/macosx-x86_64-server-slowdebug/support/native/java.desktop/libosxui/shaders.air] Error 1
gmake[3]: *** Waiting for unfinished jobs....
gmake[2]: *** [make/Main.gmk:199: java.desktop-libs] Error 2
gmake[2]: *** Waiting for unfinished jobs....
ERROR: Build failed for target 'images' in configuration 'macosx-x86_64-server-slowdebug' (exit code 2)
Stopping javac server
=== Output from failing command(s) repeated here ===
* For target support_native_java.desktop_libosxui__metal_shaders_exec:
In file included from /Users/diguage/path/to/openjdk21/src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/shaders.metal:26:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/simd.h:17:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/vector.h:43:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/vector_types.h:509:9: error: 'double' is not supported in Metal
typedef double simd_double1;
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/vector_types.h:517:49: error: 'double' is not supported in Metal
typedef __attribute__((__ext_vector_type__(2))) double simd_double2;
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/vector_types.h:523:65: error: 'double' is not supported in Metal
typedef __attribute__((__ext_vector_type__(3),__aligned__(16))) double simd_double3;
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/simd/vector_types.h:531:65: error: 'double' is not supported in Metal
typedef __attribute__((__ext_vector_type__(4),__aligned__(16))) double simd_double4;
^
... (rest of output omitted)
* All command lines available in /Users/diguage/path/to/openjdk21/build/macosx-x86_64-server-slowdebug/make-support/failure-logs.
=== End of repeated output ===
No indication of failed target found.
HELP: Try searching the build log for '] Error'.
HELP: Run 'make doctor' to diagnose build problems.
make[1]: *** [/Users/diguage/path/to/openjdk21/make/Init.gmk:323: main] Error 2
make: *** [/Users/diguage/path/to/openjdk21/make/Init.gmk:189: images] Error 2
╭─☞ /Users/diguage/path/to/openjdk21 git:(master) ✗
╰─➜ make doctor
Building target 'doctor' in configuration 'macosx-x86_64-server-slowdebug'
"make doctor" will help you analyze your build environment. It can highlight
certain well-known problems, but it can never find all possible errors.
* Verifying that configure has picked up git...
* Checking for warnings from configure...
---
WARNING: The result of this configuration has overridden an older
configuration. You *should* run 'make clean' to make sure you get a
proper build. Failure to do so might result in strange build problems.
The following warnings were produced. Repeated here for convenience:
WARNING: pandoc is version 3.1.7, not the recommended version 2.19.2
WARNING: Ignoring CXXFLAGS(-stdlib=libc++) found in environment. Use --with-extra-cxxflags
WARNING: Ignoring LDFLAGS(-L/usr/local/opt/llvm/lib) found in environment. Use --with-extra-ldflags
---
! Inspect the warnings, fix any problems, and re-run configure
* Checking for left-over core files...
* Checking for untracked files with illegal names...
* If all else fails, try removing the entire build directory and re-creating
the same configuration using:
---
configure_command_line=$(make print-configuration)
make dist-clean
bash configure $configure_command_line
---
* The build README (doc/building.md) is a great source of information,
especially the chapter "Fixing Unexpected Build Failures". Check it out!
* If you still need assistance please contact build-dev@openjdk.org.
Finished building target 'doctor' in configuration 'macosx-x86_64-server-slowdebug'