Displaying 7 results from an estimated 7 matches for "dlibcxx_cxx_abi".
2019 Apr 13
2
Failed to replace stdlibc++ with libc++, linker phase error
...libstdc++?
>
> Can you post the full linker invocation with all the arguments?
>
> What cmake arguments did you use when building libcxx and libcxxabi?
>
>> 2. How can we resolve this error? (any ideas would be appreciated!)
>
> Not sure exactly, I would try passing -DLIBCXX_CXX_ABI=libcxxabi to cmake
> when configuring libcxx if you have not already.
>
If you are looking for a quick fix though, you might want to also try adding
-lc++abi to your linker flags.
-Tom
>> 3. Is there anything missing if we'd like to replace stdlibc++ with libc++?
>> 4. I a...
2019 Apr 12
2
Failed to replace stdlibc++ with libc++, linker phase error
Hi,
I'm currently working on one of my team's project to build LLVM full clang
toolchain (Clang, libcxx, libcxxabi) on a CentOS machine.
Previously we compiled our codebase with llvm-toolset-7/clang++, which by
default takes stdlibc++ to compile and link. And now we'd like to switch to
use LLVM clang with libc++. I have built libc++ and libc++abi from source
(5.0.1 release) and set
2015 Mar 09
5
[LLVMdev] Build failure with compiler-rt on trunk under linux
..."<stdin>" 2
ls -alh /usr/include/x86_64-linux-gnu/asm/socket.h
-rw-r--r-- 1 root root 32 Mar 3 03:16
/usr/include/x86_64-linux-gnu/asm/socket.h
This is my configure line: cmake -GNinja -DCMAKE_C_COMPILER=clang-3.6
-DCMAKE_CXX_COMPILER=clang++-3.6 -DCMAKE_BUILD_TYPE=Release
-DLIBCXX_CXX_ABI=libcxxabi
-DLIBCXX_LIBCXXABI_INCLUDE_PATHS=../../llvm/projects/libcxxabi/include
-DLIT_EXECUTABLE=../../llvm/utils/lit/lit.py ../../llvm/
This has only been a problem with trunk since a little after it was
switched to 3.7.
Thanks in advance for any ideas.
Ben
2015 Jul 08
2
[LLVMdev] Building clang + libc++ + libc++abi
[Sorry about the crosspost. Since this is a clang build question but
the build is invoked from the top-level LLVM directory I'm not sure
where the question should go.]
I've got a clang build against libstdc++ on Linux but I would really
like one built against libc++/libc++abi. In other words I'd like to
rebuild clang/llvm with clang using libc++ and libc++abi on Linux.
I looked at
2015 Jul 08
2
[LLVMdev] [cfe-dev] Building clang + libc++ + libc++abi
...=/opt/python/2.7.9/bin/python2.7
> -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/opt/clang/dev
> -DLLVM_APPEND_VC_REV=ON -DLLVM_ENABLE_CXX1Y=ON -DLLVM_ENABLE_ASSERTIONS=ON
> -DLLVM_PARALLEL_COMPILE_JOBS=32 -DLLVM_PARALLEL_LINK_JOBS=32
> -DLLVM_BUILD_DOCS=ON -DCLANG_INCLUDE_DOCS=ON -DLIBCXX_CXX_ABI=libcxxabi
> -DLIBCXX_CXX_ABI_INCLUDE_PATHS="/path/to/llvm/projects/libcxxabi/include"
> /path/to/llvm
>
> This gets me a bit further but I am stuck here:
>
> Linking CXX shared library ../../../../lib/libclang.so
> cd /ptmp/dag/build/clang/tools/clang/tools/libclang &...
2019 Sep 20
2
Building LLVM with LLVM with no dependence on GCC
...to build LLVM with LLVM like so:
=== 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-...
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