CMA-ES / libcmaes

libcmaes is a multithreaded C++11 library with Python bindings for high performance blackbox stochastic optimization using the CMA-ES algorithm for Covariance Matrix Adaptation Evolution Strategy
Other
321 stars 78 forks source link

clang 3.6 crashes when building the lib #121

Open beniz opened 9 years ago

beniz commented 9 years ago

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