Xcode version output when devkit is used
Magnus Ihse Bursie
magnus.ihse.bursie at oracle.com
Wed Nov 24 12:53:07 UTC 2021
On 2021-11-24 12:50, Baesken, Matthias wrote:
> Hi, I noticed a small issue when using an XCode devkit (--with-devkit pointing to XCode 13.1 in this case.) in the jdk/jdk build.
> In the configure output, we get this :
>
>
> configure: Xcode major version: 10
>
> --------------------------------
> * Toolchain: clang (clang/LLVM from Xcode 10.2.1)
>
> * C Compiler: Version 13.0.0 (at /tools/devkits/xcode13_1/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang)
> * C++ Compiler: Version 13.0.0 (at /tools/devkits/xcode13_1/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++)
> --------------------------------
>
>
> Looks like the output is picking up the XCode 10 from the system for "Xcode major version" and "Toolchain:" , not what the devkit provides.
> The system has :
>
> bash-3.2$ clang --version
> Apple LLVM version 10.0.1 (clang-1001.0.46.4)
> Target: x86_64-apple-darwin18.6.0
> Thread model: posix
> InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
>
>
> Should this be adjusted, or is it considered acceptable ?
It sounds like a bug that should get fixed. :)
Let me just verify that I understand this correctly. Your specified
devkit is used to actually compile the JDK, it's just in the configure
script output that things look wrong? (I suspect this will also mess up
version checking for clang in the makefiles. Thankfully, that kind of
checking is rare.)
/Magnus
More information about the build-dev
mailing list