search for: dcompiler_rt_build_builtin

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

2016 May 17
2
llvm-toolchain-3.8 on lower arm targets, specifically Debian armel and Raspbian.
On 17/05/16 22:38, Tim Northover wrote: > Compiler-rt is the equivalent of libgcc, and Clang can use the > existing host's libgcc quite happily so it's really not that important > unless you're trying to build a GNU-free environment for whatever > reason. > Thanks Can you tell me how I would go about telling the cmake buildsystem (which is what the Debian packaging
2016 Oct 04
3
llvm-toolchain-3.8 on lower arm targets
...downloading compiler-rt or removing it from the > projects/ directory before running CMake. The build should carry on > quite happily without it. > > If you do need the sanitizers from compiler-rt, you can disable the > bits that are causing problems right now with "cmake > -DCOMPILER_RT_BUILD_BUILTINS=OFF<other options>". Of course, the > sanitizers themselves may suffer from similar issues -- you just won't > know until you get there. > Thanks, -DCOMPILER_RT_BUILD_BUILTINS=OFF did the trick and I got a > successful build for raspbian that passed my armv7 contaminatio...
2018 Mar 17
0
Building issue at configure step on ARM host (AddLLVM.cmake)
...ILER_TARGET=arm-linux-gnueabi -DPYTHON_EXECUTABLE=/usr/bin/python2.7 -DLLVM_ENABLE_LIBCXX=OFF -DLLVM_BUILD_TESTS=ON -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON -DLLVM_ENABLE_RTTI=ON -DLLVM_ENABLE_FFI=ON -DLLVM_ENABLE_ASSERTIONS=True -DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON -DCOMPILER_RT_BUILD_BUILTINS=ON -DCOMPILER_RT_BUILD_SANITIZERS=OFF -DCOMPILER_RT_BUILD_XRAY=OFF And I got the following error : -- Performing Test CXX_SUPPORTS_NO_MACRO_REDEFINED - Success -- Symbols (liblldb): exporting all symbols from the lldb namespace -- Configuring done CMake Error at cmake/modules/AddLLVM.cmake:1...
2019 Mar 25
3
Trying to create a pure LLVM toolchain on musl based distribution
...-DBUILD_SHARED_LIBS=On -DCMAKE_INSTALL_PREFIX=/usr -DLLVM_HOST_TRIPLE=x86_64-linux-musl -DLLVM_ENABLE_RTTI=On # compiler-rt I've needed to disable xray/sanitizers otherwise it didn't build on musl. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCOMPILER_RT_BUILD_BUILTINS=On -DCOMPILER_RT_BUILD_SANITIZERS=Off -DCOMPILER_RT_BUILD_XRAY=Off -DCOMPILER_RT_USE_BUILTINS_LIBRARY=On # libc++ -DBUILD_SHARED_LIBS=On -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DLIBCXX_HAS_MUSL_LIBC=On -DLIBCXX_HAS_GCC_S_LIB=Off -DLIBC...
2020 Oct 22
0
[cfe-dev] AddressSanitizer
Hi Vitaly, This is the CMake command line I used: cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$HOME/stage2 \ -DCMAKE_C_COMPILER=$HOME/stage1/bin/clang \ -DCMAKE_CXX_COMPILER=$HOME/stage1/bin/clang++ \ -DCOMPILER_RT_BUILD_BUILTINS=off -DCOMPILER_RT_BUILD_PROFILE=on \ -DCOMPILER_RT_BUILD_SANITIZERS=on -DCOMPILER_RT_BUILD_XRAY=off \ -DLLVM_ENABLE_PROJECTS="clang;compiler-rt;lld;openmp" \ -DLLVM_ENABLE_ASSERTIONS=on -DLLVM_OPTIMIZED_TABLEGEN=on \ -DLLVM_STATIC_LINK_CXX_STDLIB=on -DLLVM_TARGETS...
2018 Dec 13
2
Compiling for baremetal ARMv4 on Ubuntu Linux
Hello Peter and Lists, thanks a lot, that way it worked out! The final cmake was cmake -G "Ninja" ../llvm/projects/compiler-rt/ -DCOMPILER_RT_BUILD_BUILTINS=ON -DCOMPILER_RT_BUILD_SANITIZERS=OFF -DCOMPILER_RT_BUILD_XRAY=OFF -DCOMPILER_RT_BUILD_LIBFUZZER=OFF -DCOMPILER_RT_BUILD_PROFILE=OFF -DCMAKE_C_COMPILER=/usr/local/myclang/bin/clang -DCMAKE_AR=/usr/local/myclang/bin/llvm-ar -DCMAKE_NM=/usr/local/myclang/bin/llvm-nm -DCMAKE_RANLIB=/usr/local/m...
2018 Dec 14
3
Compiling for baremetal ARMv4 on Ubuntu Linux
...; On Thu, 13 Dec 2018 at 12:08, Christian Richter > <christian.richter at hsu-hh.de> wrote: > > > > Hello Peter and Lists, > > > > thanks a lot, that way it worked out! The final cmake was > > > > cmake -G "Ninja" ../llvm/projects/compiler-rt/ -DCOMPILER_RT_BUILD_BUILTINS=ON -DCOMPILER_RT_BUILD_SANITIZERS=OFF -DCOMPILER_RT_BUILD_XRAY=OFF -DCOMPILER_RT_BUILD_LIBFUZZER=OFF -DCOMPILER_RT_BUILD_PROFILE=OFF -DCMAKE_C_COMPILER=/usr/local/myclang/bin/clang -DCMAKE_AR=/usr/local/myclang/bin/llvm-ar -DCMAKE_NM=/usr/local/myclang/bin/llvm-nm -DCMAKE_RANLIB=/usr/local/myclang...
2019 Feb 04
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...an Richter > >> <christian.richter at hsu-hh.de> wrote: > >>> Hello Peter and Lists, > >>> > >>> thanks a lot, that way it worked out! The final cmake was > >>> > >>> cmake -G "Ninja" ../llvm/projects/compiler-rt/ -DCOMPILER_RT_BUILD_BUILTINS=ON -DCOMPILER_RT_BUILD_SANITIZERS=OFF -DCOMPILER_RT_BUILD_XRAY=OFF -DCOMPILER_RT_BUILD_LIBFUZZER=OFF -DCOMPILER_RT_BUILD_PROFILE=OFF -DCMAKE_C_COMPILER=/usr/local/myclang/bin/clang -DCMAKE_AR=/usr/local/myclang/bin/llvm-ar -DCMAKE_NM=/usr/local/myclang/bin/llvm-nm -DCMAKE_RANLIB=/usr/local/myclang...
2019 Mar 04
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...-eabi > > Peter > > On Thu, 13 Dec 2018 at 12:08, Christian Richter > <christian.richter at hsu-hh.de> wrote: > > Hello Peter and Lists, > > thanks a lot, that way it worked out! The final cmake was > > cmake -G "Ninja" ../llvm/projects/compiler-rt/ -DCOMPILER_RT_BUILD_BUILTINS=ON -DCOMPILER_RT_BUILD_SANITIZERS=OFF -DCOMPILER_RT_BUILD_XRAY=OFF -DCOMPILER_RT_BUILD_LIBFUZZER=OFF -DCOMPILER_RT_BUILD_PROFILE=OFF -DCMAKE_C_COMPILER=/usr/local/myclang/bin/clang -DCMAKE_AR=/usr/local/myclang/bin/llvm-ar -DCMAKE_NM=/usr/local/myclang/bin/llvm-nm -DCMAKE_RANLIB=/usr/local/myclang...
2018 Dec 10
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...local/myclang/lib, /lib, /usr/lib, /usr/arm-linux-gnueabihf/lib, so no surprised there. Then I added the suggested -DCMAKE_ASM_FLAGS to the cmake for the standalone compiler-rt build while leaving out the --sysroot and --gcc-toolchain: cmake -G "Ninja" ../llvm/projects/compiler-rt/ -DCOMPILER_RT_BUILD_BUILTINS=ON -DCOMPILER_RT_BUILD_SANITIZERS=OFF -DCOMPILER_RT_BUILD_XRAY=OFF -DCOMPILER_RT_BUILD_LIBFUZZER=OFF -DCOMPILER_RT_BUILD_PROFILE=OFF -DCMAKE_C_COMPILER=/usr/local/myclang/bin/clang -DCMAKE_AR=/usr/local/myclang/bin/llvm-ar -DCMAKE_NM=/usr/local/myclang/bin/llvm-nm -DCMAKE_RANLIB=/usr/local/m...
2019 Mar 11
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...-eabi > > Peter > > On Thu, 13 Dec 2018 at 12:08, Christian Richter > <christian.richter at hsu-hh.de> wrote: > > Hello Peter and Lists, > > thanks a lot, that way it worked out! The final cmake was > > cmake -G "Ninja" ../llvm/projects/compiler-rt/ -DCOMPILER_RT_BUILD_BUILTINS=ON -DCOMPILER_RT_BUILD_SANITIZERS=OFF -DCOMPILER_RT_BUILD_XRAY=OFF -DCOMPILER_RT_BUILD_LIBFUZZER=OFF -DCOMPILER_RT_BUILD_PROFILE=OFF -DCMAKE_C_COMPILER=/usr/local/myclang/bin/clang -DCMAKE_AR=/usr/local/myclang/bin/llvm-ar -DCMAKE_NM=/usr/local/myclang/bin/llvm-nm -DCMAKE_RANLIB=/usr/local/myclang...
2018 Dec 07
2
Compiling for baremetal ARMv4 on Ubuntu Linux
Hello, on the problems cross-building compiler-rt: Tried to follow https://llvm.org/docs/HowToCrossCompileBuiltinsOnArm.html which lead to this cmake: cmake -G "Ninja" ../llvm/projects/compiler-rt/ -DCOMPILER_RT_BUILD_BUILTINS=ON -DCOMPILER_RT_BUILD_SANITIZERS=OFF -DCOMPILER_RT_BUILD_XRAY=OFF -DCOMPILER_RT_BUILD_LIBFUZZER=OFF -DCOMPILER_RT_BUILD_PROFILE=OFF -DCMAKE_C_COMPILER=/usr/local/myclang/bin/clang -DCMAKE_AR=/usr/local/myclang/bin/llvm-ar -DCMAKE_NM=/usr/local/myclang/bin/llvm-nm -DCMAKE_RANLIB=/usr/local/m...
2018 Dec 04
2
Compiling for baremetal ARMv4 on Ubuntu Linux
I am currently trying to compile a pretty simple program to work on an experimental board. It contains an (FPGA-version of) an ARMv4 processor. So basically, I try this (on my Ubuntu 18.04.1 LTS): clang -v --target=arm-none-eabi -c barehello.c -o barehelloCLANG.o clang -v --target=arm-none-eabi -c io.c -o io.o clang -v --target=arm-none-eabi barehelloCLANG.o io.o -o helloCLANGstatic -static