On Thu, Jul 21, 2011 at 6:46 PM, Prasanth Anbalagan <span dir="ltr"><<a href="mailto:panbalag1@gmail.com">panbalag1@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hi,<div><br></div><div>I'm trying to build Clang on Redhat Linux. I recevied the following errorĀ </div><div><br></div><div><div>llvm[3]: Compiling SimplifyLibCalls.cpp for Debug+Asserts build</div><div>llvm[3]: Compiling Sink.cpp for Debug+Asserts build</div>


<div>llvm[3]: Compiling TailDuplication.cpp for Debug+Asserts build</div><div>llvm[3]: Compiling TailRecursionElimination.cpp for Debug+Asserts build</div><div>llvm[3]: Building Debug+Asserts Archive Library libLLVMScalarOpts.a</div>


<div>make[3]: *** [/root/llvm/Debug+Asserts/lib/libLLVMScalarOpts.a] Error 1</div><div>make[3]: Leaving directory `/root/llvm/lib/Transforms/Scalar'</div><div>make[2]: *** [Scalar/.makeall] Error 2</div><div>make[2]: Leaving directory `/root/llvm/lib/Transforms'</div>


<div>make[1]: *** [Transforms/.makeall] Error 2</div><div>make[1]: Leaving directory `/root/llvm/lib'</div><div>make: *** [all] Error 1</div></div><div><br></div><div><br></div><div>-Any suggestions on how I could resolve this?</div>


<div><br></div><div>Thanks,</div><div>Prasanth</div>
</blockquote></div><br><br>It seems, you've ran make with -jN. One thread failed compiling and printed error, but other threads continued working and printing stuff. So, the error message was left somewhere earlier.<br>