CompFUSE / DCA

DCA++
BSD 3-Clause "New" or "Revised" License
36 stars 28 forks source link

internal compiler error #232

Open gbalduzz opened 4 years ago

gbalduzz commented 4 years ago

When I try to compile on summit or on my desktop, I tried with gcc 8,9 and 10, I get exclusively with debug flags and CT-INT solver the following error.

//gpfs/alpine/proj-shared/cph102/gbalduzz/DCA/include/dca/phys/dca_step/cluster_solver/stdthread_qmci/stdthread_qmci_cluster_solver.hpp:44:7: internal compiler error: in force_decl_die, at dwarf2out.c:25916
 class StdThreadQmciClusterSolver : public QmciSolver {
       ^~~~~~~~~~~~~~~~~~~~~~~~~~
0x10535853 force_decl_die
    /sw/summit/gcc/8.1.1/src/gcc-8.1.1/gcc/dwarf2out.c:25916

The tests in release mode pass. This seems like a compiler issue, can anyone confirm? Does anyone know how to work around this?

PDoakORNL commented 4 years ago

Definitely a compiler issue, it doesn't happen with clang 8.0.1 on non summit power9. I need to check that it does happen with gcc. I could reproduce it on summit with gcc.