After commit 841dc42 (new architecture handling), my SDK 10.13 builds have started failing. Lots of lines like this during the compiler-rt build where it looks like maybe it's trying to build x86_64 asm for i386 for some reason:
5400.7 [ 16%] Building C object lib/builtins/CMakeFiles/clang_rt.builtins_x86_64h_osx.dir/divsf3.c.o
5400.7 /root/osxcross/build/compiler-rt/compiler-rt/lib/orc/macho_tlv.x86-64.S:20:15: error: register %rbp is only available in 64-bit mode
5400.7 pushq %rbp
5400.7 ^~~~
5400.7 /root/osxcross/build/compiler-rt/compiler-rt/lib/orc/macho_tlv.x86-64.S:21:14: error: register %rsp is only available in 64-bit mode
5400.7 movq %rsp, %rbp
5400.7 ^~~~
5400.7 /root/osxcross/build/compiler-rt/compiler-rt/lib/orc/macho_tlv.x86-64.S:22:20: error: register %rsp is only available in 64-bit mode
5400.7 subq $512, %rsp
5400.7 [ 16%] Building C object lib/builtins/CMakeFiles/clang_rt.builtins_i386_osx.dir/fixsfdi.c.o
5400.7 ^~~~
5400.7 /root/osxcross/build/compiler-rt/compiler-rt/lib/orc/macho_tlv.x86-64.S:23:14: error: register %rbx is only available in 64-bit mode
5400.7 movq %rbx, -8(%rbp)
5400.7 ^~~~
(and many more lines in the same vein)
Using the previous osxcross commit to that everything works fantastically with no changes on my end. I'm building on an x86_64 build box and am not setting ARCHs manually - just letting it build everything it supports for that SDK version which should be x86_64, x86_64h, and i386.
After commit 841dc42 (new architecture handling), my SDK 10.13 builds have started failing. Lots of lines like this during the compiler-rt build where it looks like maybe it's trying to build x86_64 asm for i386 for some reason:
(and many more lines in the same vein)
Using the previous osxcross commit to that everything works fantastically with no changes on my end. I'm building on an x86_64 build box and am not setting ARCHs manually - just letting it build everything it supports for that SDK version which should be x86_64, x86_64h, and i386.