Displaying 5 results from an estimated 5 matches for "dlibunwind_use_compiler_rt".
2018 May 06
0
Cannot compile LLVM suite with clang+lld
You also need -DLIBUNWIND_USE_COMPILER_RT=ON
-DLIBCXXABI_USE_LLVM_UNWINDER=ON. This is because you set
-DLIBCXXABI_USE_COMPILER_RT=ON
so libc++abi.so is no longer being linked agains libgcc_s.so which is where
the unwinder otherwise comes from.
On Sun, May 6, 2018 at 4:05 AM via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> I t...
2018 May 06
2
Cannot compile LLVM suite with clang+lld
I try to compile LLVM, clang, lld and libcxx together in one source
directory following the instructions on the website.
I'm running Arch Linux and already have LLVM, clang, lld and libcxx
installed (prebuilt against libstdc++). Now I want a "pure"
llvm toolchain.
The following options were used:
-DBOOTSTRAP_LLVM_ENABLE_LLD
-DCMAKE_C_COMPILER=clang
-DCMAKE_CXX_COMPILER=clang++
2019 Mar 25
3
Trying to create a pure LLVM toolchain on musl based distribution
...TATIC=Off
# libc++abi
-DBUILD_SHARED_LIBS=On
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_PREFIX=/usr
-DLIBCXXABI_ENABLE_STATIC=Off
# libunwind
-DBUILD_SHARED_LIBS=On
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_PREFIX=/usr
-DLIBUNWIND_ENABLE_STATIC=Off
-DLIBUNWIND_USE_COMPILER_RT=On
# clang
And finally clang:
-DBUILD_SHARED_LIBS=On
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_PREFIX=/usr
-DCLANG_DEFAULT_CXX_STDLIB=libc++
-DCLANG_DEFAULT_LINKER=lld
-DCLANG_DEFAULT_RTLIB=compiler-rt
-DCLANG_VENDOR="Vanilla Linux"
Everything built...
2019 Sep 20
2
Building LLVM with LLVM with no dependence on GCC
...ot;host" \
-DBUILD_SHARED_LIBS=ON \
-DLLVM_ENABLE_PROJECTS="clang;libcxx;libcxxabi;compiler-rt;lld;libunwind" \
-DLIBCXX_CXX_ABI=libcxxabi \
-DLIBCXX_USE_COMPILER_RT=On \
-DLIBCXXABI_USE_LLVM_UNWINDER=On \
-DLIBCXXABI_USE_COMPILER_RT=On \
-DLIBCXX_HAS_GCC_S_LIB=Off \
-DLIBUNWIND_USE_COMPILER_RT=On \
-DCLANG_DEFAULT_CXX_STDLIB=libc++ \
-DCLANG_DEFAULT_RTLIB=compiler-rt \
-DCLANG_DEFAULT_LINKER=lld \
../llvm-project/llvm # configure3.txt
=== snap ===
I'm getting this error:
=== snip ===
[ 40%] Building CXX object projects/libcxx/src/CMakeFiles/cxx_shared.dir/exception.cpp.o
/ho...
2019 Sep 17
2
Building LLVM with LLVM with no dependence on GCC
Hi folks!
I'm trying to get rid of any dependency on libgcc*, but without success so
far. The following commands were executed on a freshliy installed and updated
Ubuntu 16.04 LTS:
=== snip ===
sudo apt-get install build-essential libffi-dev cmake # see aptget.txt for packages installed
sudo mv /usr/local /usr/local.orig
git clone https://github.com/llvm/llvm-project.git
cd llvm-project; git