The build script fails with undefined identifiers
The build info:
perry@dell:~/project/macos/osxcross [master ?] $ rm -fr build && rm -fr ~/bin/osxcross && TARGET_DIR=~/bin/osxcross SDK_VERSION=15 ./build.sh
SDK VERSION set in environment variable: 15
verified at /home/perry/project/macos/osxcross/tarballs/MacOSX15.sdk.tar.xz
Building OSXCross toolchain, Version: 1.5
macOS SDK Version: 15, Target: darwin24
Minimum targeted macOS Version: 10.13
Tarball Directory: /home/perry/project/macos/osxcross/tarballs
Build Directory: /home/perry/project/macos/osxcross/build
Install Directory: /home/perry/bin/osxcross
SDK Install Directory: /home/perry/bin/osxcross/SDK
The errors:
In file included from /home/perry/project/macos/osxcross/build/apple-libtapi/src/tapi/include/tapi/Core/ClangDiagnostics.h:23:
/home/perry/project/macos/osxcross/build/apple-libtapi/src/llvm/include/llvm/TextAPI/MachO/ArchitectureSet.h:46:17: error: use of undeclared identifier 'AK_unknown'
46 | if (Arch == AK_unknown)
| ^
/home/perry/project/macos/osxcross/build/apple-libtapi/src/llvm/include/llvm/TextAPI/MachO/ArchitectureSet.h:68:16: error: use of undeclared identifier 'AK_i386'
68 | return has(AK_i386) || has(AK_x86_64) || has(AK_x86_64h);
| ^
/home/perry/project/macos/osxcross/build/apple-libtapi/src/llvm/include/llvm/TextAPI/MachO/ArchitectureSet.h:68:32: error: use of undeclared identifier 'AK_x86_64'
68 | return has(AK_i386) || has(AK_x86_64) || has(AK_x86_64h);
| ^
/home/perry/project/macos/osxcross/build/apple-libtapi/src/llvm/include/llvm/TextAPI/MachO/ArchitectureSet.h:68:50: error: use of undeclared identifier 'AK_x86_64h'
68 | return has(AK_i386) || has(AK_x86_64) || has(AK_x86_64h);
| ^
The build script fails with undefined identifiers
The build info:
The errors: