search for: dllvm_enable_pic

Displaying 17 results from an estimated 17 matches for "dllvm_enable_pic".

2017 Aug 01
2
ubsan no longer compiles when libc++ is the default
...ILD_TYPE=RelWithDebInfo ' \ -DCMAKE_C_FLAGS="-O2 -g" \ -DCMAKE_CXX_FLAGS="-O2 -g" \ -DENABLE_LINKER_BUILD_ID=ON \ -DLLVM_ENABLE_ASSERTIONS=ON \ -DLLVM_ENABLE_PIC=ON \ -DLLVM_BINUTILS_INCDIR=/usr/include \ -DLLVM_TARGETS_TO_BUILD=host \ -DLLVM_TARGET_ARCH=host \ -DLLVM_LIBDIR_SUFFIX=64 \ -DCLANG_DEFAULT_CXX_STDLIB=libc++ \...
2018 Jul 23
2
Requesting for help.
...O_BUILD=ARM -DCMAKE_CXX_FLAGS='-target aarch64-linux-gnu --sysroot=../myOwnToolChainTwo/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/libc --gcc-toolchain=../myOwnToolChainTwo/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/ -mcpu=cortex-a72' -DLLVM_ENABLE_LIBCXX=ON -DLLVM_ENABLE_PIC=False ../llvm/* I hit the error stating that "*error: unable to create target: 'No available targets are compatible with this triple.*'" I am using ARMv8-a as my target which is 64 bit. Can you please let me know whether the target triple I am using is correct? Can you also ple...
2017 Dec 15
2
llvm-config output on MacOS
Hi, I configured and built LLVM as follows on Mac OS 10.13.2: $ pwd <llvm-build-dir> $ cmake -G "Xcode" -DCMAKE_INSTALL_PREFIX=<llvm-install-dir> -DLLVM_ENABLE_PIC=0 <llvm-src-dir>/llvm $ xcodebuild -project LLVM.xcodeproj All binaries are in <llvm-build-dir>/Debug/bin. I am interested in using the output of llvm-config. Now, when I run $ <llvm-build-dir>/Debug/bin/llvm-config --cmakedir <llvm-build-dir>/Debug/lib/cmake/llvm But,...
2017 Aug 02
2
ubsan no longer compiles when libc++ is the default
...-DCMAKE_C_FLAGS="-O2 -g" \ >> -DCMAKE_CXX_FLAGS="-O2 -g" \ >> -DENABLE_LINKER_BUILD_ID=ON \ >> -DLLVM_ENABLE_ASSERTIONS=ON \ >> -DLLVM_ENABLE_PIC=ON \ >> -DLLVM_BINUTILS_INCDIR=/usr/include \ >> -DLLVM_TARGETS_TO_BUILD=host \ >> -DLLVM_TARGET_ARCH=host \ >> -DLLVM_LIBDIR_SUFFIX=64 \ >> -DC...
2016 Feb 15
2
CommandLineParser problems with llvm trunk?
...TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DLLVM_LIBDIR_SUFFIX=64 \ -DCMAKE_C_FLAGS="-fuse-ld=gold -fPIC" \ -DCMAKE_CXX_FLAGS="-fuse-ld=gold -fPIC" \ -DLLVM_REQUIRES_RTTI=ON \ -DLLVM_ENABLE_TIMESTAMPS=OFF \ -DLLVM_ENABLE_ASSERTIONS=ON \ -DLLVM_ENABLE_PIC=ON \ -DLLVM_BINUTILS_INCDIR=/usr/include \ -DLLVM_TARGETS_TO_BUILD=all \ -DCLANG_DEFAULT_CXX_STDLIB=libc++ \ -DLLVM_ENABLE_LIBCXX=ON \ .. Wonder if anyone hit the same problem? Thanks, ismail
2016 Feb 13
2
r260758 broke windows build
...iles (x86)"\CMake\bin\cmake -G "Visual Studio 12" /m -DLLVM_TARGETS_TO_BUILD:STRING=All" "-DLLVM_BUILD_RUNTIME:BOOL=OFF" "-DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY:BOOL=ON" "-DLIBCLANG_BUILD_STATIC=ON" "-DLLVM_USE_MC_TOOLS:STRING=yes" "-DLLVM_ENABLE_PIC:BOOL=ON" "-DLLVM_ENABLE_ASSERTIONS:BOOL=ON" "-DWITH_POLLY:BOOL=OFF" "-DLLVM_BUILD_RUNTIME:BOOL=OFF" "-DCMAKE_BUILD_TYPE=RelWithDebInfo" "..\llvm\llvm.org" -- Building for: Visual Studio 12 2013 -- The C compiler identification is MSVC 18.0.21...
2017 Dec 15
2
llvm-config output on MacOS
...llvm-dev *Sent:* Thursday, December 14, 2017 10:24 PM *To:* llvm-dev *Subject:* [llvm-dev] llvm-config output on MacOS Hi, I configured and built LLVM as follows on Mac OS 10.13.2: $ pwd <llvm-build-dir> $ cmake -G "Xcode" -DCMAKE_INSTALL_PREFIX=<llvm-install-dir> -DLLVM_ENABLE_PIC=0 <llvm-src-dir>/llvm $ xcodebuild -project LLVM.xcodeproj All binaries are in <llvm-build-dir>/Debug/bin. I am interested in using the output of llvm-config. Now, when I run $ <llvm-build-dir>/Debug/bin/llvm-config --cmakedir <llvm-build-dir>/Debug/lib/cmake/llvm...
2009 Dec 11
0
[LLVMdev] Rebuilding LLVM libraries with LLVM-GCC on Windows
Ok, more recent developments follow. I updated my MSYS and MinGW install to use binutils 2.20 and gcc 4.4.0. With this I was able to build LLVM 2.6 with the following CMake configuration: cmake -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PIC=NO -DLLVM_ENABLE_THREADS=NO -G "MSYS Makefiles" ~/llvm-2.6-src I also downloaded the llvm-gcc 4.2 binaries from llvm.org and used them to build an alternate llvm system using the following configuration: cmake -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PIC=NO -DLLVM_ENABLE_THREADS=NO...
2009 Dec 10
2
[LLVMdev] Rebuilding LLVM libraries with LLVM-GCC on Windows
"Michael Ness" <mike at liquido2.com> writes: > I decided to forget 2.5 and move on to 2.6 which built fine with CMake. > However, I continue to have problems with llvm-config when using the > following command: > > $ llvm-g++ out.s -o out `llvm-config --ldflags --libs core support system > x86` > > I consistently get undefined reference errors that are
2016 Apr 25
2
bug: cross-compile Clang/LLVM for ARM using Clang/LLVM
...8/libatomic.so >> -I/usr/lib/gcc/x86_64-linux-gnu/4.8/libatomic.so >> -L/usr/lib/gcc/x86_64-linux-gnu/4.8/libatomic.so >> -L/usr/lib/gcc/x86_64-linux-gnu/4.8/libatomic.a -mfloat-abi=hard >> -ccc-gcc-name arm-linux-gnueabihf-gcc' >> -DLLVM_ENABLE_LIBCXX=ON >> -DLLVM_ENABLE_PIC=False >> > > Hi Liyang, > > You have "LLVM_DEFAULT_TARGET_TRIPLE=arm-linux-gnueabihf" and > "CMAKE_CXX_FLAGS='-target armv7a-linux-gnueabihf" which are different, and > may confuse Clang when finding tools and libraries. Use whatever is the ARM >...
2016 Feb 13
2
r260758 broke windows build
...-G "Visual Studio 12" /m > -DLLVM_TARGETS_TO_BUILD:STRING=All" "-DLLVM_BUILD_RUNTIME:BOOL=OFF" > "-DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY:BOOL=ON" > "-DLIBCLANG_BUILD_STATIC=ON" "-DLLVM_USE_MC_TOOLS:STRING=yes" > "-DLLVM_ENABLE_PIC:BOOL=ON" "-DLLVM_ENABLE_ASSERTIONS:BOOL=ON" > "-DWITH_POLLY:BOOL=OFF" "-DLLVM_BUILD_RUNTIME:BOOL=OFF" > "-DCMAKE_BUILD_TYPE=RelWithDebInfo" "..\llvm\llvm.org <http://llvm.org>" > -- Building for: Visual Studio 12 2013...
2016 Apr 25
2
bug: cross-compile Clang/LLVM for ARM using Clang/LLVM
Hi James, renato, So how do I download the missing ARM libraries on Ubuntu14.04? I cannot find any available libraries. Best, Liyang -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160425/04dfc553/attachment.html>
2016 Mar 03
2
EH failures in MCJIT
...gnu-ubuntu-14.04 The failures show up during "make check-all". My cmake command was: cmake -G 'Unix Makefiles' -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/w/c/org -DLLVM_TARGETS_TO_BUILD:STRING=all -DLLVM_BUILD_RUNTIME:BOOL=ON -DLIBCLANG_BUILD_STATIC=ON -DLLVM_ENABLE_PIC:BOOL=ON -DLLVM_ENABLE_ASSERTIONS:BOOL=ON -DLLVM_INCLUDE_TOOLS:BOOL=ON -DLLVM_LIT_ARGS:STRING="-s -v" -DWITH_POLLY:BOOL=ON -DLINK_POLLY_INTO_TOOLS:BOOL=ON -DCMAKE_C_COMPILER=/w/c/clang+llvm-3.7.0-x86_64-linux-gnu-ubuntu-14.04/bin/clang -DCMAKE_CXX_COMPILER=/w/c/clang+llv...
2016 Feb 13
3
r260758 broke windows build
Hello, I suspect that r260758 by kparzysz at codeaurora.org broke build the windows bots which are using Visual Studio 2013 or lower. This doc here specifies that the minimum version required is VS-2013: http://llvm.org/docs/GettingStarted.html#host-c-toolchain-both-compiler-and-standard-library I do see that the bots running VS-2014 or higher are green. Can we either revert the said commit or
2016 May 06
3
build issue in llvm-clang cross tool chain for arm target
Hello All, I am building llvm-clang cross tool chain for arm target, after successful build for Linux host now I am now building toolchain for *arm target*. However, I am getting below error message which seems to be confusing and not getting any idea how to resolve this issue. *Command :* #CC='clang' CXX='clang++' cmake -G Ninja /home/iiita/crossbuild/llvm
2016 Feb 19
3
undefined reference to typeinfo for CmpInst
Hi all, I am having some some trouble with LLVM 3.8... I built it with GCC 4.8.2 with cmake and no special CXX/C flags. That means in case of GCC that RTTI is switched on, I believe. However, building my MCJIT application against the just built LLVM and linking results in: libqdp.a(qdp_llvm.o):(.rodata._ZTIN4llvm8FCmpInstE[_ZTIN4llvm8FCmpInstE]+0x10): undefined reference to `typeinfo for
2016 Mar 02
2
EH failures in MCJIT
After re-cmaking and rebuilding everything from scratch, I'm seeing failures in MCJIT. It this something known or expected? I build LLVM/clang with pre-packaged clang-3.7.0, with "-stdlib=libc++". Example failure: /w/bld/org/./bin/lli -remote-mcjit -mcjit-remote-process=/w/bld/org/./bin/lli-child-target /w/src/llvm.org/test/ExecutionEngine/MCJIT/remote/eh.ll -- Exit Code: