Displaying 2 results from an estimated 2 matches for "953mb".
2016 Sep 10
6
(Thin)LTO llvm build
...ith -DLLVM_ENABLE_LTO=On and using the system
CC/CXX (gcc 6.1).
The resulting installed build is many times bigger than the non-LTO
version. Is this to be expected? I thought LTO would reduce size by
detecting more unused code.
The bindist .tar.xz archives are as follows:
LTO=Off: 195MB
LTO=On : 953MB
Now, I am of course aware that falling back to gcc's lto support is
not the same as llvm's lto or thinlto, but I only fell back after it
failed to build that way, and I wasn't aware of gcc6 providing almost
5x large code than without lto.
Also, given a fresh 3.9 install, on an otherwi...
2016 Sep 10
3
(Thin)LTO llvm build
...quite slight.
> If you’re concerned about binary size, disabling clang plugin may help:
>
> cmake -DCLANG_PLUGIN_SUPPORT=OFF
Curious to know why this would result in smaller binaries.
>> The bindist .tar.xz archives are as follows:
>>
>> LTO=Off: 195MB
>> LTO=On : 953MB
>>
>> Now, I am of course aware that falling back to gcc's lto support is
>> not the same as llvm's lto or thinlto, but I only fell back after it
>> failed to build that way, and I wasn't aware of gcc6 providing almost
>> 5x large code than without lto.
>...