<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Ryan,<div>See instructions at the bottom for submitting a bug report.</div><div><br><div><div>On Jul 9, 2012, at 5:34 PM, Ryan Taylor wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">llvm[1]: Compiling APFloat.cpp for Release+Asserts build<br>clang: TargetInfo.cpp:1778: llvm::Type *GetX86_64ByValArgumentPair(llvm::Type *, llvm::Type *, const llvm::TargetData &): Assertion `Lo->isIntegerTy() && "Invalid/unknown lo type"' failed.<br>
0  clang           0x0000000001c132ef<br>1  clang           0x0000000001c13804<br>2  libpthread.so.0 0x00002ba7d7eaec60<br>3  libc.so.6       0x00002ba7d8a97d05 gsignal + 53<br>4  libc.so.6       0x00002ba7d8a9bab6 abort + 390<br>
5  libc.so.6       0x00002ba7d8a907c5 __assert_fail + 245<br>6  clang           0x00000000007774c7<br>7  clang           0x0000000000775aee<br>8  clang           0x0000000000777d1c<br>9  clang           0x0000000000782550 clang::CodeGen::CodeGenTypes::arrangeFunctionType(clang::CanQual<clang::Type>, llvm::ArrayRef<clang::CanQual<clang::Type> >, clang::FunctionType::ExtInfo const&, clang::CodeGen::RequiredArgs) + 384<br>
10 clang           0x0000000000783228 clang::CodeGen::CodeGenTypes::arrangeCXXConstructorDeclaration(clang::CXXConstructorDecl const*, clang::CXXCtorType) + 968<br>11 clang           0x0000000000785289 clang::CodeGen::CodeGenTypes::GetFunctionType(clang::GlobalDecl) + 9<br>
12 clang           0x00000000007800df clang::CodeGen::CodeGenModule::TryEmitDefinitionAsAlias(clang::GlobalDecl, clang::GlobalDecl) + 175<br>13 clang           0x000000000078040b clang::CodeGen::CodeGenModule::EmitCXXConstructor(clang::CXXConstructorDecl const*, clang::CXXCtorType) + 123<br>
14 clang           0x000000000074fa73 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl) + 419<br>15 clang           0x000000000075126a clang::CodeGen::CodeGenModule::EmitGlobal(clang::GlobalDecl) + 1530<br>
16 clang           0x0000000000780312 clang::CodeGen::CodeGenModule::EmitCXXConstructors(clang::CXXConstructorDecl const*) + 98<br>17 clang           0x0000000000757348 clang::CodeGen::CodeGenModule::EmitTopLevelDecl(clang::Decl*) + 968<br>
18 clang           0x000000000074aa4f<br>19 clang           0x0000000000749e2c<br>20 clang           0x0000000000873592 clang::ParseAST(clang::Sema&, bool) + 306<br>21 clang           0x0000000000749168 clang::CodeGenAction::ExecuteAction() + 184<br>
22 clang           0x000000000061ce4d clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 925<br>23 clang           0x0000000000605523 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 3379<br>
24 clang           0x00000000005fa7cb cc1_main(char const**, char const**, char const*, void*) + 731<br>25 clang           0x0000000000601b9a main + 3482<br>26 libc.so.6       0x00002ba7d8a82eff __libc_start_main + 255<br>
27 clang           0x00000000005fa42d<br>Stack dump:<br>0.    Program arguments: /usr/local/bin/clang -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -disable-free -main-file-name APFloat.cpp -pic-level 2 -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64 -momit-leaf-frame-pointer -coverage-file /home/ryan/llvm/llvm_core/trunk/lib/Support/Release+Asserts/APFloat.o -resource-dir /usr/local/bin/../lib/clang/3.1 -dependency-file /home/ryan/llvm/llvm_core/trunk/lib/Support/Release+Asserts/APFloat.d.tmp -MP -MT /home/ryan/llvm/llvm_core/trunk/lib/Support/Release+Asserts/APFloat.o -MT /home/ryan/llvm/llvm_core/trunk/lib/Support/Release+Asserts/APFloat.d -D _DEBUG -D _GNU_SOURCE -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D __STDC_LIMIT_MACROS -I /home/ryan/llvm/llvm_core/trunk/include -I /home/ryan/llvm/llvm_core/trunk/lib/Support -fmodule-cache-path /var/tmp/clang-module-cache -internal-isystem /usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5/../../../../../include/c++/4.5 -internal-isystem /usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5/../../../../../include/c++/4.5/x86_64-linux-gnu -internal-isystem /usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5/../../../../../include/c++/4.5/backward -internal-isystem /usr/local/include -internal-isystem /usr/local/bin/../lib/clang/3.1/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /include -internal-externc-isystem /usr/include -O3 -Woverloaded-virtual -Wcast-qual -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcovered-switch-default -fconst-strings -fdeprecated-macro -fdebug-compilation-dir /home/ryan/llvm/llvm_core/trunk/lib/Support -ferror-limit 19 -fmessage-length 122 -fvisibility-inlines-hidden -mstackrealign -fgnu-runtime -fobjc-runtime-has-arc -fobjc-runtime-has-weak -fobjc-fragile-abi -fdiagnostics-show-option -fcolor-diagnostics -o /home/ryan/llvm/llvm_core/trunk/lib/Support/Release+Asserts/APFloat.o -x c++ APFloat.cpp <br>
1.    APFloat.cpp:775:1: current parser token 'APFloat'<br>2.    APFloat.cpp:768:10: LLVM IR generation of declaration 'llvm::APFloat::APFloat'<br>3.    APFloat.cpp:768:10: Generating code for declaration 'llvm::APFloat::APFloat'<br>
clang: error: unable to execute command: Aborted<br>clang: error: clang frontend command failed due to signal (use -v to see invocation)<br></blockquote><div><br></div><div>Specifically, the following:</div>-------------------<br><blockquote type="cite">clang: note: diagnostic msg: Please submit a bug report to <a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a> and include command line arguments and all diagnostic information.</blockquote><blockquote type="cite">
clang: note: diagnostic msg: Preprocessed source(s) and associated run script(s) are located at:<br>clang: note: diagnostic msg: /tmp/APFloat-5agUDN.ii<br>clang: note: diagnostic msg: /tmp/APFloat-5agUDN.sh</blockquote><div>-------------------</div><br><blockquote type="cite">/bin/rm: cannot remove `/home/ryan/llvm/llvm_core/trunk/lib/Support/Release+Asserts/APFloat.d.tmp': No such file or directory<br>
gmake[1]: *** [/home/ryan/llvm/llvm_core/trunk/lib/Support/Release+Asserts/APFloat.o] Error 1<br>gmake[1]: Leaving directory `/home/ryan/llvm/llvm_core/trunk/lib/Support'<br>gmake: *** [all] Error 1<br></blockquote><div><br></div><div>Also, are you using top of trunk clang?  Given the format of the diagnostics message (which I changed recently) I'm guessing you are not.</div><div><br></div><div> Chad</div><div><br></div><br><blockquote type="cite">
_______________________________________________<br>LLVM Developers mailing list<br><a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</a><br><a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br></blockquote></div><br></div></body></html>