| Summary: | Backtrace compiling LLVM IR. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Casey Dahlin <casey.dahlin> | ||||||
| Component: | llvm | Assignee: | Tom Stellard <tstellar> | ||||||
| Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 24 | CC: | ajax, bos, davejohansen, dmalcolm, jistone, jv+fedora, petersen, scottt.tw | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2017-08-08 17:16:52 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Attachments: |
|
||||||||
Created attachment 1204028 [details]
Smaller reproducer
Smaller reproducer found. The unreachable block which initializes a register appears to be the issue. An error, but not an excuse to segfault.
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This message is a reminder that Fedora 24 is nearing its end of life. Approximately 2 (two) weeks from now Fedora will stop maintaining and issuing updates for Fedora 24. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '24'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 24 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. What options are you passing to llc to compile the smaller reproducer? Fedora 24 changed to end-of-life (EOL) status on 2017-08-08. Fedora 24 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |
Created attachment 1199869 [details] Error-triggering code Error messages below. File in question attached. #0 0x00007fcb76f74c28 llvm::sys::PrintStackTrace(llvm::raw_ostream&) (/lib64/libLLVM-3.8.so+0x53fc28) #1 0x00007fcb76f72e8d llvm::sys::RunSignalHandlers() (/lib64/libLLVM-3.8.so+0x53de8d) #2 0x00007fcb76f72fdb (/lib64/libLLVM-3.8.so+0x53dfdb) #3 0x00007fcb752ccc30 __restore_rt (/lib64/libpthread.so.0+0x10c30) #4 0x00007fcb770d31f4 llvm::Type::isEmptyTy() const (/lib64/libLLVM-3.8.so+0x69e1f4) #5 0x00007fcb77375dc6 llvm::FastISel::lowerCall(llvm::CallInst const*) (/lib64/libLLVM-3.8.so+0x940dc6) #6 0x00007fcb77379de2 llvm::FastISel::selectCall(llvm::User const*) (/lib64/libLLVM-3.8.so+0x944de2) #7 0x00007fcb77376e8d llvm::FastISel::selectOperator(llvm::User const*, unsigned int) (/lib64/libLLVM-3.8.so+0x941e8d) #8 0x00007fcb7737c1ad llvm::FastISel::selectInstruction(llvm::Instruction const*) (/lib64/libLLVM-3.8.so+0x9471ad) #9 0x00007fcb7748f924 llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) (/lib64/libLLVM-3.8.so+0xa5a924) #10 0x00007fcb774914af llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) (/lib64/libLLVM-3.8.so+0xa5c4af) #11 0x00007fcb77c23eb4 (/lib64/libLLVM-3.8.so+0x11eeeb4) #12 0x00007fcb770bae88 llvm::FPPassManager::runOnFunction(llvm::Function&) (/lib64/libLLVM-3.8.so+0x685e88) #13 0x00007fcb770bb20b llvm::FPPassManager::runOnModule(llvm::Module&) (/lib64/libLLVM-3.8.so+0x68620b) #14 0x00007fcb770bb53d llvm::legacy::PassManagerImpl::run(llvm::Module&) (/lib64/libLLVM-3.8.so+0x68653d) #15 0x00007fcb76172963 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::raw_pwrite_stream*) (/lib64/libclangCodeGen.so+0x7c963) #16 0x00007fcb762eb068 (/lib64/libclangCodeGen.so+0x1f5068) #17 0x00007fcb75b84f0e clang::FrontendAction::Execute() (/lib64/libclangFrontend.so+0x9bf0e) #18 0x00007fcb75b512b6 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclangFrontend.so+0x682b6) #19 0x00007fcb758e68b3 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclangFrontendTool.so+0x28b3) #20 0x000055e96a5ad638 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/usr/bin/clang-3.8+0xe638) #21 0x000055e96a5a9fc0 main (/usr/bin/clang-3.8+0xafc0) #22 0x00007fcb7445d731 __libc_start_main (/lib64/libc.so.6+0x20731) #23 0x000055e96a5aba59 _start (/usr/bin/clang-3.8+0xca59) Stack dump: 0. Program arguments: /usr/bin/clang-3.8 -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name tmp2.ll -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 -debug-info-kind=limited -dwarf-version=4 -debugger-tuning=gdb -resource-dir /usr/bin/../lib64/clang/3.8.0 -fdebug-compilation-dir /home/sadmac/coding/ceylon/ceylon-llvm -ferror-limit 19 -fmessage-length 0 -fobjc-runtime=gcc -fdiagnostics-show-option -o /tmp/tmp2-dd482b.o -x ir /tmp/tmp2.ll 1. Code generation 2. Running pass 'Function Pass Manager' on module '/tmp/tmp2.ll'. 3. Running pass 'X86 DAG->DAG Instruction Selection' on function '@cMS4wLjA.tmp.run.nestedFunction' clang-3.8: error: unable to execute command: Segmentation fault (core dumped) clang-3.8: error: clang frontend command failed due to signal (use -v to see invocation) clang version 3.8.0 (tags/RELEASE_380/final) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-3.8: note: diagnostic msg: PLEASE submit a bug report to and include the crash backtrace, preprocessed source, and associated run script. clang-3.8: note: diagnostic msg: Error generating preprocessed source(s) - no preprocessable inputs.