<HTML><BODY>
This is the output of:<br>clang test.cpp<br>executed on qemu emulated ppc with debian 3.2.0-4-powerpc #1 Debian 3.2.35-2 ppc GNU/Linux<br><br>The first that catch the eye (at list mine) is "-triple powerpc-unknown-linux-gnu " and "1.    <unknown> parser at unknown location". Ok, they are two things that got my eye. Anyway, hope it helps.<br><br>test@debian:~$ clang test.cpp <br>0  libLLVM-3.0.so.1 0x0fa74548<br>1  libLLVM-3.0.so.1 0x0fa74c8c<br>2                   0x00100364 __kernel_sigtramp32 + 0<br>3                   0x110819a8 __kernel_sigtramp32 + 284694084<br>4  clang            0x109d80f0 clang::Lexer::LexTokenInternal(clang::Token&) + 996<br>5  clang            0x10409120 clang::Preprocessor::Lex(clang::Token&) + 176<br>6  clang            0x109d9be0 clang::Lexer::LexTokenInternal(clang::Token&) + 7892<br>7  clang            0x10409120 clang::Preprocessor::Lex(clang::Token&) + 176<br>8  clang            0x109d9acc clang::Lexer::LexTokenInternal(clang::Token&) + 7616<br>9  clang            0x103ea544 clang::Parser::ConsumeToken() + 244<br>10 clang            0x103ea60c clang::Parser::ConsumeAnyToken() + 152<br>11 clang            0x10403644 clang::Parser::ExpectAndConsume(clang::tok::TokenKind, unsigned int, char const*, clang::tok::TokenKind) + 724<br>12 clang            0x10416bf8 clang::Parser::ParseDeclGroup(clang::Parser::ParsingDeclSpec&, unsigned int, bool, clang::SourceLocation*, clang::Parser::ForRangeInit*) + 2336<br>13 clang            0x1041a890 clang::Parser::ParseSimpleDeclaration(clang::ASTOwningVector<clang::Stmt*, 32u>&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&, bool, clang::Parser::ForRangeInit*) + 556<br>14 clang            0x1041aaac clang::Parser::ParseDeclaration(clang::ASTOwningVector<clang::Stmt*, 32u>&, unsigned int, clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&) + 196<br>15 clang            0x104059f0 clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&, clang::Parser::ParsingDeclSpec*) + 1084<br>16 clang            0x1040668c clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&) + 208<br>17 clang            0x103dec70 clang::ParseAST(clang::Sema&, bool) + 304<br>18 clang            0x101cf25c clang::ASTFrontendAction::ExecuteAction() + 240<br>19 clang            0x102c08d8 clang::CodeGenAction::ExecuteAction() + 92<br>20 clang            0x101cfd64 clang::FrontendAction::Execute() + 320<br>21 clang            0x101b8780 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 356<br>22 clang            0x101a1340 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1044<br>23 clang            0x1019a3e0 cc1_main(char const**, char const**, char const*, void*) + 724<br>24 clang            0x101984ac main + 1772<br>25 libc.so.6        0x0e8bfd4c<br>26 libc.so.6        0x0e8bff10<br>Stack dump:<br>0.    Program arguments: /usr/bin/clang -cc1 -triple powerpc-unknown-linux-gnu -S -disable-free -disable-llvm-verifier -main-file-name test.cpp -mrelocation-model static -mdisable-fp-elim -mconstructor-aliases -target-linker-version 2.22 -momit-leaf-frame-pointer -resource-dir /usr/bin/../lib/clang/3.0 -fmodule-cache-path /var/tmp/clang-module-cache -internal-isystem /usr/include/c++/4.6 -internal-isystem /usr/include/c++/4.6/powerpc-linux-gnu -internal-isystem /usr/include/c++/4.6/backward -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/clang/3.0/include -internal-externc-isystem /usr/include/powerpc-linux-gnu -internal-externc-isystem /usr/include -fdeprecated-macro -ferror-limit 19 -fmessage-length 211 -fno-signed-char -fgnu-runtime -fobjc-runtime-has-arc -fobjc-runtime-has-weak -fobjc-fragile-abi -fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics -o /tmp/test-xm469i.s -x c++ test.cpp <br>1.    <unknown> parser at unknown location<br>clang: error: unable to execute command: Illegal instruction<br>clang: error: clang frontend command failed due to signal 2 (use -v to see invocation)<br>clang: note: diagnostic msg: Please submit a bug report to http://llvm.org/bugs/ and include command line arguments and all diagnostic information.<br>clang: error: unable to execute command: Illegal instruction<br>clang: note: diagnostic msg: Error generating preprocessed source(s).<br>test@debian:~$ <br><br></BODY></HTML>