Displaying 20 results from an estimated 3000 matches similar to: "LLVM-4.0.1 build problem on Linux"
2019 Jun 21
4
Memory overflow during cmake/ninja build
I'm trying to do a simple build from the git 8.0.0 sources. The sources
seem to build OK but a link step fails from running out of memory. I
need some clues how to figure out where the bottleneck might be.
The cmake command is:
cmake -G Ninja \
-DLLVM_TARGETS_TO_BUILD=X86 \
2017 May 02
6
LLVM 4.0.1-rc1 has been tagged
Hi,
I've just tagged the 4.0.1 -rc1 release. Testers can start testing and uploading
the binaries. If you still have bug fixes you want to get into the
4.0.1 release, you have until May 22 to submit merge requests.
-Tom
2015 Aug 24
4
Error building llvm
Trying to run make to build llvm, I faced the following error:
Linking CXX shared library ../../lib/libLTO.so
collect2: error: ld returned 1 exit status
make[2]: *** [lib/libLTO.so.3.8.0svn] Error 1
make[1]: *** [tools/lto/CMakeFiles/LTO.dir/all] Error 2
make: *** [all] Error 2
So, what's the problem here?
Regards,
Marwa Yusuf
Teaching Assistant - Computer Engineering Department
2017 Jul 31
1
exit block
Yes, that’s right. Some LLVM terminology though: The blocks you mention, are called the “exiting blocks” of the loop, and the blocks outside the loop (that are the targets of these exiting blocks) are called the exit blocks.
getExitingBlocks in LoopInfoImpl.h is the code you’re interested in.
By definition: one of the successor’s of the exiting block is an exit block, and it should have another
2020 Jan 02
6
error in building llvm with default options
hello,
I am trying to build LLVM with default options. I am getting the following
error message after make.
[100%] Building C object
tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/metadata.c.o
[100%] Building C object
tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/module.c.o
[100%] Building C object
tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/object.c.o
[100%] Building C object
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:
>
2016 May 30
2
[cfe-dev] How to debug if LTO generate wrong code?
Hi Steven,
> On May 29, 2016, at 11:28 PM, Shi, Steven <steven.shi at intel.com> wrote:
>
> Hi Mehdi,
> Should I apply your attached patch on my llvm3.8 source firstly? Or should I use the latest llvm SVN trunk instead?
I wrote it on trunk, but I expect it to be fairly easy to port on 3.8. This is really just quickly plumbing an option on the TargetMachine creation.
--
2014 Jan 21
4
[LLVMdev] C++0x Bug in CMake?
Chandler,
I may be doing this wrong, but I'm getting a weird error in building LLVM
with Clang via CMake.
On x86_64:
$ CC=clang CXX=clang++ cmake -G Ninja ../../src/llvm
-DCMAKE_BUILD_TYPE=Release -DLLVM_BUILD_TESTS=True
-DLLVM_ENABLE_ASSERTIONS=True
On ARM:
$ CC=clang CXX=clang++ cmake -G Ninja ../src/ -DCMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_PREFIX=../install
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
2016 May 30
0
[cfe-dev] How to debug if LTO generate wrong code?
Hi Mehdi,
The llvm3.8 gold-plugin.cpp is very different from the latest one on trunk. Your patch has compiling failure on llvm3.8 as below. I will try it on latest trunk later. Thank you help anyway!
Building CXX object tools/gold/CMakeFiles/LLVMgold.dir/gold-plugin.cpp.o
cd /home/jshi19/llvm38releasebuild/tools/gold && /home/jshi19/clang38/bin/clang++ -DGTEST_HAS_RTTI=0
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> >
2019 Dec 10
2
[PATCH] D69853: [OpenMP][NFCI] Introduce llvm/IR/OpenMPConstants.h
Johannes,
This patch seems to be causing test failures when I just do "ninja
check", without running "ninja" or "ninja all" first.
$ CC=clang CXX=clang++ cmake -G Ninja ~/git/llvm-project/llvm
-DLLVM_USE_LINKER=lld -DLLVM_PARALLEL_LINK_JOBS=4
-DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD=X86 && ninja check
[...]
FAIL: LLVM ::
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
2019 Dec 10
3
[PATCH] D69853: [OpenMP][NFCI] Introduce llvm/IR/OpenMPConstants.h
This seems to be happening to me, too. I think this happens for me on
"ninja check-llvm" in a clean build. Let me know if you need more info.
On Tue, Dec 10, 2019 at 2:22 PM Doerfert, Johannes via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> Hi Jay,
>
> I am not sure why this happens.
> Can you give me some information so I can reproduce it:
> Is this happens
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
2019 Sep 03
2
Struggling with a PGO build of clang -- llvm-profdata was built without zlib support?
Hi!
I'm trying to build a fast Clang for myself to use for debug builds on
Clang itself, but I've been struggling for a very long time on it. Could
you please help?
I've been following this guide: https://llvm.org/docs/HowToBuildWithPGO.html
I've quickly learned that its outdated, because the script it talks about
doesn't work with the monorepo layout at all, but in any