<div dir="ltr">clang --version will tell you the version. The rest of your emails was unreadable :)</div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Sep 20, 2014 at 12:49 AM, Krishanthan Krishnamoorthy <span dir="ltr"><<a href="mailto:krishan22@hotmail.com" target="_blank">krishan22@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi, <div><br></div><div>sorry for the last email.</div><div><br></div><div><span style="font-size:11.0pt;line-height:107%;<br>
font-family:"Calibri","sans-serif";mso-ascii-theme-font:minor-latin;mso-fareast-font-family:<br>
Calibri;mso-fareast-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;<br>
mso-bidi-font-family:"Times New Roman";mso-bidi-theme-font:minor-bidi;<br>
mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA">Actually,<br>
<span class="">I don't know what version of clang is that, because I just followed this in the<br>
</span>cloud9 (<a href="http://cloud9.epfl.ch/setting-up" target="_blank">http://cloud9.epfl.ch/setting-up</a>)</span></div><div><span style="font-size:11.0pt;line-height:107%;<br>
font-family:"Calibri","sans-serif";mso-ascii-theme-font:minor-latin;mso-fareast-font-family:<br>
Calibri;mso-fareast-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;<br>
mso-bidi-font-family:"Times New Roman";mso-bidi-theme-font:minor-bidi;<br>
mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA"><br></span></div><div><span style="font-size:11.0pt;line-height:107%;<br>
font-family:"Calibri","sans-serif";mso-ascii-theme-font:minor-latin;mso-fareast-font-family:<br>
Calibri;mso-fareast-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;<br>
mso-bidi-font-family:"Times New Roman";mso-bidi-theme-font:minor-bidi;<br>
mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA"> </span></div><div><span style="font-size:11.0pt;line-height:107%;<br>
font-family:"Calibri","sans-serif";mso-ascii-theme-font:minor-latin;mso-fareast-font-family:<br>
Calibri;mso-fareast-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;<br>
mso-bidi-font-family:"Times New Roman";mso-bidi-theme-font:minor-bidi;<br>
mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA">$<br>
cd $CLOUD9_ROOT</span></div><div><span style="font-size:11.0pt;line-height:107%;<br>
font-family:"Calibri","sans-serif";mso-ascii-theme-font:minor-latin;mso-fareast-font-family:<br>
Calibri;mso-fareast-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;<br>
mso-bidi-font-family:"Times New Roman";mso-bidi-theme-font:minor-bidi;<br>
mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA">$<br>
gclient config --name src git+<a href="https://github.com/dslab-epfl/cloud9-depot.git" target="_blank">https://github.com/dslab-epfl/cloud9-depot.git</a> </span></div><div><span style="font-size:11.0pt;line-height:107%;<br>
font-family:"Calibri","sans-serif";mso-ascii-theme-font:minor-latin;mso-fareast-font-family:<br>
Calibri;mso-fareast-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;<br>
mso-bidi-font-family:"Times New Roman";mso-bidi-theme-font:minor-bidi;<br>
mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA">$<br>
gclient sync </span></div><div><span style="font-size: 15px; line-height: 15.6933336257935px;"><font face="Calibri, sans-serif"><br></font></span></div><div><span style="font-size:11.0pt;line-height:107%;<br>
font-family:"Calibri","sans-serif";mso-ascii-theme-font:minor-latin;mso-fareast-font-family:<br>
Calibri;mso-fareast-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;<br>
mso-bidi-font-family:"Times New Roman";mso-bidi-theme-font:minor-bidi;<br>
mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA">so<br>
<span class="">when I run the gclient sync it will download LLVM+clang and build it. And I<br>
don't have any bug report that prdouce by clang. But when I run the make<br>
</span>command again inside the klee folder I got the same problem</span></div><div><br></div><div><br></div><div><span style="font-size: 15px; line-height: 15.6933336257935px;"><font face="Calibri, sans-serif">output :</font></span></div><div><span style="font-size: 15px; line-height: 15.6933336257935px;"><font face="Calibri, sans-serif"><br></font></span></div><div><span style="font-size: 15px; line-height: 15.6933336257935px;"><font face="Calibri, sans-serif"><br></font></span><div>krishan@ubuntu:~/cloud9/src/klee-uclibc$ sudo make</div><div>[sudo] password for krishan: </div><div>Sorry, try again.</div><div>[sudo] password for krishan: </div><div>clang: clang: warning: argument unused during compilation: '-flto'warning: </div><div>clang: warning: argument unused during compilation: '-dN'</div><div>argument unused during compilation: '-flto'</div><div> CC libcrypt/des.os</div><div>0 clang 0x0000000001c28bb2</div><div>1 clang 0x0000000001c29043</div><div>2 libpthread.so.0 0x00002ac1bbcd7cb0</div><div>3 clang 0x00000000007cb641 clang::CodeGen::CGDebugInfo::getCompletedTypeOrNull(clang::QualType) + 177</div><div>4 clang 0x00000000007c1d88 clang::CodeGen::CGDebugInfo::getOrCreateType(clang::QualType, llvm::DIFile) + 72</div><div>5 clang 0x00000000007c562c clang::CodeGen::CGDebugInfo::CreateType(clang::FunctionType const*, llvm::DIFile) + 108</div><div>6 clang 0x00000000007cb811 clang::CodeGen::CGDebugInfo::CreateTypeNode(clang::QualType, llvm::DIFile) + 337</div><div>7 clang 0x00000000007c1dcc clang::CodeGen::CGDebugInfo::getOrCreateType(clang::QualType, llvm::DIFile) + 140</div><div>8 clang 0x00000000007cd041 clang::CodeGen::CGDebugInfo::getOrCreateFunctionType(clang::Decl const*, clang::QualType, llvm::DIFile) + 849</div><div>9 clang 0x00000000007cd6d8 clang::CodeGen::CGDebugInfo::EmitFunctionStart(clang::GlobalDecl, clang::QualType, llvm::Function*, llvm::IRBuilder<true, llvm::ConstantFolder, llvm::IRBuilderDefaultInserter<true> >&) + 1656</div><div>10 clang 0x000000000088fb3c clang::CodeGen::CodeGenFunction::StartFunction(clang::GlobalDecl, clang::QualType, llvm::Function*, clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::FunctionArgList const&, clang::SourceLocation) + 1388</div><div>11 clang 0x0000000000890936 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) + 470</div><div>12 clang 0x000000000077178c clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl) + 3228</div><div>13 clang 0x000000000076e754 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl) + 260</div><div>14 clang 0x00000000007698ff</div><div>15 clang 0x0000000000768b97</div><div>16 clang 0x00000000008b67a3 clang::ParseAST(clang::Sema&, bool, bool) + 291</div><div>17 clang 0x0000000000627a6d clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 893</div><div>18 clang 0x000000000060fcd8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 2728</div><div>19 clang 0x0000000000605078 cc1_main(char const**, char const**, char const*, void*) + 664</div><div>20 clang 0x000000000060c1ae main + 3678</div><div>21 libc.so.6 0x00002ac1bc92076d __libc_start_main + 237</div><div>22 clang 0x0000000000604d05</div><div>Stack dump:</div><div>0.<span class="Apple-tab-span" style="white-space:pre"> </span>Program arguments: /home/krishan/cloud9/src/third_party/llvm-build/Release+Asserts/bin/clang -cc1 -triple x86_64-unknown-linux-gnu -emit-llvm-bc -disable-free -main-file-name des.c -pic-level 2 -mdisable-fp-elim -relaxed-aliasing -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64 -target-linker-version 2.22 -momit-leaf-frame-pointer -g -coverage-file libcrypt/des.os -nostdsysteminc -nobuiltininc -resource-dir /home/krishan/cloud9/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.1 -isystem /usr/include/x86_64-linux-gnu -include ./include/libc-symbols.h -isystem .//../third_party/llvm-build/Release+Asserts/lib/clang/3.1/include -D STATIC -D NDEBUG -D NOT_IN_libc -D IS_IN_libcrypt -I ./include -I . -I /usr/include/ -fmodule-cache-path /var/tmp/clang-module-cache -O0 -Wall -Wstrict-prototypes -std=gnu99 -fdebug-compilation-dir /home/krishan/cloud9/src/klee-uclibc -ferror-limit 19 -fmessage-length 80 -mstackrealign -fno-builtin -fgnu-runtime -fobjc-runtime-has-arc -fobjc-runtime-has-weak -fobjc-fragile-abi -fdiagnostics-show-option -fcolor-diagnostics -o libcrypt/des.os -x c libcrypt/des.c </div><div>1.<span class="Apple-tab-span" style="white-space:pre"> </span>libcrypt/des.c:642:1: current parser token 'char'</div><div>2.<span class="Apple-tab-span" style="white-space:pre"> </span>libcrypt/des.c:620:1: LLVM IR generation of declaration 'encrypt'</div><div>3.<span class="Apple-tab-span" style="white-space:pre"> </span>libcrypt/des.c:620:1: Generating code for declaration 'encrypt'</div><div>clang: error: unable to execute command: Segmentation fault (core dumped)</div><div>clang: error: clang frontend command failed due to signal (use -v to see invocation)</div><div>clang: note: diagnostic msg: Please submit a bug report to <a href="http://llvm.org/bugs/" target="_blank">http://llvm.org/bugs/</a> and include command line arguments and all diagnostic information.</div><div>clang: note: diagnostic msg: Preprocessed source(s) and associated run script(s) are located at:</div><div>clang: note: diagnostic msg: /tmp/des-6nf870.i</div><div>clang: note: diagnostic msg: /tmp/des-6nf870.sh</div><div>make: *** [libcrypt/des.os] Error 254</div><div>krishan@ubuntu:~/cloud9/src/klee-uclibc$</div><div><br></div><div><br></div><div><br></div><div>Please help me</div><div><br></div><div>Thanks.</div><div><br></div><div>Krish</div>________________________________<br>> From: <a href="mailto:popizdeh@gmail.com">popizdeh@gmail.com</a> <br>> Date: Fri, 19 Sep 2014 13:01:29 +1000 <br>> Subject: Re: [cfe-dev] clang: error: unable to execute command: <br>> Segmentation fault (core dumped) <br>> To: <a href="mailto:krishan22@hotmail.com">krishan22@hotmail.com</a> <br>> CC: <a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a> <br>> <br>> What version of clang are you using? Clang should generate a crash <br>> report with preprocessed file and invocation script that reproduces the <br>> bug, do you have this? <br>> <br>> On Fri, Sep 19, 2014 at 11:18 AM, Krishanthan Krishnamoorthy <br>> <<a href="mailto:krishan22@hotmail.com">krishan22@hotmail.com</a><mailto:<a href="mailto:krishan22@hotmail.com">krishan22@hotmail.com</a>>> wrote: <br>> Hi All, <br>> <br>> I am building and installing the cloud9 symbolic execution engine in <br>> VMware, Ubuntu 12.04 machine. And in the middle of compiling process I <br>> got error like this <br>> <br>> clang: error: unable to execute command: Segmentation fault (core dumped) <br>> clang: error: clang frontend command failed due to signal (use -v to <br>> see invocation) <br>> <br>> Please help me, trying this for couple of days but no luck.. <br>> <br>> Thank-you <br>> <br>> Krish <br>> <br>> _______________________________________________ <br>> cfe-dev mailing list <br>> <a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><mailto:<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a>> <br>> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a> <br>> <br>> <br></div> </blockquote></div><br></div>