similar to: error in building llvm with default options

Displaying 20 results from an estimated 10000 matches similar to: "error in building llvm with default options"

2020 Jan 02
2
error in building llvm with default options
Various options for reducing memory usage when building LLVM: * Don't use bfd-ld, at least use gold, probably use lld if you have it available * With Ninja and/or CMake there's some way to specify the maximum number of concurrent linkactions - lower this to fit in your available memory * If you're building with debug info: Use Split DWARF On Thu, Jan 2, 2020 at 5:21 AM Kókai Péter
2020 Jan 02
3
error in building llvm with default options
The last time this came up, we agreed something should be done to fix the defaults, but nobody picked it up and ran with it. I think there was consensus, it just needs legwork now. On Thu, Jan 2, 2020 at 11:58 AM Aaron Smith via llvm-dev < llvm-dev at lists.llvm.org> wrote: > There was a recent thread on reducing memory: >
2018 Apr 27
3
Size of produced binaries when compiling llvm & clang sources
Dear llvm developpers, I followed the tutorial to build llvm and clang provided here: https://clang.llvm.org/get_started.html The sources are in sync with subversion repository, and I ended up with more than 30GB of binaries in llvm/bin as shown at the end of this message. I assume I did something wrong, but I did not find any entry in the doc that helps me understand how to reduce the size of
2018 Apr 27
0
Size of produced binaries when compiling llvm & clang sources
On Fri, Apr 27, 2018 at 6:21 PM, Manuel Yguel via llvm-dev <llvm-dev at lists.llvm.org> wrote: > Dear llvm developpers, > I followed the tutorial to build llvm and clang provided here: > https://clang.llvm.org/get_started.html > > The sources are in sync with subversion repository, and I ended up with more > than 30GB of binaries in llvm/bin as shown at the end of this
2015 Jun 27
2
[LLVMdev] polly trunk broken on x86_64 darwin
Tobias, The most recent commits at svn revision 240868 have broken the Polly build on x86_64 on darwin... [ 57%] Building C object tools/polly/lib/CMakeFiles/Polly.dir/External/isl/isl_int_sioimath.c.o /sw/src/fink.build/llvm37-3.7.0-100/llvm-3.7.0.src/tools/polly/lib/External/isl/isl_int_sioimath.c:1:10: fatal error: 'malloc.h' file not found #include <malloc.h> ^ 1
2016 Oct 08
2
unable to compile llvm with gcc 4.7.4
Hi, Encounter a compilation issue related to c++. Software versions: - gcc 4.7.4 - llvm git commit 98a1ca117e6743dd7f2d505443a96f591d083eab Build log: Scanning dependencies of target LLVMLTO [ 53%] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/Caching.cpp.o /tmp/pkgs/llvm/lib/LTO/Caching.cpp: In lambda function: /tmp/pkgs/llvm/lib/LTO/Caching.cpp:74:7: error: looser throw specifier for
2018 Jun 08
2
Fail to install llvm/clang on debian
Hello, Maybe this is not a bugs. But i fail to install llvm many times and different machine(debian os). First, i follow the instruction: http://cilium.readthedocs.io/en/latest/bpf/#llvm But during in compiling, i alway get: ... /home/yubo/git/llvm/tools/clang/lib/Basic/VirtualFileSystem.cpp: In member function ‘virtual llvm::ErrorOr<std::unique_ptr<clang::vfs::File> >
2017 Aug 11
2
LLVM-4.0.1 build problem on Linux
Hi, I tried to build LLVM 4.0.1 on a Slackware Linux box with 3 GB of RAM using gcc-7.1.0. Near the end of the build process, I hit the following error: [ 89%] Linking CXX shared library ../../lib/libLTO.so collect2: fatal error: ld terminated with signal 9 [Killed] compilation terminated. tools/lto/CMakeFiles/LTO.dir/build.make:269: recipe for target 'lib/libLTO.so.4.0.1' failed
2018 Mar 31
1
using llvm DataFlowSanitizer error
Hi. I'm using llvm DataFlowSanitizer. I add such code in library libtiff. dfsan_label lt_label = dfsan_create_label("buf_offset", 0); dfsan_set_label(lt_label, (unsigned char *)buf, size); But when i compile libtiff with "-fsanitize=dataflow" option, then there is an error as follows: ../libtiff/libtiff.so.5.2.5: undefined reference to `dfs$jbg_enc_init'
2016 Mar 26
2
llvm build failed while Linking CXX shared library ../../../lib/libc++.so
Hello everybody, I am very new to llvm and I am struggling to install it on my 15.10 Xubuntu with kernel 4.2.0-34-generic #39-Ubuntu SMP x86_64 GNU/Linux. I essentially intend to use the clang static analyzer, but it seems that I have to build it on top of llvm and clang. Unfortunately I run into the following problem. CXX shared library ../../../lib/libc++.so at around 52% of the procedure
2017 Oct 18
2
LLVM Installation failing
Hi I am trying to install llvm and clang on ubuntu 16.04, I tried installing them using apt command but while running the pass it gives me error "error: llvm/pass.h not found *#include"llvm/pass.h"* so i tried installing using the source code and building it my self, *make *fails at 98% with this error *collect2: error: ld returned 1 exit
2018 Mar 19
1
How to link against all available targets - problems with NVPTX?
As the question asks, I'm having some trouble using initializeAllTargets(). I have a CMakeLists that uses: llvm_map_components_to_libnames(LLVM_LIBS ... AllTargetsAsmParsers AllTargetsAsmPrinters AllTargetsDescs AllTargetsInfos ...) However, even with these, when I try to compile my program, I get linker errors: CMakeFiles/sxhc.dir/src/main.cpp.o: In function
2016 Mar 28
2
llvm build failed while Linking CXX shared library ../../../lib/libc++.so
Hi Dimitry, I do not particularly need to build libc++ from the package. Is the name of the package's libc++, libcxx, because this is where the installation starts finding undefined references, during linking CXX shared library ../../../lib/libc++.so. Please check below the first part of the log when the first error appear, I omited repeating results. Furthermore, the undefined references are
2019 Mar 19
2
Building lld
I tried deleting my build directory and restarting from scratch $ cd llvm-project $ mkdir build && cd build $ cmake -G "Unix Makefiles" -DLLVM_ENABLE_PROJECTS=lld ../llvm $ make I got this error: make[2]: *** No rule to make target 'llvm/cmake/modules/GenerateVersionFromVCS.cmake', needed by 'tools/lld/Common/VCSVersion.inc'. Stop. CMakeFiles/Makefile2:57166:
2016 Jan 15
2
[cfe-dev] [3.8 Release] We have branched
Hi Daniel, Thanks for trying out the branch :-) On Fri, Jan 15, 2016 at 5:30 AM, Daniel Sanders <Daniel.Sanders at imgtec.com> wrote: > Hi Hans, > > I tried the release branch last night and I'm having problems building it. The problem is that test-suite is now building as part of the Phase[123] builds (because this project contains CMakeLists.txt's now) but cmake 3.0.2
2016 May 24
2
Undefined symbols in llvm-objdump linkage on x86_64-apple-darwin15
Is anyone else seeing a bootstrap failure on x86_64-apple-darwin15 in current trunk? [ 95%] Linking CXX executable ../../bin/llvm-objdump Undefined symbols for architecture x86_64: "_xar_serialize", referenced from: DumpBitcodeSection(llvm::object::MachOObjectFile*, char const*, unsigned int, bool, bool, bool, std::__1::basic_string<char, std::__1::char_traits<char>,
2017 Aug 03
2
fatal error: clang/Basic/Version.inc: No such file or directory
Hi, I try to build lldb with Cmake (gcc-5.3.0 is necessary for CUDA) on my "SUSE Linux Enterprise Server 12.2 (x86_64)". Unfortunately the build process breaks for lldb with the below mentioned error message. I've downloaded the following packages and configured with the following commands. svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm cd llvm/tools svn co
2016 Mar 26
0
llvm build failed while Linking CXX shared library ../../../lib/libc++.so
Hi Ioannis, If you only want the clang static analyzer, there is no need to check out and build libc++ as part of the process. The rest of the build can just use the system C++ library, which will be libstdc++ on Xubuntu. That said, without the full build log, it is hard to say what went wrong. Specifically, which references were undefined? -Dimitry > On 26 Mar 2016, at 16:04, Ioannis
2019 Sep 12
3
Taint flow tracking
Let in a program a variable 'x' is tainted. There is an assignment 'y=x' where y is untainted. How to check the taintflow in the output or data flow graph ? Any suggestions? Thank you. Have a great day. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190912/5bb3655c/attachment.html>
2016 May 24
2
Undefined symbols in llvm-objdump linkage on x86_64-apple-darwin15
On Tue, May 24, 2016 at 12:08 PM, Reid Kleckner <rnk at google.com> wrote: > Kevin Enderby added those symbol uses in r270491. It has a cmake > feature test, and all the uses of those symbols appear bracketed in > HAVE_LIBXAR, so I don't know what went wrong for you. The trigger for this build failure is the usage of -DLLVM_BUILD_EXTERNAL_COMPILER_RT:BOOL=ON. If I drop that