Re: Build failure while experimenting with LTO

2016-06-28 Thread Stephan Bergmann
On 06/28/2016 12:00 AM, Davide Italiano wrote: but the problem is still there :( BTW, I think this is related to clang because I'm able to reproduce without LTO: $ ./autogen.sh CC=~/work/llvm/build-release/bin/clang CXX=~/work/llvm/build-release/bin/clang++ --enable-dbgutil --without-java --with

Re: Build failure while experimenting with LTO

2016-06-27 Thread Davide Italiano
On Sun, Jun 26, 2016 at 6:50 PM, Davide Italiano wrote: > On Sun, Jun 26, 2016 at 6:48 PM, Davide Italiano > wrote: >> Hi, >> I'm experimenting a bit with LTO using clang and lld (the new LLVM linker). >> I'm able to build a decent fraction of libreoffice if I invoke >> autogen.sh like this: >>

Re: Build failure while experimenting with LTO

2016-06-26 Thread Davide Italiano
On Sun, Jun 26, 2016 at 6:48 PM, Davide Italiano wrote: > Hi, > I'm experimenting a bit with LTO using clang and lld (the new LLVM linker). > I'm able to build a decent fraction of libreoffice if I invoke > autogen.sh like this: > > ./autogen.sh CC=~/work/llvm/build-release/bin/clang > CXX=~/work/

Build failure while experimenting with LTO

2016-06-26 Thread Davide Italiano
Hi, I'm experimenting a bit with LTO using clang and lld (the new LLVM linker). I'm able to build a decent fraction of libreoffice if I invoke autogen.sh like this: ./autogen.sh CC=~/work/llvm/build-release/bin/clang CXX=~/work/llvm/build-release/bin/clang++ AR=~/work/llvm/build-release/bin/llvm-a