Displaying 18 results from an estimated 18 matches for "llvmlto".
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 'virtual llvm::lto::localCache(std::string, llvm::lto::AddFileFn)::<lambda(unsigned int,...
2016 Oct 10
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 'virtual llvm::lto::localCache(std::string, llvm::lto::Ad...
2008 Feb 05
3
[LLVMdev] Makefile dependencies and configure test fix
...h means if you change core libraries and do a rebuild,
things like tools/lto don't get relinked against the new libraries.
Test case is to have a pre-built tree and do "touch lib/System/Unix/
Program.inc && make" and make sure you see "Linking Debug Loadable
Module LLVMlto.dylib".
3) There appears to be a typo for for llvm_cv_no_link_all_option for
Darwin, but this never seems to be used anyway. Probably worth fixing
in case a new standalone project uses the LLVM makefiles.
I regenerated the configure script with the required versions of
autotools on Mac...
2013 Dec 20
1
[LLVMdev] [LLVM] What has happened to LLVM bitcode archive support?
...ve bitcode only ) linking?
Or
- Future changes to lib/Object will implement llvm module linking for me?
I suspect you meant the first. If so, is the intention that if someone
needs to link an in memory LLVM bitcode module to an archive of bitcode
modules ( produced by the new llvm-ar or at with llvmLTO wrapper to ar)
then they should use the API of lld? Does that API exist now? I took a look
at the lld source code and I couldn't find any methods that returned
llvm::Module so I assumed it wasn't possible.
Thanks,
Dan Liew
-------------- next part --------------
An HTML attachment was scru...
2008 Feb 05
0
[LLVMdev] Makefile dependencies and configure test fix
...e core libraries and do a rebuild,
> things like tools/lto don't get relinked against the new libraries.
> Test case is to have a pre-built tree and do "touch lib/System/Unix/
> Program.inc && make" and make sure you see "Linking Debug Loadable
> Module LLVMlto.dylib".
>
> 3) There appears to be a typo for for llvm_cv_no_link_all_option
> for Darwin, but this never seems to be used anyway. Probably worth
> fixing in case a new standalone project uses the LLVM makefiles.
>
> I regenerated the configure script with the required ve...
2016 Mar 18
2
Building with LLVM_PARALLEL_XXX_JOBS
...t;>>
>>
>> [ v4 of my build-script attached ]
>>
>> Hi Chris,
>>
>> thanks for the response!
>>
>> That seems to work (see below).
>>
>> $ cd $BUILD_DIR
>> $ grep -i lto CMakeCache.txt | grep ^[A-Z]
>> [ OUTPUT ]
>> LLVMLTO_LIB_DEPENDS:STATIC=
>> LLVM_ENALBLE_LTO:UNINITIALIZED=ON
>> LLVM_TOOL_LLVM_LTO_BUILD:BOOL=ON
>> LLVM_TOOL_LTO_BUILD:BOOL=ON
>> LTO_LIB_DEPENDS:STATIC=general;LLVMX86CodeGen;general;LLVMX86AsmPrinter;general;LLVMX86AsmParser;general;LLVMX86Desc;general;LLVMX86Info;general;LLV...
2007 Aug 24
1
[LLVMdev] Documentation error in http://llvm.org/docs/LinkTimeOptimization.html
> > $ llvm-gcc --emit-llvm -c a.c -o a.o
> > $ llvm-gcc -c main.c -o main.o
> > $ llvm-gcc a.o main.o -o main
> > a.o: file not recognized: File format not recognized
> > collect2: ld returned 1 exit status
> >
> > Okay, that did not really work :-/
>
> This document describes interface between llvm and linker. You need
> system linker that
2016 Mar 17
2
Building with LLVM_PARALLEL_XXX_JOBS
...run using more
> optimized binaries) ]
>
> How do I anable LTO via CMAKE?
>
>
> LLVM_ENALBLE_LTO=On
>
[ v4 of my build-script attached ]
Hi Chris,
thanks for the response!
That seems to work (see below).
$ cd $BUILD_DIR
$ grep -i lto CMakeCache.txt | grep ^[A-Z]
[ OUTPUT ]
LLVMLTO_LIB_DEPENDS:STATIC=
LLVM_ENALBLE_LTO:UNINITIALIZED=ON
LLVM_TOOL_LLVM_LTO_BUILD:BOOL=ON
LLVM_TOOL_LTO_BUILD:BOOL=ON
LTO_LIB_DEPENDS:STATIC=general;LLVMX86CodeGen;general;LLVMX86AsmPrinter;general;LLVMX86AsmParser;general;LLVMX86Desc;general;LLVMX86Info;general;LLVMX86Disassembler;general;LLVMCore;ge...
2017 Jun 28
2
Building llvm with clang and lld on arm and the llvm arm backend relocation on position independent code
...ipo
[ 24%] Built target LLVMVectorize
[ 24%] Built target LLVMHello_exports
[ 24%] Built target LLVMHello
[ 26%] Built target LLVMObjCARCOpts
[ 26%] Built target LLVMCoroutines
[ 26%] Built target LLVMLinker
[ 29%] Built target LLVMAnalysis
[ 29%] Built target llvm_vcsrevision_h
[ 29%] Built target LLVMLTO
[ 32%] Built target LLVMMC
[ 32%] Built target LLVMMCParser
[ 32%] Built target LLVMMCDisassembler
[ 32%] Built target LLVMObject
[ 32%] Built target LLVMObjectYAML
[ 34%] Built target LLVMOption
[ 36%] Built target LLVMDebugInfoDWARF
[ 36%] Built target LLVMDebugInfoMSF
[ 37%] Built target LLVMDeb...
2017 Jun 28
3
Building llvm with clang and lld on arm and the llvm arm backend relocation on position independent code
...ello_exports
>> [ 24%] Built target LLVMHello
>> [ 26%] Built target LLVMObjCARCOpts
>> [ 26%] Built target LLVMCoroutines
>> [ 26%] Built target LLVMLinker
>> [ 29%] Built target LLVMAnalysis
>> [ 29%] Built target llvm_vcsrevision_h
>> [ 29%] Built target LLVMLTO
>> [ 32%] Built target LLVMMC
>> [ 32%] Built target LLVMMCParser
>> [ 32%] Built target LLVMMCDisassembler
>> [ 32%] Built target LLVMObject
>> [ 32%] Built target LLVMObjectYAML
>> [ 34%] Built target LLVMOption
>> [ 36%] Built target LLVMDebugInfoDWARF
&...
2017 Jun 28
3
Building llvm with clang and lld on arm and the llvm arm backend relocation on position independent code
...llo
>>> [ 26%] Built target LLVMObjCARCOpts
>>> [ 26%] Built target LLVMCoroutines
>>> [ 26%] Built target LLVMLinker
>>> [ 29%] Built target LLVMAnalysis
>>> [ 29%] Built target llvm_vcsrevision_h
>>> [ 29%] Built target LLVMLTO
>>> [ 32%] Built target LLVMMC
>>> [ 32%] Built target LLVMMCParser
>>> [ 32%] Built target LLVMMCDisassembler
>>> [ 32%] Built target LLVMObject
>>> [ 32%] Built target LLVMObjectYAML
>>> [ 34%] Built target LLVMOption...
2017 Jun 28
2
Building llvm with clang and lld on arm and the llvm arm backend relocation on position independent code
...[ 26%] Built target LLVMObjCARCOpts
>>>> [ 26%] Built target LLVMCoroutines
>>>> [ 26%] Built target LLVMLinker
>>>> [ 29%] Built target LLVMAnalysis
>>>> [ 29%] Built target llvm_vcsrevision_h
>>>> [ 29%] Built target LLVMLTO
>>>> [ 32%] Built target LLVMMC
>>>> [ 32%] Built target LLVMMCParser
>>>> [ 32%] Built target LLVMMCDisassembler
>>>> [ 32%] Built target LLVMObject
>>>> [ 32%] Built target LLVMObjectYAML
>>>> [ 34%] B...
2017 Jun 30
3
Building llvm with clang and lld on arm and the llvm arm backend relocation on position independent code
...LLVMObjCARCOpts
>>>>>> [ 26%] Built target LLVMCoroutines
>>>>>> [ 26%] Built target LLVMLinker
>>>>>> [ 29%] Built target LLVMAnalysis
>>>>>> [ 29%] Built target llvm_vcsrevision_h
>>>>>> [ 29%] Built target LLVMLTO
>>>>>> [ 32%] Built target LLVMMC
>>>>>> [ 32%] Built target LLVMMCParser
>>>>>> [ 32%] Built target LLVMMCDisassembler
>>>>>> [ 32%] Built target LLVMObject
>>>>>> [ 32%] Built target LLVMObjectYAML
>>&...
2016 Mar 12
4
Building with LLVM_PARALLEL_XXX_JOBS
On Fri, Mar 4, 2016 at 11:28 AM, Tilmann Scheller
<tilmann at osg.samsung.com> wrote:
> Hi Sedat,
>
> On 03/03/2016 08:09 AM, Sedat Dilek via llvm-dev wrote:
>>
>> It might be that a CLANG generated with LTO/PGO speeds up the build.
>> Can you confirm this?
>
> Yes, a Clang host compiler built with LTO or PGO is generally faster than an
> -O3 build.
>
2017 Jun 27
3
Building llvm with clang and lld on arm and the llvm arm backend relocation on position independent code
> On 26 Jun 2017, at 16:25, Rui Ueyama <ruiu at google.com> wrote:
>
> On Sun, Jun 25, 2017 at 6:40 AM, Alessandro Pistocchi via llvm-dev <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote:
> Hi,
>
> I am trying to build a completely GNU free linux toolchain for the raspberry pi.
>
> I successfully managed to compile llvm and clang
2017 Feb 11
2
Asan self host problems: Failed to deallocate
Trying to run a self host "ninja check-clang" with ASan enabled I hit a
/lot/ of errors like this (strangely I hit none of these in check-llvm,
only in check-clang):
Any ideas?
==10525==ERROR: AddressSanitizer failed to deallocate 0x10800 (67584) bytes
at address 0x631000014800
==10525==AddressSanitizer CHECK failed:
2017 Feb 15
2
Asan self host problems: Failed to deallocate
...LIB_DEPENDS:STATIC=
//Dependencies for target
LLVMIRReader_LIB_DEPENDS:STATIC=
//Dependencies for target
LLVMInstCombine_LIB_DEPENDS:STATIC=
//Dependencies for target
LLVMInstrumentation_LIB_DEPENDS:STATIC=
//Dependencies for target
LLVMInterpreter_LIB_DEPENDS:STATIC=
//Dependencies for target
LLVMLTO_LIB_DEPENDS:STATIC=
//Dependencies for target
LLVMLanaiAsmParser_LIB_DEPENDS:STATIC=
//Dependencies for target
LLVMLanaiAsmPrinter_LIB_DEPENDS:STATIC=
//Dependencies for target
LLVMLanaiCodeGen_LIB_DEPENDS:STATIC=
//Dependencies for target
LLVMLanaiDesc_LIB_DEPENDS:STATIC=
//Dependencies for t...
2019 Apr 30
6
Disk space and RAM requirements in docs
...keFiles/StaticAnalysisTests.dir
48M build/tools/clang/unittests/StaticAnalyzer/CMakeFiles
48M build/tools/clang/lib/Frontend/Rewrite/CMakeFiles/clangRewriteFrontend.dir
48M build/tools/clang/lib/Frontend/Rewrite/CMakeFiles
48M build/tools/clang/lib/Frontend/Rewrite
47M build/lib/LTO/CMakeFiles/LLVMLTO.dir
47M build/lib/LTO/CMakeFiles
47M build/lib/LTO
46M build/tools/polly/lib/CMakeFiles/PollyCore.dir/Support
45M build/tools/clang/unittests/Analysis/CMakeFiles/ClangAnalysisTests.dir
45M build/tools/clang/unittests/Analysis/CMakeFiles
44M build/lib/Object/CMakeFiles/LLVMObject.dir
44M buil...