[cfe-dev] (no subject)

Csaba Raduly via cfe-dev cfe-dev at lists.llvm.org
Wed Feb 24 03:30:07 PST 2021


Hi all,

I'm trying to compile llvm and clang on a Mac mini (Mid 2011) with High
Sierra (10.13.6)

This now fails when it comes to compiler-rt with a bunch of errors like:

projects/compiler-rt/lib/builtins/outline_atomic_helpers.dir/outline_atomic_swp8_4.S:175.9:
error: unknown directive
        .inst 0x38208020 + 0xc0000000 + 0xc00000
        ^

The CMake command was

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

/usr/bin/xcodebuild -version
Xcode 10.1
Build version 10B61

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-v
APPLE LLVM version 10.0.0 (clang-1000.11.45.5)
Target: x86_64-apple-darwin17.7.0
Thread model: posix

Has anybody encountered anything similar? Am I doing something wrong?

Csaba

-- 
You can get very substantial performance improvements
by not doing the right thing. - Scott Meyers, An Effective C++11/14 Sampler
So if you're looking for a completely portable, 100% standards-conformant
way
to get the wrong information: this is what you want. - Scott Meyers
(C++TDaWYK)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20210224/c373cb4d/attachment-0001.html>


More information about the cfe-dev mailing list