Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clang 3.6 crashes when building the lib #121

Open
beniz opened this issue Feb 13, 2015 · 0 comments
Open

clang 3.6 crashes when building the lib #121

beniz opened this issue Feb 13, 2015 · 0 comments

Comments

@beniz
Copy link
Collaborator

beniz commented Feb 13, 2015

Hell has returned, as clang-3.6 is again buggy and crashes while trying to compile cmastrategy.cc. The current workaround around the other clang bug #19 does not seem to prevent this crash, so this might well be yet another bug in clang. Just marking it here as an 'awareness' issue.

Stack is below:

0  libLLVM-3.6.so.1 0x00007f5386fd3562 llvm::sys::PrintStackTrace(_IO_FILE*) + 50
1  libLLVM-3.6.so.1 0x00007f5386fd19d1
2  libpthread.so.0  0x00007f5386974c90
3  libLLVM-3.6.so.1 0x00007f5387aa5355 llvm::DwarfUnit::addString(llvm::DIE&, llvm::dwarf::Attribute, llvm::StringRef) + 21
4  libLLVM-3.6.so.1 0x00007f5387a8339d llvm::DwarfCompileUnit::applyVariableAttributes(llvm::DbgVariable const&, llvm::DIE&) + 205
5  libLLVM-3.6.so.1 0x00007f5387a8dd1e llvm::DwarfDebug::finishVariableDefinitions() + 334
6  libLLVM-3.6.so.1 0x00007f5387a927a9 llvm::DwarfDebug::finalizeModuleInfo() + 57
7  libLLVM-3.6.so.1 0x00007f5387a9f8c6 llvm::DwarfDebug::endModule() + 38
8  libLLVM-3.6.so.1 0x00007f5387a72f69 llvm::AsmPrinter::doFinalization(llvm::Module&) + 585
9  libLLVM-3.6.so.1 0x00007f538735d3a9 llvm::FPPassManager::doFinalization(llvm::Module&) + 73
10 libLLVM-3.6.so.1 0x00007f53873686a5 llvm::legacy::PassManagerImpl::run(llvm::Module&) + 805
11 clang            0x00000000008c7ac3 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::raw_ostream*) + 3171
12 clang            0x00000000008b6094
13 clang            0x0000000000a8b165 clang::ParseAST(clang::Sema&, bool, bool) + 789
14 clang            0x0000000000718fb6 clang::FrontendAction::Execute() + 118
15 clang            0x00000000006f54e1 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 305
16 clang            0x00000000006dd613 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1859
17 clang            0x00000000006d7ad8 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) + 1288
18 clang            0x00000000006d70ae main + 9950
19 libc.so.6        0x00007f538609bec5 __libc_start_main + 245
20 clang            0x00000000006d711d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant