search for: dcmake_exe_linker_flag

Displaying 20 results from an estimated 38 matches for "dcmake_exe_linker_flag".

2015 Feb 13
2
[LLVMdev] [Compiler-rt] i386 is not supported in compiler-rt build
...checked variables for both the target, which looks fine to me: -- {CAN_TARGET_x86_64}: TRUE -- {CMAKE_BINARY_DIR}: /home/mohit/compiler-rt_build -- {SIMPLE_SOURCE}: /home/mohit/compiler-rt_build/CMakeFiles/simple.cc -- {TARGET_x86_64_CFLAGS}: -m64 -- TARGET_{arch}_OUTPUT: TARGET_x86_64_OUTPUT -- -DCMAKE_EXE_LINKER_FLAGS:STRING={argstring}:-DCMAKE_EXE_LINKER_FLAGS:STRING= -m64 -- {CAN_TARGET_i386}: FALSE -- {CMAKE_BINARY_DIR}: /home/mohit/compiler-rt_build -- {SIMPLE_SOURCE}: /home/mohit/compiler-rt_build/CMakeFiles/simple.cc -- {TARGET_i386_CFLAGS}: -m32 -- TARGET_{arch}_OUTPUT: TARGET_i386_OUTPUT -- -DCMAKE_E...
2017 Aug 19
1
Which is the best compiler to build LLVM 5.0.0 rc2?
..._PREFIX=/home/fletcher/LLVM/llvm-5.0.rc2/local_71 -DCMAKE_C_COMPILER=/opt/gcc-7.1/bin/gcc CMAKE_CXX_COMPILER=/opt/gcc-7.1/bin/g++ -DCMAKE_BUILD_TYPE=Release -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_TARGETS_TO_BUILD="host" -DCMAKE_CXX_FLAGS="-std=c++11 -I/opt/gcc-7.1/include/c++/7.1.0" -DCMAKE_EXE_LINKER_FLAGS="-Xlinker -R/opt/gcc-7.1/lib64 -L/opt/gcc-7.1/lib64" ../llvm First Error: Building CXX object projects/libcxxabi/src/CMakeFiles/cxxabi_objects.dir/cxa_aux_runtime.cpp.o In file included from /home/fletcher/LLVM/llvm-5.0.rc2/llvm/projects/libcxx/include/stdlib.h:94:0, f...
2017 Aug 01
2
ubsan no longer compiles when libc++ is the default
Hi, Trying to compile llvm with the following configuration on Linux x86-64: cmake -G Ninja -DBUILD_SHARED_LIBS=ON \ -DCMAKE_SHARED_LINKER_FLAGS="-fuse-ld=gold" \ -DCMAKE_EXE_LINKER_FLAGS="-fuse-ld=gold"\ -DCMAKE_BUILD_TYPE=RelWithDebInfo ' \ -DCMAKE_C_FLAGS="-O2 -g" \ -DCMAKE_CXX_FLAGS="-O2 -g" \ -DENABLE_LINKER_BUILD_ID=ON \...
2017 Aug 02
2
ubsan no longer compiles when libc++ is the default
...llvm.org> wrote: >> >> Hi, >> >> Trying to compile llvm with the following configuration on Linux x86-64: >> >> cmake -G Ninja -DBUILD_SHARED_LIBS=ON \ >> -DCMAKE_SHARED_LINKER_FLAGS="-fuse-ld=gold" >> \ >> -DCMAKE_EXE_LINKER_FLAGS="-fuse-ld=gold"\ >> -DCMAKE_BUILD_TYPE=RelWithDebInfo ' \ >> -DCMAKE_C_FLAGS="-O2 -g" \ >> -DCMAKE_CXX_FLAGS="-O2 -g" \ >> -DENABLE_LINKER_...
2017 Mar 22
2
Building LLVM on Linux, executing on Windows 10 Linux Subsystem
...ld/linux64 cmake -Wno-dev -G "Unix Makefiles" ../../llvm \ "-DCMAKE_BUILD_TYPE:STRING=Debug" \ "-DCMAKE_INSTALL_PREFIX:STRING=$(CLANG_INSTALL_ROOT)/Debug" \ "-DCMAKE_EXE_EXPORTS_C_FLAG:STRING=" \ "-DCMAKE_EXE_EXPORTS_CXX_FLAG:STRING=" \ "-DCMAKE_EXE_LINKER_FLAGS:STRING=-static-libgcc -static-libstdc++ -static" \ -DLLVM_TARGETS_TO_BUILD="OURTARGET" \ -DLLVM_DEFAULT_TARGET_TRIPLE=ourtarget Only the highlighted options are perhaps unusual as I need to build with statically linked GCC libraries, and the 'DCMAKE_EXE_EXPORTS' flags...
2014 Apr 03
2
[LLVMdev] r204593 breaks Asan tests on FreeBSD
.../usr --enable-language=c,c++ gmake sudo gmake install # these are necessary to pass LLVM :: BugPoint/compile-custom.ll sudo pkg install gcc sudo pkg install python CC=clang CXX=clang++ cmake \ -DCMAKE_CXX_FLAGS="-std=c++11 -stdlib=libc++" \ -DCMAKE_CXX_COMPILER_WORKS=1 \ -DCMAKE_EXE_LINKER_FLAGS="-lcxxrt" \ -DLLVM_CONFIG_TEST_LIBRARIES="cxxrt" \ ../llvm --- Thanks! --
2016 Sep 27
4
(Thin)LTO llvm build
On Tue, Sep 27, 2016 at 6:53 AM, Mehdi Amini <mehdi.amini at apple.com> wrote: > > > > On Sep 27, 2016, at 2:18 AM, Carsten Mattner <carstenmattner at gmail.com> > wrote: > > > >> On Mon, Sep 26, 2016 at 11:02 PM, Teresa Johnson <tejohnson at google.com> > wrote: > >> I'll either need to get a reproducer from you and/or try to repro
2017 Aug 03
2
fatal error: clang/Basic/Version.inc: No such file or directory
...-DCMAKE_C_COMPILER:STRING="/usr/local/gcc-5.3.0/bin/gcc" \ -DCMAKE_C_FLAGS:STRING="-m64 -I/usr/local/valgrind/include" \ -DCMAKE_CXX_COMPILER:STRING="/usr/local/gcc-5.3.0/bin/g++" \ -DCMAKE_CXX_FLAGS:STRING="-m64 -I/usr/local/valgrind/include" \ -DCMAKE_EXE_LINKER_FLAGS:STRING="-m64" \ -DLLVM_LIBDIR_SUFFIX:STRING="64" \ -DLLVM_POLLY_LINK_INTO_TOOLS:BOOL=ON \ -DLIBOMPTARGET_DEP_LIBELF_INCLUDE_DIR:STRING="/usr/local/elfutils-0.169/include" \ -DLIBOMPTARGET_DEP_LIBELF_LIBRARIES:STRING="/usr/local/elfutils-0.169/lib64/libe...
2013 Feb 06
0
[LLVMdev] Sporadic build failure doing 'make -j' from CMake-generated Unix Makefiles in AArch64 backend
...ix makefiles: + (cd "$WORKSPACE/llvm/build" && cmake -G "Unix Makefiles" \ -DCMAKE_C_COMPILER="$TOOLCHAIN/usr/bin/clang" \ -DCMAKE_CXX_COMPILER="$TOOLCHAIN/usr/bin/clang++" \ -DCMAKE_CXX_FLAGS="-stdlib=libc++" \ -DCMAKE_EXE_LINKER_FLAGS="-stdlib=libc++" \ -DCMAKE_SHARED_LINKER_FLAGS="-stdlib=libc++" \ -DCMAKE_INSTALL_PREFIX="$WORKSPACE/llvm/install" \ .. && make -j && make install) # ...normal build output... make[2]: *** No rule to make target `lib/Target/AA...
2016 Oct 04
4
(Thin)LTO llvm build
On Mon, Oct 3, 2016 at 10:54 PM, Teresa Johnson <tejohnson at google.com> wrote: > > Aha - finally reproduced! The difference is using ld.bfd not > ld.gold. With that I get the same failure (using 3.9 to build 3.9 > sources): Thanks a lot! [...] > I am not sure what the official support story is for LLVMgold.so and > ld.bfd. As mentioned earlier, the LLVM site indicates
2017 Jan 19
2
undefined symbols during linking LLDB 4.0 RC1
...clang, lldb, libc++, libc++abi, lld) on CentOS 6 and I got a lot of undefined symbols during linking LLDB. I'm using clang-3.9 and this configuration: -DLLVM_TARGETS_TO_BUILD="X86" -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DCMAKE_EXE_LINKER_FLAGS="-lc++abi -lc++" -DCMAKE_EXE_LINKER_FLAGS="-lc++abi -lc++" -DCMAKE_SHARED_LINKER_FLAGS="-lc++abi -lc++" -DCMAKE_MODULE_LINKER_FLAGS="-lc++abi -lc++" -DLLVM_ENABLE_LIBCXX=ON -DLLVM_LIBDIR_SUFFIX=64 -DCMAKE_INSTALL_PREFIX=/usr -DLLDB_DISABLE_PYTHON=1 -...
2016 Mar 03
2
EH failures in MCJIT
...-gnu-ubuntu-14.04/bin/clang -DCMAKE_CXX_COMPILER=/w/c/clang+llvm-3.7.0-x86_64-linux-gnu-ubuntu-14.04/bin/clang++ -DCMAKE_CXX_FLAGS='-stdlib=libc++' -DCMAKE_BUILD_WITH_INSTALL_RPATH=1 '-DCMAKE_INSTALL_RPATH:STRING=/w/c/clang+llvm-3.7.0-x86_64-linux-gnu-ubuntu-14.04/lib' -DCMAKE_EXE_LINKER_FLAGS='-lc++ -lc++abi' -DCMAKE_SHARED_LINKER_FLAGS='-lc++ -lc++abi' /w/src/llvm.org -Krzysztof On 3/2/2016 6:21 PM, Lang Hames wrote: > Hi Krzysztof, > > If I understand correctly you're building LLVM top-of-tree with 3.7.0? > Or is this a bug in 3.7.0? > &gt...
2016 Sep 27
2
(Thin)LTO llvm build
...BINUTILS=$HOME/binutils/binutils > env DYLD_LIBRARY_PATH=$BUILD_COMPILER/lib/ \ > cmake \ > -G Ninja \ > -DCMAKE_BUILD_TYPE=${type} \ > -DLLVM_BINUTILS_INCDIR=$BINUTILS/include \ [...] > -DCMAKE_C_FLAGS=${cflgs} \ > -DCMAKE_CXX_FLAGS=${cflgs} \ > -DCMAKE_EXE_LINKER_FLAGS=${linkflgs} \ > $SRC Is BUILD_COMPILER/bin the result of a previous non-LTO build of trunk? If any of you have suggestions what to omit from the above flags, I'm open to suggestions. This is the culmination of trying to replicate the previous autoconf flags. It's not an exact mapp...
2014 Apr 10
2
[LLVMdev] CMake configuration: Detecting zlib.h header in windows.
Hi, I have having hard time to let cmake configuration detect the zlib header in windows with "Visual Studio 12" generator. My cmake configuration goes like >> Set path, include and lib environment variables to point to zlib headers and libraries. Cmake version is 2.8.12.2 cmake -G "Visual Studio 12" -D LLVM_TARGETS_TO_BUILD:STRING=%TARG% -D
2015 Jul 22
3
[LLVMdev] build llvm on CentOS
Hi there, I was trying to build llvm on CentOS. The problem is that library on CentOS is always so old (Gcc, python). I managed to install local gcc and let cmake know. But I couldn't do so with python. I end up comment out the check in CMakeList.txt which is not good. I was wondering if anyone has experience building llvm (using cmake) using a local python? Thanks, XIaochu --------------
2019 Sep 25
2
Help with RISCV and QEMU in llvm testsuite lit testing
...rce C Regression folder. The steps that i took are : ]$ cmake -DCMAKE_C_COMPILER=/opt/riscv-tools/bin/clang -DCMAKE_C_FLAGS="--target=riscv32 -march=rv32i -mabi=ilp32" -DCMAKE_CXX_COMPILER=/opt/riscv-tools/bin/clang -DCMAKE_CXX_FLAGS="--target=riscv32 -march=rv32i -mabi=ilp32" -DCMAKE_EXE_LINKER_FLAGS="-lm" -DTEST_SUITE_RUN_UNDER=/opt/qemu/bin/qemu-riscv32 -DTEST_SUITE_COLLECT_STATS=OFF -DTEST_SUITE_USER_MODE_EMULATION=ON -DTEST_SUITE_USE_PERF=ON -DARCH="riscv" -DTEST_SUITE_SUBDIRS="SingleSource/Regression/C" -C../llvm-test-suite/cmake/caches/O3.cmake ../llvm-test-...
2014 Apr 01
2
[LLVMdev] r204593 breaks Asan tests on FreeBSD
On Tue, Apr 1, 2014 at 1:23 PM, Ivan A. Kosarev <ivan at ivan-labs.com> wrote: > Hi Alexey, > > > On 03/31/2014 09:58 PM, Alexey Samsonov wrote: > > On FreeBSD 9.2 I add a couple custom options to CMAKE_CXX_FLAGS in order > to let clang know which header set it should use, like that: > >> >>> CC=clang CXX=clang++ cmake \ >>>
2016 Oct 04
0
(Thin)LTO llvm build
On Tue, Oct 4, 2016 at 10:15 AM, Carsten Mattner <carstenmattner at gmail.com> wrote: > On Tue, Oct 4, 2016 at 2:22 AM, Xinliang David Li <xinliangli at gmail.com> > wrote: > > For clang build, cmake flags: > > > > -DCMAKE_EXE_LINKER_FLAGS=-fuse-ld=gold \ > > -DCMAKE_MODULE_LINKER_FLAGS=-fuse-ld=gold \ > > -DCMAKE_SHARED_LINKER_FLAGS=-fuse-ld=gold \ > > Thanks, this didn't break the cmake run. > > I've been successfully using LDFLAGS, CXXFLAGS, CPPFLAGS, CFLAGS. > It works, but now I wonder if it...
2020 Sep 14
2
Cross compiling for ARMv7-m
Hi Peter, On Wed, 26 Feb 2020 at 18:37, Peter Smith via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > Hello Arslan, > > > I am guessing I can borrow libraries such as lc and lm from GCC > > arm-none-eabi*, but for clang_rt.builtins-arm.a (which I thought > > should've been built with LLVM build but I couldn't find that library > > in my build
2020 Jun 09
2
Cross compile x64 to AArch64 issues
Hi, I am trying to cross compile release-10.x to AArch64 (target=aarch64-linux-gnu), and the directions listed at [1] are not completing the initial cmake step. I'm currently running Manjaro, with the aarch64-linux-gnu package (and associated binutils, headers, and glibc packages). My cmake command is cmake -DCMAKE_CROSSCOMPILING=True -DCMAKE_INSTALL_PREFIX=`realpath install`