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

Todd Jackson quantum.skyline at gmail.com
Wed Oct 17 13:38:01 PDT 2012


Two suggestions:

- Use a 64-bit operating system.
- You could disable the LTO optimizations by commenting out a few
lines in tools/lto/LTOCodeGenerator.cpp to determine if the problem is
a pass or with LTO itself.

On Wed, Oct 17, 2012 at 10:38 AM, 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.
>
> Thanks,
> Swarup.
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>



-- 
Todd Jackson, Ph.D.



More information about the llvm-dev mailing list