<div dir="ltr"><div class="gmail_default" style="font-family:courier new,monospace;font-size:large">Hi all,</div><div class="gmail_default" style="font-family:courier new,monospace;font-size:large"><br></div><div class="gmail_default" style="font-family:courier new,monospace;font-size:large">I'm trying to compile llvm and clang on a Mac mini (Mid 2011) with High Sierra (10.13.6)</div><div class="gmail_default" style="font-family:courier new,monospace;font-size:large"><br></div><div class="gmail_default" style="font-family:courier new,monospace;font-size:large">This now fails when it comes to compiler-rt with a bunch of errors like:<br></div><div class="gmail_default" style="font-family:courier new,monospace;font-size:large"><br></div><div class="gmail_default" style="font-family:courier new,monospace;font-size:large">projects/compiler-rt/lib/builtins/outline_atomic_helpers.dir/outline_atomic_swp8_4.S:175.9: error: unknown directive</div><div class="gmail_default" style="font-family:courier new,monospace;font-size:large">        .inst 0x38208020 + 0xc0000000 + 0xc00000<br></div><div class="gmail_default" style="font-family:courier new,monospace;font-size:large">        ^<br></div><div class="gmail_default" style="font-family:courier new,monospace;font-size:large"><br></div><div class="gmail_default" style="font-family:courier new,monospace;font-size:large">The CMake command was</div><div class="gmail_default" style="font-family:courier new,monospace;font-size:large"><br></div><div class="gmail_default" style="font-family:courier new,monospace;font-size:large">cmake -G Ninja -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra;compiler-rt;lld" -DLLVM_TARGETS_TO_BUILD=x86 -dCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=On ../llvm<br></div><div class="gmail_default" style="font-family:courier new,monospace;font-size:large"><br></div><div class="gmail_default" style="font-family:courier new,monospace;font-size:large">/usr/bin/xcodebuild -version</div><div class="gmail_default" style="font-family:courier new,monospace;font-size:large">Xcode 10.1</div><div class="gmail_default" style="font-family:courier new,monospace;font-size:large">Build version 10B61</div><div class="gmail_default" style="font-family:courier new,monospace;font-size:large"><br></div><div class="gmail_default" style="font-family:courier new,monospace;font-size:large">/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -v</div><div class="gmail_default" style="font-family:courier new,monospace;font-size:large">APPLE LLVM version 10.0.0 (clang-1000.11.45.5)</div><div class="gmail_default" style="font-family:courier new,monospace;font-size:large">Target: x86_64-apple-darwin17.7.0</div><div class="gmail_default" style="font-family:courier new,monospace;font-size:large">Thread model: posix<br clear="all"></div><br><div style="font-family:courier new,monospace;font-size:large" class="gmail_default">Has anybody encountered anything similar? Am I doing something wrong?<br></div><br><div style="font-family:courier new,monospace;font-size:large" class="gmail_default">Csaba</div><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">You can get very substantial performance improvements<br>by not doing the right thing. - Scott Meyers, An Effective C++11/14 Sampler<br>So if you're looking for a completely portable, 100% standards-conformant way<br>to get the wrong information: this is what you want. - Scott Meyers (C++TDaWYK)</div></div>