tpoechtrager / osxcross

Mac OS X cross toolchain for Linux, FreeBSD, OpenBSD and Android (Termux)
GNU General Public License v2.0
2.85k stars 320 forks source link

build_compiler_rt.sh fails with SDK 10.13 due no .a files to copy #311

Open depili opened 2 years ago

depili commented 2 years ago

Trying to setup a docker container with osxcross and SDK 10.13, running into problems with build_compiler_rt.sh

#13 0.412 ## Building compiler-rt (release/11.x) ##
#13 0.412
#13 0.415 Cloning into 'compiler-rt'...
Updating files: 100% (109626/109626), done.)
#13 244.5 From https://github.com/llvm/llvm-project
#13 244.5  * [new branch]          release/11.x       -> release/11.x
#13 244.5  * [new tag]             llvmorg-11.1.0     -> llvmorg-11.1.0
#13 244.5  * [new tag]             llvmorg-11.1.0-rc3 -> llvmorg-11.1.0-rc3
#13 252.1 Switched to branch 'release/11.x'
#13 252.1 hint: Pulling without specifying how to reconcile divergent branches is
#13 252.1 hint: discouraged. You can squelch this message by running one of the following
#13 252.1 hint: commands sometime before your next pull:
#13 252.1 hint:
#13 252.1 hint:   git config pull.rebase false  # merge (the default strategy)
#13 252.1 hint:   git config pull.rebase true   # rebase
#13 252.1 hint:   git config pull.ff only       # fast-forward only
#13 252.1 hint:
#13 252.1 hint: You can replace "git config" with "git config --global" to set a default
#13 252.1 hint: preference for all repositories. You can also pass --rebase, --no-rebase,
#13 252.1 hint: or --ff-only on the command line to override the configured default per
#13 252.1 hint: invocation.
#13 252.7 From https://github.com/llvm/llvm-project
#13 252.7  * branch                release/11.x -> FETCH_HEAD
#13 252.8 Already up to date.
#13 253.0 -- The C compiler identification is Clang 11.0.1
#13 253.1 -- The CXX compiler identification is Clang 11.0.1
#13 253.2 -- The ASM compiler identification is Clang
#13 253.2 -- Found assembler: /usr/osxcross/target/bin/x86_64-apple-darwin17-clang
#13 253.2 -- Detecting C compiler ABI info
#13 253.3 -- Detecting C compiler ABI info - done
#13 253.4 -- Check for working C compiler: /usr/osxcross/target/bin/x86_64-apple-darwin17-clang - skipped
#13 253.4 -- Detecting C compile features
#13 253.4 -- Detecting C compile features - done
#13 253.4 -- Detecting CXX compiler ABI info
#13 253.5 -- Detecting CXX compiler ABI info - done
#13 253.5 -- Check for working CXX compiler: /usr/osxcross/target/bin/x86_64-apple-darwin17-clang++ - skipped
#13 253.5 -- Detecting CXX compile features
#13 253.5 -- Detecting CXX compile features - done
#13 253.6 -- Looking for unwind.h
#13 253.7 -- Looking for unwind.h - found
#13 253.7 -- Looking for rpc/xdr.h
#13 253.8 -- Looking for rpc/xdr.h - not found
#13 254.0 -- Found Python3: /usr/bin/python3.9 (found version "3.9.2") found components: Interpreter
#13 254.0 -- Looking for fopen in c
#13 254.2 -- Looking for fopen in c - found
#13 254.2 -- Looking for __gcc_personality_v0 in gcc_s
#13 254.4 -- Looking for __gcc_personality_v0 in gcc_s - not found
#13 254.4 -- Performing Test COMPILER_RT_HAS_NODEFAULTLIBS_FLAG
#13 255.2 -- Performing Test COMPILER_RT_HAS_NODEFAULTLIBS_FLAG - Success
#13 255.2 -- Performing Test COMPILER_RT_HAS_FFREESTANDING_FLAG
#13 255.4 -- Performing Test COMPILER_RT_HAS_FFREESTANDING_FLAG - Success
#13 255.4 -- Performing Test COMPILER_RT_HAS_STD_C11_FLAG
#13 255.6 -- Performing Test COMPILER_RT_HAS_STD_C11_FLAG - Success
#13 255.6 -- Performing Test COMPILER_RT_HAS_FPIC_FLAG
#13 255.7 -- Performing Test COMPILER_RT_HAS_FPIC_FLAG - Success
#13 255.7 -- Performing Test COMPILER_RT_HAS_FPIE_FLAG
#13 255.9 -- Performing Test COMPILER_RT_HAS_FPIE_FLAG - Success
#13 255.9 -- Performing Test COMPILER_RT_HAS_FNO_BUILTIN_FLAG
#13 256.1 -- Performing Test COMPILER_RT_HAS_FNO_BUILTIN_FLAG - Success
#13 256.1 -- Performing Test COMPILER_RT_HAS_FNO_EXCEPTIONS_FLAG
#13 256.2 -- Performing Test COMPILER_RT_HAS_FNO_EXCEPTIONS_FLAG - Success
#13 256.2 -- Performing Test COMPILER_RT_HAS_FOMIT_FRAME_POINTER_FLAG
#13 256.4 -- Performing Test COMPILER_RT_HAS_FOMIT_FRAME_POINTER_FLAG - Success
#13 256.4 -- Performing Test COMPILER_RT_HAS_FUNWIND_TABLES_FLAG
#13 256.6 -- Performing Test COMPILER_RT_HAS_FUNWIND_TABLES_FLAG - Success
#13 256.6 -- Performing Test COMPILER_RT_HAS_FNO_STACK_PROTECTOR_FLAG
#13 256.8 -- Performing Test COMPILER_RT_HAS_FNO_STACK_PROTECTOR_FLAG - Success
#13 256.8 -- Performing Test COMPILER_RT_HAS_FNO_SANITIZE_SAFE_STACK_FLAG
#13 256.9 -- Performing Test COMPILER_RT_HAS_FNO_SANITIZE_SAFE_STACK_FLAG - Success
#13 256.9 -- Performing Test COMPILER_RT_HAS_FVISIBILITY_HIDDEN_FLAG
#13 257.1 -- Performing Test COMPILER_RT_HAS_FVISIBILITY_HIDDEN_FLAG - Success
#13 257.1 -- Performing Test COMPILER_RT_HAS_FRTTI_FLAG
#13 257.3 -- Performing Test COMPILER_RT_HAS_FRTTI_FLAG - Success
#13 257.3 -- Performing Test COMPILER_RT_HAS_FNO_RTTI_FLAG
#13 257.5 -- Performing Test COMPILER_RT_HAS_FNO_RTTI_FLAG - Success
#13 257.5 -- Performing Test COMPILER_RT_HAS_FNO_FUNCTION_SECTIONS_FLAG
#13 257.7 -- Performing Test COMPILER_RT_HAS_FNO_FUNCTION_SECTIONS_FLAG - Success
#13 257.7 -- Performing Test COMPILER_RT_HAS_STD_CXX14_FLAG
#13 257.9 -- Performing Test COMPILER_RT_HAS_STD_CXX14_FLAG - Success
#13 257.9 -- Performing Test COMPILER_RT_HAS_FTLS_MODEL_INITIAL_EXEC
#13 258.1 -- Performing Test COMPILER_RT_HAS_FTLS_MODEL_INITIAL_EXEC - Success
#13 258.1 -- Performing Test COMPILER_RT_HAS_FNO_LTO_FLAG
#13 258.3 -- Performing Test COMPILER_RT_HAS_FNO_LTO_FLAG - Success
#13 258.3 -- Performing Test COMPILER_RT_HAS_FNO_PROFILE_GENERATE_FLAG
#13 258.4 -- Performing Test COMPILER_RT_HAS_FNO_PROFILE_GENERATE_FLAG - Success
#13 258.4 -- Performing Test COMPILER_RT_HAS_FNO_PROFILE_INSTR_GENERATE_FLAG
#13 258.6 -- Performing Test COMPILER_RT_HAS_FNO_PROFILE_INSTR_GENERATE_FLAG - Success
#13 258.6 -- Performing Test COMPILER_RT_HAS_FNO_PROFILE_INSTR_USE_FLAG
#13 258.8 -- Performing Test COMPILER_RT_HAS_FNO_PROFILE_INSTR_USE_FLAG - Success
#13 258.8 -- Performing Test COMPILER_RT_HAS_MSSE3_FLAG
#13 258.9 -- Performing Test COMPILER_RT_HAS_MSSE3_FLAG - Success
#13 258.9 -- Performing Test COMPILER_RT_HAS_MSSE4_2_FLAG
#13 259.1 -- Performing Test COMPILER_RT_HAS_MSSE4_2_FLAG - Success
#13 259.1 -- Performing Test COMPILER_RT_HAS_SYSROOT_FLAG
#13 259.3 -- Performing Test COMPILER_RT_HAS_SYSROOT_FLAG - Success
#13 259.3 -- Performing Test COMPILER_RT_HAS_MCRC_FLAG
#13 259.8 -- Performing Test COMPILER_RT_HAS_MCRC_FLAG - Failed
#13 259.8 -- Performing Test COMPILER_RT_HAS_FNO_PARTIAL_INLINING_FLAG
#13 259.9 -- Performing Test COMPILER_RT_HAS_FNO_PARTIAL_INLINING_FLAG - Failed
#13 259.9 -- Performing Test COMPILER_RT_HAS_FVISIBILITY_INLINES_HIDDEN_FLAG
#13 260.0 -- Performing Test COMPILER_RT_HAS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success
#13 260.0 -- Performing Test COMPILER_RT_HAS_GR_FLAG
#13 260.1 -- Performing Test COMPILER_RT_HAS_GR_FLAG - Failed
#13 260.1 -- Performing Test COMPILER_RT_HAS_GS_FLAG
#13 260.2 -- Performing Test COMPILER_RT_HAS_GS_FLAG - Failed
#13 260.2 -- Performing Test COMPILER_RT_HAS_MT_FLAG
#13 260.2 -- Performing Test COMPILER_RT_HAS_MT_FLAG - Failed
#13 260.2 -- Performing Test COMPILER_RT_HAS_Oy_FLAG
#13 260.3 -- Performing Test COMPILER_RT_HAS_Oy_FLAG - Failed
#13 260.3 -- Performing Test COMPILER_RT_HAS_GLINE_TABLES_ONLY_FLAG
#13 260.4 -- Performing Test COMPILER_RT_HAS_GLINE_TABLES_ONLY_FLAG - Success
#13 260.5 -- Performing Test COMPILER_RT_HAS_G_FLAG
#13 260.6 -- Performing Test COMPILER_RT_HAS_G_FLAG - Success
#13 260.6 -- Performing Test COMPILER_RT_HAS_Zi_FLAG
#13 260.7 -- Performing Test COMPILER_RT_HAS_Zi_FLAG - Failed
#13 260.7 -- Performing Test COMPILER_RT_HAS_WALL_FLAG
#13 260.8 -- Performing Test COMPILER_RT_HAS_WALL_FLAG - Success
#13 260.8 -- Performing Test COMPILER_RT_HAS_WERROR_FLAG
#13 261.0 -- Performing Test COMPILER_RT_HAS_WERROR_FLAG - Success
#13 261.0 -- Performing Test COMPILER_RT_HAS_WFRAME_LARGER_THAN_FLAG
#13 261.1 -- Performing Test COMPILER_RT_HAS_WFRAME_LARGER_THAN_FLAG - Success
#13 261.1 -- Performing Test COMPILER_RT_HAS_WGLOBAL_CONSTRUCTORS_FLAG
#13 261.3 -- Performing Test COMPILER_RT_HAS_WGLOBAL_CONSTRUCTORS_FLAG - Success
#13 261.3 -- Performing Test COMPILER_RT_HAS_WC99_EXTENSIONS_FLAG
#13 261.4 -- Performing Test COMPILER_RT_HAS_WC99_EXTENSIONS_FLAG - Success
#13 261.4 -- Performing Test COMPILER_RT_HAS_WGNU_FLAG
#13 261.6 -- Performing Test COMPILER_RT_HAS_WGNU_FLAG - Success
#13 261.6 -- Performing Test COMPILER_RT_HAS_WNON_VIRTUAL_DTOR_FLAG
#13 261.8 -- Performing Test COMPILER_RT_HAS_WNON_VIRTUAL_DTOR_FLAG - Success
#13 261.8 -- Performing Test COMPILER_RT_HAS_WVARIADIC_MACROS_FLAG
#13 261.9 -- Performing Test COMPILER_RT_HAS_WVARIADIC_MACROS_FLAG - Success
#13 261.9 -- Performing Test COMPILER_RT_HAS_WUNUSED_PARAMETER_FLAG
#13 262.1 -- Performing Test COMPILER_RT_HAS_WUNUSED_PARAMETER_FLAG - Success
#13 262.1 -- Performing Test COMPILER_RT_HAS_WCOVERED_SWITCH_DEFAULT_FLAG
#13 262.2 -- Performing Test COMPILER_RT_HAS_WCOVERED_SWITCH_DEFAULT_FLAG - Success
#13 262.2 -- Performing Test COMPILER_RT_HAS_WNO_PEDANTIC
#13 262.4 -- Performing Test COMPILER_RT_HAS_WNO_PEDANTIC - Success
#13 262.4 -- Performing Test COMPILER_RT_HAS_W4_FLAG
#13 262.5 -- Performing Test COMPILER_RT_HAS_W4_FLAG - Failed
#13 262.5 -- Performing Test COMPILER_RT_HAS_WX_FLAG
#13 262.5 -- Performing Test COMPILER_RT_HAS_WX_FLAG - Failed
#13 262.5 -- Performing Test COMPILER_RT_HAS_WD4146_FLAG
#13 262.6 -- Performing Test COMPILER_RT_HAS_WD4146_FLAG - Failed
#13 262.6 -- Performing Test COMPILER_RT_HAS_WD4291_FLAG
#13 262.7 -- Performing Test COMPILER_RT_HAS_WD4291_FLAG - Failed
#13 262.7 -- Performing Test COMPILER_RT_HAS_WD4221_FLAG
#13 262.7 -- Performing Test COMPILER_RT_HAS_WD4221_FLAG - Failed
#13 262.7 -- Performing Test COMPILER_RT_HAS_WD4391_FLAG
#13 262.8 -- Performing Test COMPILER_RT_HAS_WD4391_FLAG - Failed
#13 262.8 -- Performing Test COMPILER_RT_HAS_WD4722_FLAG
#13 262.9 -- Performing Test COMPILER_RT_HAS_WD4722_FLAG - Failed
#13 262.9 -- Performing Test COMPILER_RT_HAS_WD4800_FLAG
#13 262.9 -- Performing Test COMPILER_RT_HAS_WD4800_FLAG - Failed
#13 262.9 -- Looking for __func__
#13 263.1 -- Looking for __func__ - found
#13 263.1 -- Looking for include file sys/auxv.h
#13 263.2 -- Looking for include file sys/auxv.h - not found
#13 263.2 -- Looking for dlopen in dl
#13 263.3 -- Looking for dlopen in dl - found
#13 263.3 -- Looking for shm_open in rt
#13 263.5 -- Looking for shm_open in rt - not found
#13 263.5 -- Looking for pow in m
#13 263.6 -- Looking for pow in m - found
#13 263.6 -- Looking for pthread_create in pthread
#13 263.7 -- Looking for pthread_create in pthread - found
#13 263.7 -- Looking for backtrace in execinfo
#13 263.9 -- Looking for backtrace in execinfo - not found
#13 263.9 -- Looking for setupterm in terminfo
#13 264.0 -- Looking for setupterm in terminfo - not found
#13 264.0 -- Looking for setupterm in tinfo
#13 264.1 -- Looking for setupterm in tinfo - not found
#13 264.1 -- Looking for setupterm in curses
#13 264.3 -- Looking for setupterm in curses - found
#13 264.3 -- Looking for __cxa_throw in c++
#13 264.4 -- Looking for __cxa_throw in c++ - found
#13 264.4 -- Looking for __cxa_throw in stdc++
#13 264.5 -- Looking for __cxa_throw in stdc++ - found
#13 264.5 -- Performing Test COMPILER_RT_HAS_Z_TEXT
#13 264.7 -- Performing Test COMPILER_RT_HAS_Z_TEXT - Failed
#13 264.7 -- Performing Test COMPILER_RT_HAS_FUSE_LD_LLD_FLAG
#13 264.8 -- Performing Test COMPILER_RT_HAS_FUSE_LD_LLD_FLAG - Failed
#13 264.8 -- Checking DARWIN_macosx_SYSROOT - '/usr/osxcross/target/bin/../SDK/MacOSX10.13.sdk'
#13 264.8 -- Checking DARWIN_iphonesimulator_SYSROOT - ''
#13 264.8 -- Checking DARWIN_iphoneos_SYSROOT - ''
#13 264.8 -- Checking DARWIN_watchsimulator_SYSROOT - ''
#13 264.8 -- Checking DARWIN_watchos_SYSROOT - ''
#13 264.8 -- Checking DARWIN_appletvsimulator_SYSROOT - ''
#13 264.8 -- Checking DARWIN_appletvos_SYSROOT - ''
#13 264.8 -- Performing Test COMPILER_RT_HAS_APP_EXTENSION
#13 265.0 -- Performing Test COMPILER_RT_HAS_APP_EXTENSION - Success
#13 265.0 -- Got ld supported ARCHES: armv6 armv7 armv7s arm64 arm64e arm64_32 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em (tvOS)
#13 265.0 -- Toolchain supported arches: armv6;armv7;armv7s;arm64;arm64e;arm64_32;i386;x86_64;x86_64h;armv6m;armv7k;armv7m;armv7em;(tvOS)
#13 265.0 -- Finding valid architectures for osx...
#13 265.5 -- OSX supported arches:
#13 265.5 -- Compiler-RT supported architectures:
#13 265.5 -- Performing Test COMPILER_RT_HAS_VISIBILITY_HIDDEN_FLAG
#13 265.5 -- Performing Test COMPILER_RT_HAS_VISIBILITY_HIDDEN_FLAG - Success
#13 265.5 -- Performing Test COMPILER_RT_HAS_OMIT_FRAME_POINTER_FLAG
#13 265.6 -- Performing Test COMPILER_RT_HAS_OMIT_FRAME_POINTER_FLAG - Success
#13 265.6 -- Performing Test COMPILER_RT_HAS_FREESTANDING_FLAG
#13 265.6 -- Performing Test COMPILER_RT_HAS_FREESTANDING_FLAG - Success
#13 265.6 -- Performing Test COMPILER_RT_HAS_XRAY_COMPILER_FLAG
#13 265.7 -- Performing Test COMPILER_RT_HAS_XRAY_COMPILER_FLAG - Success
#13 265.7 -- Performing Test COMPILER_RT_HAS_ATOMIC_KEYWORD
#13 265.7 -- Performing Test COMPILER_RT_HAS_ATOMIC_KEYWORD - Success
#13 265.7 -- Checking DARWIN_iphonesimulator_SYSROOT - ''
#13 265.7 -- Checking DARWIN_iphoneos_SYSROOT - ''
#13 265.7 -- Checking DARWIN_watchsimulator_SYSROOT - ''
#13 265.7 -- Checking DARWIN_watchos_SYSROOT - ''
#13 265.7 -- Checking DARWIN_appletvsimulator_SYSROOT - ''
#13 265.8 -- Checking DARWIN_appletvos_SYSROOT - ''
#13 265.8 -- No arm64 support in /usr/osxcross/target/bin/../SDK/MacOSX10.13.sdk/SDKSettings.plist
#13 265.8 -- No arm64e support in /usr/osxcross/target/bin/../SDK/MacOSX10.13.sdk/SDKSettings.plist
#13 265.8 -- OSX supported builtin arches:
#13 265.8 -- Builtin supported architectures:
#13 265.8 CMake Warning at cmake/Modules/CompilerRTDarwinUtils.cmake:343 (message):
#13 265.8   Not generating lipo target for clang_rt.cc_kext because no input libraries
#13 265.8   exist.
#13 265.8 Call Stack (most recent call first):
#13 265.8   cmake/Modules/CompilerRTDarwinUtils.cmake:443 (darwin_lipo_libs)
#13 265.8   lib/builtins/CMakeLists.txt:583 (darwin_add_builtin_libraries)
#13 265.8
#13 265.8
#13 265.8 CMake Warning at cmake/Modules/CompilerRTDarwinUtils.cmake:343 (message):
#13 265.8   Not generating lipo target for clang_rt.osx because no input libraries
#13 265.8   exist.
#13 265.8 Call Stack (most recent call first):
#13 265.8   cmake/Modules/CompilerRTDarwinUtils.cmake:455 (darwin_lipo_libs)
#13 265.8   lib/builtins/CMakeLists.txt:583 (darwin_add_builtin_libraries)
#13 265.8
#13 265.8
#13 265.8 -- Configuring done
#13 265.8 -- Generating done
#13 265.8 -- Build files have been written to: /usr/osxcross/build/compiler-rt/compiler-rt/build
#13 265.9 Scanning dependencies of target builtins
#13 265.9 Scanning dependencies of target compiler-rt-headers
#13 265.9 [  5%] Built target builtins
#13 265.9 [  5%] Copying compiler-rt's sanitizer/allocator_interface.h...
#13 265.9 [ 10%] Copying compiler-rt's sanitizer/asan_interface.h...
#13 265.9 [ 15%] Copying compiler-rt's sanitizer/common_interface_defs.h...
#13 265.9 [ 21%] Copying compiler-rt's sanitizer/coverage_interface.h...
#13 265.9 [ 26%] Copying compiler-rt's sanitizer/dfsan_interface.h...
#13 265.9 [ 31%] Copying compiler-rt's sanitizer/hwasan_interface.h...
#13 265.9 [ 36%] Copying compiler-rt's sanitizer/linux_syscall_hooks.h...
#13 266.0 [ 42%] Copying compiler-rt's sanitizer/lsan_interface.h...
#13 266.0 [ 47%] Copying compiler-rt's sanitizer/msan_interface.h...
#13 266.0 [ 52%] Copying compiler-rt's sanitizer/netbsd_syscall_hooks.h...
#13 266.0 [ 57%] Copying compiler-rt's sanitizer/scudo_interface.h...
#13 266.0 [ 63%] Copying compiler-rt's sanitizer/tsan_interface.h...
#13 266.0 [ 68%] Copying compiler-rt's sanitizer/tsan_interface_atomic.h...
#13 266.0 [ 73%] Copying compiler-rt's sanitizer/ubsan_interface.h...
#13 266.0 [ 78%] Copying compiler-rt's fuzzer/FuzzedDataProvider.h...
#13 266.1 [ 84%] Copying compiler-rt's xray/xray_interface.h...
#13 266.1 [ 89%] Copying compiler-rt's xray/xray_log_interface.h...
#13 266.1 [ 94%] Copying compiler-rt's xray/xray_records.h...
#13 266.1 [100%] Copying compiler-rt's profile/InstrProfData.inc...
#13 266.1 [100%] Built target compiler-rt-headers
#13 266.1 Scanning dependencies of target compiler-rt
#13 266.2 [100%] Built target compiler-rt
#13 266.2
#13 266.2
#13 266.2
#13 266.2 Installing compiler-rt headers and libraries to the following paths:
#13 266.2   /usr/lib/llvm-11/lib/clang/11.0.1/include
#13 266.2   /usr/lib/llvm-11/lib/clang/11.0.1/lib/darwin
#13 266.2
#13 266.2 '/usr/osxcross/build/compiler-rt/compiler-rt/include/sanitizer/asan_interface.h' -> '/usr/lib/llvm-11/lib/clang/11.0.1/include/sanitizer/asan_interface.h'
#13 266.2 '/usr/osxcross/build/compiler-rt/compiler-rt/include/sanitizer/common_interface_defs.h' -> '/usr/lib/llvm-11/lib/clang/11.0.1/include/sanitizer/common_interface_defs.h'
#13 266.2 '/usr/osxcross/build/compiler-rt/compiler-rt/include/sanitizer/dfsan_interface.h' -> '/usr/lib/llvm-11/lib/clang/11.0.1/include/sanitizer/dfsan_interface.h'
#13 266.2 '/usr/osxcross/build/compiler-rt/compiler-rt/include/sanitizer/hwasan_interface.h' -> '/usr/lib/llvm-11/lib/clang/11.0.1/include/sanitizer/hwasan_interface.h'
#13 266.2 '/usr/osxcross/build/compiler-rt/compiler-rt/include/sanitizer/linux_syscall_hooks.h' -> '/usr/lib/llvm-11/lib/clang/11.0.1/include/sanitizer/linux_syscall_hooks.h'
#13 266.2 '/usr/osxcross/build/compiler-rt/compiler-rt/include/sanitizer/msan_interface.h' -> '/usr/lib/llvm-11/lib/clang/11.0.1/include/sanitizer/msan_interface.h'
#13 266.2 '/usr/osxcross/build/compiler-rt/compiler-rt/include/sanitizer/netbsd_syscall_hooks.h' -> '/usr/lib/llvm-11/lib/clang/11.0.1/include/sanitizer/netbsd_syscall_hooks.h'
#13 266.2 '/usr/osxcross/build/compiler-rt/compiler-rt/include/sanitizer/tsan_interface.h' -> '/usr/lib/llvm-11/lib/clang/11.0.1/include/sanitizer/tsan_interface.h'
#13 266.2 '/usr/osxcross/build/compiler-rt/compiler-rt/include/sanitizer/tsan_interface_atomic.h' -> '/usr/lib/llvm-11/lib/clang/11.0.1/include/sanitizer/tsan_interface_atomic.h'
#13 266.2 '/usr/osxcross/build/compiler-rt/compiler-rt/include/sanitizer/allocator_interface.h' -> '/usr/lib/llvm-11/lib/clang/11.0.1/include/sanitizer/allocator_interface.h'
#13 266.2 '/usr/osxcross/build/compiler-rt/compiler-rt/include/sanitizer/coverage_interface.h' -> '/usr/lib/llvm-11/lib/clang/11.0.1/include/sanitizer/coverage_interface.h'
#13 266.2 '/usr/osxcross/build/compiler-rt/compiler-rt/include/sanitizer/lsan_interface.h' -> '/usr/lib/llvm-11/lib/clang/11.0.1/include/sanitizer/lsan_interface.h'
#13 266.2 '/usr/osxcross/build/compiler-rt/compiler-rt/include/sanitizer/scudo_interface.h' -> '/usr/lib/llvm-11/lib/clang/11.0.1/include/sanitizer/scudo_interface.h'
#13 266.2 '/usr/osxcross/build/compiler-rt/compiler-rt/include/sanitizer/ubsan_interface.h' -> '/usr/lib/llvm-11/lib/clang/11.0.1/include/sanitizer/ubsan_interface.h'
#13 266.2 cp: cannot stat '/usr/osxcross/build/compiler-rt/compiler-rt/build/lib/darwin/*.a': No such file or directory

using e59a634 as the osxcross version.

tpoechtrager commented 2 years ago

What OS are you using?

depili commented 2 years ago

I have been using Catalina with command line tools installed to create the SDK tarballs and debian bullseye container for building the toolchain.

Did extra digging around and it seems my problems are caused by some errors in the SDK tarball generation, as I couldn't get any self-generated SDK tarball working, but packages from other sources work...

Gcenx commented 2 years ago

Don’t generate the SDK package using the command line tools (even if you’ve installed Xcode 9 command line tools), you’ll be wanting to generate the SDK using Xcode9.4.1.

Prior versions of Xcode/Command Line Tools 9 were buggy.