https://llvm.org/bugs/show_bug.cgi?id=25944
Bug ID: 25944 Summary: Assertion `Type == RT64_32' failed while building Qt 5.6.0-beta Product: clang Version: 3.7 Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: -New Bugs Assignee: unassignedclangb...@nondot.org Reporter: b...@linaro.org CC: llvm-bugs@lists.llvm.org Classification: Unclassified Trying to build Qt 5.6.0-beta with clang 3.7.0 results in clang-3.7: ../lib/Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp:160: unsigned int getRelocType64(MCSymbolRefExpr::VariantKind, X86_64RelType, bool): Assertion `Type == RT64_32' failed. #0 0x3a2d496173 llvm::sys::PrintStackTrace(llvm::raw_ostream&) (/usr/lib64/libLLVMSupport.so.3.7+0x3a2d496173) #1 0x3a2d496f75 (/usr/lib64/libLLVMSupport.so.3.7+0x3a2d496f75) #2 0x37d322f7f0 __restore_rt (/lib64/libc.so.6+0x37d322f7f0) #3 0x37d322f7a3 __GI_raise (/lib64/libc.so.6+0x37d322f7a3) #4 0x37d32306c2 __GI_abort (/lib64/libc.so.6+0x37d32306c2) #5 0x37d3229e62 __GI___assert_fail (/lib64/libc.so.6+0x37d3229e62) #6 0x37d3229ea6 __GI___assert_perror_fail (/lib64/libc.so.6+0x37d3229ea6) #7 0x3a2ee86660 (/usr/lib64/libLLVMX86Desc.so.3.7+0x3a2ee86660) #8 0x3a2de23fa8 (/usr/lib64/libLLVMMC.so.3.7+0x3a2de23fa8) #9 0x3a2de2ffa2 llvm::MCAssembler::handleFixup(llvm::MCAsmLayout const&, llvm::MCFragment&, llvm::MCFixup const&) (/usr/lib64/libLLVMMC.so.3.7+0x3a2de2ffa2) #10 0x3a2de302bf llvm::MCAssembler::Finish() (/usr/lib64/libLLVMMC.so.3.7+0x3a2de302bf) #11 0x3a31427220 llvm::AsmPrinter::doFinalization(llvm::Module&) (/usr/lib64/libLLVMAsmPrinter.so.3.7+0x3a31427220) #12 0x3a2d986133 llvm::FPPassManager::doFinalization(llvm::Module&) (/usr/lib64/libLLVMCore.so.3.7+0x3a2d986133) #13 0x3a2d986410 llvm::legacy::PassManagerImpl::run(llvm::Module&) (/usr/lib64/libLLVMCore.so.3.7+0x3a2d986410) #14 0x3a3c869d89 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::raw_pwrite_stream*) (/usr/lib64/libclangCodeGen.so.3.7+0x3a3c869d89) #15 0x3a3c973e5f (/usr/lib64/libclangCodeGen.so.3.7+0x3a3c973e5f) #16 0x3a3bc29e4e clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib64/libclangParse.so.3.7+0x3a3bc29e4e) #17 0x3a3c973577 clang::CodeGenAction::ExecuteAction() (/usr/lib64/libclangCodeGen.so.3.7+0x3a3c973577) #18 0x3a3c08ad69 clang::FrontendAction::Execute() (/usr/lib64/libclangFrontend.so.3.7+0x3a3c08ad69) #19 0x3a3c06a930 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib64/libclangFrontend.so.3.7+0x3a3c06a930) #20 0x3a3a802de4 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib64/libclangFrontendTool.so.3.7+0x3a3a802de4) #21 0x40f04e cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/usr/bin/clang-3.7+0x40f04e) #22 0x40bdb7 main (/usr/bin/clang-3.7+0x40bdb7) #23 0x37d3220efc __libc_start_main (/lib64/libc.so.6+0x37d3220efc) #24 0x40b8a9 _start (/usr/bin/clang-3.7+0x40b8a9) Stack dump: 0. Program arguments: /usr/bin/clang-3.7 -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all -disable-free -main-file-name compress.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -dwarf-column-info -coverage-file /home/bero/abf/qt5-qtbase/BUILD/qtbase-opensource-src-5.6.0-beta/src/tools/qlalr/.obj/compress.o -resource-dir /usr/bin/../lib64/clang/3.7.0 -D QT_NO_TSLIB -D QT_USE_QSTRINGBUILDER -D QT_NO_EXCEPTIONS -D _LARGEFILE64_SOURCE -D _LARGEFILE_SOURCE -D QT_NO_DEBUG -D QT_CORE_LIB -I . -I /usr/include/iodbc -I /usr/include/mysql -I /usr/include/vg -I ../../../include -I ../../../include/QtCore -I .moc -I ../../../mkspecs/linux-clang -internal-isystem /usr/bin/../lib64/gcc/x86_64-mandriva-linux-gnu/5.3.1/../../../../include/c++/5.3.1 -internal-isystem /usr/bin/../lib64/gcc/x86_64-mandriva-linux-gnu/5.3.1/../../../../include/c++/5.3.1/x86_64-mandriva-linux-gnu -internal-isystem /usr/bin/../lib64/gcc/x86_64-mandriva-linux-gnu/5.3.1/../../../../include/c++/5.3.1/backward -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib64/clang/3.7.0/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdeprecated-macro -fdebug-compilation-dir /home/bero/abf/qt5-qtbase/BUILD/qtbase-opensource-src-5.6.0-beta/src/tools/qlalr -ferror-limit 19 -fmessage-length 142 -mstackrealign -fobjc-runtime=gcc -fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics -o .obj/compress.o -x c++ compress.cpp 1. <eof> parser at end of file 2. Code generation clang-3.7: error: unable to execute command: Aborted (core dumped) clang-3.7: error: clang frontend command failed due to signal (use -v to see invocation) clang version 3.7.0 (branches/release_37) Target: x86_64-unknown-linux-gnu Thread model: posix clang-3.7: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script. clang-3.7: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-3.7: note: diagnostic msg: /tmp/compress-5eaa12.cpp clang-3.7: note: diagnostic msg: /tmp/compress-5eaa12.sh clang-3.7: note: diagnostic msg: ******************** -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs