<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 4/3/13 12:55 PM, Andre Tampubolon
wrote:<br>
</div>
<blockquote
cite="mid:CAOEA5rYCyc5QnjYw0u4td4-PQ2iGcjhaAZprcqMu2OqMe1RT-Q@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<div dir="ltr">
<div>
<div>I tried to build the stable LLVM 3.2, and the latest from
svn.<br>
</div>
<div>Both failed, unfortunately.<br>
</div>
</div>
</div>
</blockquote>
<br>
It looks like you're compiling LLVM with a previously installed
version of clang instead of GCC. Check Makefile.config's CC
environment variable to see if that is the case. If so, re-run
configure with CC=gcc and CXX=g++ and see if that fixes it.<br>
<br>
-- John T.<br>
<br>
<blockquote
cite="mid:CAOEA5rYCyc5QnjYw0u4td4-PQ2iGcjhaAZprcqMu2OqMe1RT-Q@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div><br>
During compilation process, I saw this:<br>
llvm[1]: Compiling BranchProbability.cpp for Release build<br>
0 clang 0x00000000010b23bf<br>
1 clang 0x00000000010b2a0d<br>
2 libpthread.so.0 0x00002b3c53ed2ff0<br>
3 clang 0x00000000005f7200<br>
4 clang 0x0000000000627c05<br>
5 clang 0x000000000074c567<br>
6 clang 0x000000000074bf35<br>
7 clang 0x000000000074c9e1<br>
8 clang 0x000000000074bf35<br>
9 clang 0x00000000005ea69a<br>
10 clang 0x00000000008e897d<br>
11 clang 0x00000000005e7e3b<br>
12 clang 0x0000000000415089<br>
13 clang 0x00000000004094f6<br>
14 clang 0x000000000040bed3 main + 1731<br>
15 libc.so.6 0x00002b3c54cb8c8d __libc_start_main +
253<br>
16 clang 0x0000000000407099<br>
Stack dump:<br>
</div>
<div><br>
</div>
<div>I attached the longer log, hopefully it could shed some
light.<br>
</div>
FYI, I'm using GCC 4.4.5, on 64-bit Debian 6.<br>
<br>
</div>
<div>Maybe using a more recent GCC would solve this problem?<br>
</div>
<div>
<div>
<div><br>
-- <br>
<b>Andre Tampubolon</b><br>
GPG public key:<a moz-do-not-send="true"
href="http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xC6492E7D01AA96CF"
target="_blank">pgp.mit.edu:11371/pks/lookup?op=get&search=0xC6492E7D01AA96CF</a>
<div>
<span
style="color:rgb(0,0,0);font-family:Tahoma;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium;display:inline!important;float:none"><br>
</span></div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
LLVM Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <a class="moz-txt-link-freetext" href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</a>
<a class="moz-txt-link-freetext" href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a>
</pre>
</blockquote>
<br>
</body>
</html>