[LLVMdev] Using Clang LTO/gold plugin to build clang

Rafael EspĂ­ndola rafael.espindola at gmail.com
Wed Oct 17 13:31:40 PDT 2012

On 17 October 2012 13:38, Sahoo, Swarup Kumar <ssahoo2 at illinois.edu> wrote:
> Hi,
>     I was trying to build clang (svn head version) using clang-3.1 version.
> I am building a debug version using LTO/gold plugin. It is crashing with
> signal 9 when trying to link the bitcode files to build the executable. I am
> not sure, if this is a bug or just a memory issue. Has anyone done anything
> similar or noticed similar behavior? Any help would be welcome.

It is likely just using too much memory. Unfortunately currently LTO
uses a lot of memory for the debug info.  I would suggest building
without it to check if that works.

> Thanks,
> Swarup.


More information about the llvm-dev mailing list