Building OpenJDK with Xcode12 devkits on older macOS
Baesken, Matthias
matthias.baesken at sap.com
Mon Jul 12 11:26:50 UTC 2021
Hello, I noticed the following when building jdk on macOS 10.14 with xcode12 devkit .
The tool "xcodebuild" which is used at some places in the configure process (see basic.m4 / toolchain.m4) fails because of the too old macOS :
configure:70788: xcodebuild output: dyld: Library not loaded: /System/Library/Frameworks/Combine.framework/Versions/A/Combine
configure:70790: error: Failed to determine Xcode version.
But when I rename/remove the xcodebuild from the devkit, the builds work perfectly fine (because the compilers do not have these deps to Combine.framework).
So I wonder - is there a "nicer" way to achieve this without renaming/removing the xcodebuild tool from the devkit (e.g. by setting other configure options or env variables) ?
Thanks, Matthias
More information about the build-dev
mailing list