Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Ilaieri opened this issue Feb 15, 2024 · 2 comments
Open

Comments

@Ilaieri
Copy link

Ilaieri commented Feb 15, 2024

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

@Ilaieri Ilaieri changed the title Can't compile Can't compile (Tried docker as well doesnt work either) using ubuntu Feb 15, 2024
@andreclaro
Copy link

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

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

@abbaahmad
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants