Displaying 4 results from an estimated 4 matches for "dlibcxx_use_compiler_rt".
2018 May 06
2
Cannot compile LLVM suite with clang+lld
..._LLD
-DCMAKE_C_COMPILER=clang
-DCMAKE_CXX_COMPILER=clang++
-DCMAKE_LINKER=lld
-DCMAKE_LINK_EXECUTABLE="/usr/bin/ld.lld"
-DCMAKE_AR="/usr/bin/llvm-ar"
-DCMAKE_AS="/usr/bin/llvm-as"
-DCLANG_DEFAULT_LINKER=lld
-DCLANG_DEFAULT_RTLIB=compiler-rt
-DCLANG_ENABLE_BOOTSTRAP=ON
-DLIBCXX_USE_COMPILER_RT=ON
-DLIBCXXABI_USE_COMPILER_RT=ON
-DLLVM_ENABLE_LLD=ON
-DLLVM_ENABLE_LIBCXX=ON
However, the build fails with (many of those error messages):
[1274/2712] Linking CXX shared library lib/libc++abi.so.1.0
FAILED: lib/libc++abi.so.1.
/usr/bin/ld.lld: error: undefined symbol: _Unwind_Resume
>>>...
2018 May 06
0
Cannot compile LLVM suite with clang+lld
...X_COMPILER=clang++
> -DCMAKE_LINKER=lld
> -DCMAKE_LINK_EXECUTABLE="/usr/bin/ld.lld"
> -DCMAKE_AR="/usr/bin/llvm-ar"
> -DCMAKE_AS="/usr/bin/llvm-as"
> -DCLANG_DEFAULT_LINKER=lld
> -DCLANG_DEFAULT_RTLIB=compiler-rt
> -DCLANG_ENABLE_BOOTSTRAP=ON
> -DLIBCXX_USE_COMPILER_RT=ON
> -DLIBCXXABI_USE_COMPILER_RT=ON
> -DLLVM_ENABLE_LLD=ON
> -DLLVM_ENABLE_LIBCXX=ON
>
> However, the build fails with (many of those error messages):
>
> [1274/2712] Linking CXX shared library lib/libc++abi.so.1.0
> FAILED: lib/libc++abi.so.1.
> /usr/bin/ld.lld: error: u...
2019 Sep 20
2
Building LLVM with LLVM with no dependence on GCC
...o:
=== snip ===
cmake \
-DLLVM_ENABLE_FFI=ON \
-DCMAKE_BUILD_TYPE=Release \
-DLLVM_ENABLE_RTTI=ON \
-DLLVM_TARGETS_TO_BUILD="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...
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