search for: dlibcxxabi_use_llvm_unwinder

Displaying 13 results from an estimated 13 matches for "dlibcxxabi_use_llvm_unwinder".

2014 Oct 20
2
[LLVMdev] Lib C++ buildbot problem
Folks, I'm trying to set up a libc++ buildbot on ARM and I found an inconsistency which I'm not sure how to fix. I got a build error like this: libc++abi.so: undefined reference to `_Unwind_GetGR' Since I expected that the symbol would be provided by that library, I searched the CMake on libc++abi and found this: option(LIBCXXABI_USE_LLVM_UNWINDER "Build and use the LLVM
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 try to compile LLVM, clang, lld an...
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++
2014 Oct 20
2
[LLVMdev] Lib C++ buildbot problem
...unwinder." > OFF) > > ... > > if (LIBCXXABI_USE_LLVM_UNWINDER) > > add_subdirectory(src/Unwind) > > endif() > > > > But on the Libc++AndAbiBuilder, there's no way to set the CMake > > argument (or is there?): > I *think* you can add "-DLIBCXXABI_USE_LLVM_UNWINDER" to the env argument > and > get what you want, but Dan will have to correct me on that... > > > > def getLibcxxAndAbiBuilder(f=None, env={}, additional_features=set()): > > > > "additional_features" seem to imply only lit test args, not anything > el...
2018 Sep 10
2
OpenJDK8 failed to work after compiled by LLVM 8 for X86
...I_INCLUDE_DIR=$(pkg-config --variable=includedir libffi) \     -DFFI_LIBRARY_DIR:PATH="$(pkg-config --variable=libdir libffi)" \     -DLLVM_BINUTILS_INCDIR=/usr/include \     -DLLVM_LIBDIR_SUFFIX=64 \     -DLIBCXX_ENABLE_ABI_LINKER_SCRIPT=ON \     -DLIBUNWIND_ENABLE_SHARED=ON \     -DLIBCXXABI_USE_LLVM_UNWINDER=ON \     -DLLDB_TEST_C_COMPILER=clang \     -DLLDB_TEST_CXX_COMPILER=clang++ \     -DLLVM_DEFAULT_TARGET_TRIPLE="x86_64-redhat-linux" \     -DCLANG_VENDOR="LLVM China" 4. $ clang -v LLVM China clang version 8.0.0 (git at github.com:llvm-mirror/clang.git 81ef98628ebf5186d74...
2018 Sep 11
3
OpenJDK8 failed to work after compiled by LLVM 8 for X86
...i) \ >> -DFFI_LIBRARY_DIR:PATH="$(pkg-config --variable=libdir libffi)" \ >> -DLLVM_BINUTILS_INCDIR=/usr/include \ >> -DLLVM_LIBDIR_SUFFIX=64 \ >> -DLIBCXX_ENABLE_ABI_LINKER_SCRIPT=ON \ >> -DLIBUNWIND_ENABLE_SHARED=ON \ >> -DLIBCXXABI_USE_LLVM_UNWINDER=ON \ >> -DLLDB_TEST_C_COMPILER=clang \ >> -DLLDB_TEST_CXX_COMPILER=clang++ \ >> -DLLVM_DEFAULT_TARGET_TRIPLE="x86_64-redhat-linux" \ >> -DCLANG_VENDOR="LLVM China" >> >> 4. $ clang -v >> LLVM China clang version 8.0.0...
2018 Sep 12
2
OpenJDK8 failed to work after compiled by LLVM 8 for X86
...H="$(pkg-config --variable=libdir libffi)" \ >>>> -DLLVM_BINUTILS_INCDIR=/usr/include \ >>>> -DLLVM_LIBDIR_SUFFIX=64 \ >>>> -DLIBCXX_ENABLE_ABI_LINKER_SCRIPT=ON \ >>>> -DLIBUNWIND_ENABLE_SHARED=ON \ >>>> -DLIBCXXABI_USE_LLVM_UNWINDER=ON \ >>>> -DLLDB_TEST_C_COMPILER=clang \ >>>> -DLLDB_TEST_CXX_COMPILER=clang++ \ >>>> -DLLVM_DEFAULT_TARGET_TRIPLE="x86_64-redhat-linux" \ >>>> -DCLANG_VENDOR="LLVM China" >>>> >>>> 4. $...
2018 Feb 06
2
libc++ cross-compile linux-armv7 and math function problems
...rmv7a-plex-linux-gnueabihf-g++ CFLAGS=-fPIC -DPIC -mfloat-abi=hard -march=armv7-a -Os -mfpu=vfpv3-d16 --sysroot=<path> CXXFLAGS=-fPIC -DPIC -mfloat-abi=hard -march=armv7-a -Os -mfpu=vfpv3-d16 --sysroot=<path> LDFLAGS=-static-libgcc --sysroot=<path> then run cmake: cmake -GNinja -DLIBCXXABI_USE_LLVM_UNWINDER=ON DLLVM_TARGET_ARCH=ARM -DLLVM_DEFAULT_TARGET_TRIPLE=arm-linux-gnueabihf -DLLVM_TARGETS_TO_BUILD=ARM -DCMAKE_CROSSCOMPILING=True .. This errors out as shown below. It's like it's missing some definitions of different math functions that I can't seem to be able to see anywhere else. Is...
2018 Feb 06
0
libc++ cross-compile linux-armv7 and math function problems
...CFLAGS=-fPIC -DPIC -mfloat-abi=hard -march=armv7-a -Os -mfpu=vfpv3-d16 --sysroot=<path> > CXXFLAGS=-fPIC -DPIC -mfloat-abi=hard -march=armv7-a -Os -mfpu=vfpv3-d16 --sysroot=<path> > LDFLAGS=-static-libgcc --sysroot=<path> > > then run cmake: > > cmake -GNinja -DLIBCXXABI_USE_LLVM_UNWINDER=ON DLLVM_TARGET_ARCH=ARM -DLLVM_DEFAULT_TARGET_TRIPLE=arm-linux-gnueabihf -DLLVM_TARGETS_TO_BUILD=ARM -DCMAKE_CROSSCOMPILING=True .. > > This errors out as shown below. It's like it's missing some definitions of different math functions that I can't seem to be able to see anywher...
2018 Feb 06
1
libc++ cross-compile linux-armv7 and math function problems
...march=armv7-a -Os -mfpu=vfpv3-d16 > --sysroot=<path> > > CXXFLAGS=-fPIC -DPIC -mfloat-abi=hard -march=armv7-a -Os -mfpu=vfpv3-d16 > --sysroot=<path> > > LDFLAGS=-static-libgcc --sysroot=<path> > > > > then run cmake: > > > > cmake -GNinja -DLIBCXXABI_USE_LLVM_UNWINDER=ON DLLVM_TARGET_ARCH=ARM > -DLLVM_DEFAULT_TARGET_TRIPLE=arm-linux-gnueabihf > -DLLVM_TARGETS_TO_BUILD=ARM -DCMAKE_CROSSCOMPILING=True .. > > > > This errors out as shown below. It's like it's missing some definitions > of different math functions that I can't seem t...
2018 Feb 05
0
Cross-compiling libc++ to linux-armv7hf gives undefined symbols in cmath / math.h
...rmv7a-plex-linux-gnueabihf-g++ CFLAGS=-fPIC -DPIC -mfloat-abi=hard -march=armv7-a -Os -mfpu=vfpv3-d16 --sysroot=<path> CXXFLAGS=-fPIC -DPIC -mfloat-abi=hard -march=armv7-a -Os -mfpu=vfpv3-d16 --sysroot=<path> LDFLAGS=-static-libgcc --sysroot=<path> then run cmake: cmake -GNinja -DLIBCXXABI_USE_LLVM_UNWINDER=ON DLLVM_TARGET_ARCH=ARM -DLLVM_DEFAULT_TARGET_TRIPLE=arm-linux-gnueabihf -DLLVM_TARGETS_TO_BUILD=ARM -DCMAKE_CROSSCOMPILING=True .. This errors out as shown below. It's like it's missing some definitions of different math functions that I can't seem to be able to see anywhere else. Is...
2019 Sep 20
2
Building LLVM with LLVM with no dependence on GCC
..._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 === I'm getting this error: ===...
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