0xPolygonHermez/zkevm-prover

Can't compile (Tried docker as well doesnt work either) using ubuntu

Opened this issue · 2 comments

I'm following the instructions word for word but I'm getting these errors when compiling. Any help would be much appreciated!

cc1plus: error: ./src/sm/bits2field_sha256: Input/output error
cc1plus: error: ./src/goldilocks/.vscode: Input/output error
cc1plus: error: ./src/goldilocks/benchs: Input/output error
cc1plus: error: ./src/goldilocks/src: Input/output error
cc1plus: error: ./src/sm/mem_align: Input/output error
cc1plus: error: ./src/sm/mem_align: Input/output error
cc1plus: error: ./src/sm/mem_align: Input/output error
cc1plus: error: ./src/main_sm/fork_5/pols_generated: Input/output error
cc1plus: error: ./src/main_sm/fork_5/scripts: Input/output error
cc1plus: error: ./src/main_sm/fork_6/main_exec_generated: Input/output error
cc1plus: error: ./src/sm/poseidon_g: Input/output error
cc1plus: error: ./src/sm/sha256_f: Input/output error
cc1plus: error: ./src/main_sm/fork_5/main_exec_generated: Input/output error
nasm: fatal: unable to open input file `src/ffiasm/fq.asm' Input/output error
make: *** [Makefile:80: build/./src/ffiasm/fq.asm.o] Error 1
cc1plus: error: ./src/main_sm/fork_3/main_exec_generated: Input/output error
make: *** [Makefile:85: build/./src/config/zkresult.cpp.o] Error 1
make: *** [Makefile:85: build/./src/config/zkglobals.cpp.o] Error 1
make: *** [Makefile:85: build/./src/config/config.cpp.o] Error 1
make: *** [Makefile:85: build/./src/executor/executor.cpp.o] Error 1
make: *** [Makefile:85: build/./src/ffiasm/fec.cpp.o] Error 1
make: *** [Makefile:85: build/./src/ffiasm/fnec.cpp.o] Error 1
make: *** [Makefile:85: build/./src/ffiasm/fq.cpp.o] Error 1
make: *** [Makefile:85: build/./src/goldilocks/src/goldilocks_base_field.cpp.o] Error 1
make: *** [Makefile:85: build/./src/goldilocks/src/goldilocks_cubic_extension.cpp.o] Error 1

Hi @Ilaieri , were you getting issues due to memory exhaustion (OOM)?? such as:

g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.

Hi @Ilaieri. Did you find a resolution to this problem?