<meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">Hi everybody, <br><br>I'm new with clang as i'm using it for few days only. I did set up llvm and clang 2.9 and when i used clang command for analyze c++ files it worked almost correctly (since i had bugs but related to my machine i think). <br>

<br>I took recent versions of llvm and clang on SVN repository. <br>And now it does not work, and here are the errors i obtain when i attempt an analysis on a file called "list.cpp":<br><br><br>0  clang     0x0a308fd6<br>

1  clang     0x0a308d63<br>2            0x0023d400 __kernel_sigreturn + 0<br>3  clang     0x08d2c54f clang::FrontendAction::BeginSourceFile(clang::CompilerInstance&, llvm::StringRef, clang::InputKind) + 1329<br>4  clang     0x08d14930 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 758<br>

5  clang     0x08cbbf52 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 835<br>6  clang     0x08cadd45 cc1_main(char const**, char const**, char const*, void*) + 1014<br>7  clang     0x08cb7a33 main + 521<br>

8  libc.so.6 0x00764e37 __libc_start_main + 231<br>9  clang     0x08cad421<br>Stack dump:<br>0.    Program arguments: /home/cedric/llvm/Debug+Asserts/bin/clang -cc1 -triple i386-pc-linux-gnu -emit-obj -mrelax-all -disable-free -main-file-name list.cpp -mrelocation-model static -mdisable-fp-elim -masm-verbose -mconstructor-aliases -target-cpu pentium4 -target-linker-version 2.21 -momit-leaf-frame-pointer -resource-dir /home/cedric/llvm/Debug+Asserts/bin/../lib/clang/3.0 -fdeprecated-macro -ferror-limit 19 -fmessage-length 168 -fgnu-runtime -fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics -load /home/cedric/dxr/dxr-clang/xref-tools/cxx-clang/libclang-index-plugin.so -add-plugin dxr-index -plugin-arg-dxr-index ../CodeCPP/ -o /tmp/cc-00ZhSs.o -x c++ list.cpp <br>

clang: error: unable to execute command: Segmentation fault<br>clang: error: clang frontend command failed due to signal 2 (use -v to see invocation)<br><br>--> Anybody can say something about it ? I don't really get what occurs there.<br>

<br>thank you. <br>Regards,<br><br>Cédric Teyton</span>