etolabo / kumofs

kumofs is a scalable and highly available distributed key-value store.
http://kumofs.sourceforge.net/
Other
301 stars 16 forks source link

internal compiler error: in extract_insn #27

Open ferseiti opened 8 years ago

ferseiti commented 8 years ago

Hi. This is likely a compiler bug.

When building kumofs on Debian, using the following gcc version:

# gcc --version
gcc (Debian 5.3.1-3) 5.3.1 20151207`

It breaks with the following error:

cluster.cc:134:1: error: unrecognizable insn:
 }
 ^
(insn 977 976 978 78 (set (reg:CC 433)
        (compare:CC (reg:SI 431)
            (const_int 65535 [0xffff]))) cluster.cc:87 -1
     (nil))
cluster.cc:134:1: internal compiler error: in extract_insn, at recog.c:2343
0x102c3b8b _fatal_insn(char const*, rtx_def const*, char const*, int, char const*)
    ../../src/gcc/rtl-error.c:110
0x102c3bd7 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
    ../../src/gcc/rtl-error.c:118
0x109a05db extract_insn(rtx_insn*)
    ../../src/gcc/recog.c:2343
0x10835f9f instantiate_virtual_regs_in_insn
    ../../src/gcc/function.c:1598
0x10835f9f instantiate_virtual_regs
    ../../src/gcc/function.c:1966
0x10835f9f execute
    ../../src/gcc/function.c:2015

There is a gcc dump, but it is rather long.

ferseiti commented 8 years ago

Sorry, I forgot to add that I did this on ppc64le architecture