[cfe-dev] Fwd: Query regarding clang development

Manasij Mukherjee via cfe-dev cfe-dev at lists.llvm.org
Thu Apr 7 04:03:51 PDT 2016


> Thanks for the inputs , will try them. Initially when I tried building I
> got "ld terminated with signal 9 error ", after which I increased the swap
> file sizeThen, it got successfully built once.
>  Next I tried building this plugin as given in
> https://kevinaboos.wordpress.com/2013/07/29/clang-tutorial-part-iii-plugin-example/ .
> Even building a plugin requires building clang executable again? In this
> case , I received this error, "error: ld terminated with signal 7 [Bus
> error], core dumped ". Why did this happen?
>
> You are using too much memory when invoking the linker in parallel.
On Linux, switching to the gold linker (which involves putting an
appropriate symlink in /usr/local/bin nowadays) will solve this.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160407/1dfd71df/attachment-0001.html>


More information about the cfe-dev mailing list