(no subject)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

(no subject)

Manas via cfe-dev
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?


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)

cfe-dev mailing list
[hidden email]