<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><br><div dir="ltr">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. <div> Next I tried building this plugin as given in <a href="https://kevinaboos.wordpress.com/2013/07/29/clang-tutorial-part-iii-plugin-example/" target="_blank">https://kevinaboos.wordpress.com/2013/07/29/clang-tutorial-part-iii-plugin-example/</a> . 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?<div><br></div></div></div></div></div></blockquote><div>You are using too much memory when invoking the linker in parallel.</div><div>On Linux, switching to the gold linker (which involves putting an appropriate symlink in /usr/local/bin nowadays) will solve this.</div><div><br></div></div></div></div>