<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Look like a rm -rf llvm, and a clean checkout rebuild solve the issue.<div><br></div><div><br><div><div>Le 24 sept. 2009 à 11:32, Jean-Daniel Dupas a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>When parsing tgmath.h using a fresh release build of clang (make ENABLE_OPTIMIZED=1 DISABLE_ASSERTIONS=1), I got this:</div><div>This crash does not occur with a debug build thought.</div><div><br></div><div>echo "<span class="Apple-style-span" style="color: rgb(202, 43, 36); font-family: Monaco; font-size: 10px; "><span style="color: #75492c">#include </span><tgmath.h>" > math.c</span></div><div>clang -v -E math.c</div><div><br></div><div><div>clang version 1.1 (<a href="http://llvm.org/svn/llvm-project/cfe/trunk%2082688">http://llvm.org/svn/llvm-project/cfe/trunk 82688</a>)</div><div>Target: x86_64-apple-darwin10</div><div>Thread model: posix</div><div> "/Volumes/MacPro/Projects/OpenSource/llvm/Release-Asserts/bin/clang-cc" -triple x86_64-apple-darwin10 -E -disable-free -main-file-name math.c --relocation-model pic -pic-level=1 --disable-fp-elim --unwind-tables=1 --mcpu=core2 --fmath-errno=0 -v -mmacosx-version-min=10.6.0 -fdiagnostics-show-option -o - -x c math.c</div><div>clang-cc version 1.1 based upon llvm 2.7svn hosted on x86_64-apple-darwin10</div><div>#include "..." search starts here:</div><div>#include <...> search starts here:</div><div> /Volumes/MacPro/Projects/OpenSource/llvm/Release-Asserts/lib/clang/1.1/include</div><div> /usr/local/include</div><div> /usr/include</div><div> /System/Library/Frameworks (framework directory)</div><div> /Library/Frameworks (framework directory)</div><div>End of search list.</div><div>0   clang-cc          0x000000010099b2a2 PrintStackTrace(void*) + 34</div><div>1   clang-cc          0x000000010099b7f9 SignalHandler(int) + 617</div><div>2   libSystem.B.dylib 0x00007fff817780aa _sigtramp + 26</div><div>3   libstdc++.6.dylib 0x00007fff80eb8f05 operator new(unsigned long) + 97</div><div>4   clang-cc          0x000000010037a81f clang::TokenLexer::ExpandFunctionArguments() + 767</div><div>5   clang-cc          0x0000000100379b70 clang::TokenLexer::Init(clang::Token&, clang::SourceLocation, clang::MacroArgs*) + 288</div><div>6   clang-cc          0x0000000100370916 clang::Preprocessor::EnterMacro(clang::Token&, clang::SourceLocation, clang::MacroArgs*) + 454</div><div>7   clang-cc          0x0000000100372439 clang::Preprocessor::HandleMacroExpandedIdentifier(clang::Token&, clang::MacroInfo*) + 745</div><div>8   clang-cc          0x0000000100376923 clang::Preprocessor::HandleIdentifier(clang::Token&) + 323</div><div>9   clang-cc          0x000000010035f80f clang::Lexer::LexIdentifier(clang::Token&, char const*) + 223</div><div>10  clang-cc          0x000000010035fec8 clang::Lexer::LexTokenInternal(clang::Token&) + 1192</div><div>11  clang-cc          0x0000000100022c7e clang::Preprocessor::Lex(clang::Token&) + 78</div><div>12  clang-cc          0x00000001000833bc clang::DoPrintPreprocessedInput(clang::Preprocessor&, llvm::raw_ostream*, bool, bool, bool, bool) + 1756</div><div>13  clang-cc          0x000000010001d98e main + 13918</div><div>14  clang-cc          0x0000000100018364 start + 52</div><div>Stack dump:</div><div>0.<span class="Apple-tab-span" style="white-space:pre">      </span>Program arguments: /Volumes/MacPro/Projects/OpenSource/llvm/Release-Asserts/bin/clang-cc -triple x86_64-apple-darwin10 -E -disable-free -main-file-name math.c --relocation-model pic -pic-level=1 --disable-fp-elim --unwind-tables=1 --mcpu=core2 --fmath-errno=0 -v -mmacosx-version-min=10.6.0 -fdiagnostics-show-option -o - -x c math.c </div><div>clang: error: preprocessor command failed due to signal 11 (use -v to see invocation)</div></div><div><div><br></div><div>Regards</div><div><br></div><div>
<div>-- Jean-Daniel</div><div><br></div><div><br></div><br class="Apple-interchange-newline">
</div>
<br></div></div>_______________________________________________<br>cfe-dev mailing list<br><a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev<br></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div>-- Jean-Daniel</div><div><br></div><div><br></div></span><br class="Apple-interchange-newline">
</div>
<br></div></body></html>