cmu-db / peloton

The Self-Driving Database Management System
http://pelotondb.io
Apache License 2.0
2.03k stars 622 forks source link

build failed on Ubuntu linux 16.05 with unrecognizable insn #1477

Closed Handora closed 6 years ago

Handora commented 6 years ago

My system is ubuntu 16.05 with gcc and g++ 5.4.0 and build as the instructions as Wiki.

fail logs are as follow:

/home/handora/Src/peloton/src/codegen/interpreter/bytecode_interpreter.cpp: In member function ‘void peloton::codegen::interpreter::BytecodeInterpreter::ExecuteFunction(const std::vector<long unsigned int>&)’:
/home/handora/Src/peloton/src/codegen/interpreter/bytecode_interpreter.cpp:120:1: error: unrecognizable insn:
 }
 ^
(insn 5536 5535 5537 332 (set (reg:DI 9594)
        (unspec:DI [
                (reg:DI 9596)
                (reg:DI 9598)
            ] UNSPEC_CRC32)) /home/handora/Src/peloton/src/include/codegen/interpreter/bytecode_interpreter.h:1079 -1
     (nil))
/home/handora/Src/peloton/src/codegen/interpreter/bytecode_interpreter.cpp:120:1: internal compiler error: in extract_insn, at recog.c:2343
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
src/CMakeFiles/peloton.dir/build.make:3614: recipe for target 'src/CMakeFiles/peloton.dir/codegen/interpreter/bytecode_interpreter.cpp.o' failed
apavlo commented 6 years ago

It looks like you are running on an older CPU?