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

Fail to build SP1 and JOLT example cases #1

Open
tyshkor opened this issue May 29, 2024 · 0 comments
Open

Fail to build SP1 and JOLT example cases #1

tyshkor opened this issue May 29, 2024 · 0 comments

Comments

@tyshkor
Copy link

tyshkor commented May 29, 2024

When running an Ubuntu AWS instance with 512 GB RAM and all dependencies from README installed, getting build issues, for example command for SP1:
./eval.sh fibonacci sp1 poseidon 22 benchmark

Error log:

error: failed to run custom build command for `rustix v0.38.34`

Caused by:
  process didn't exit successfully: `/home/ubuntu/zkvm-perf/target/release/build/rustix-f4759cf84c74b5b2/build-script-build` (signal: 4, SIGILL: illegal instruction)
  --- stdout
  cargo:rerun-if-changed=build.rs
warning: build failed, waiting for other jobs to finish...
error: failed to run custom build command for `serde v1.0.201`

Caused by:
  process didn't exit successfully: `/home/ubuntu/zkvm-perf/target/release/build/serde-76655f79b4f165e8/build-script-build` (signal: 4, SIGILL: illegal instruction)
  --- stdout
  cargo:rerun-if-changed=build.rs
error: failed to run custom build command for `crossbeam-utils v0.8.19`

Caused by:
  process didn't exit successfully: `/home/ubuntu/zkvm-perf/target/release/build/crossbeam-utils-2f325b66b133dd86/build-script-build` (signal: 4, SIGILL: illegal instruction)
  --- stdout
  cargo:rerun-if-changed=no_atomic.rs
error: failed to run custom build command for `proc-macro2 v1.0.82`

Caused by:
  process didn't exit successfully: `/home/ubuntu/zkvm-perf/target/release/build/proc-macro2-f440d14f35bd3165/build-script-build` (signal: 4, SIGILL: illegal instruction)
error: failed to run custom build command for `syn v1.0.109`

Caused by:
  process didn't exit successfully: `/home/ubuntu/zkvm-perf/target/release/build/syn-fbbb777fb7ac5308/build-script-build` (signal: 4, SIGILL: illegal instruction)
error: failed to run custom build command for `paste v1.0.15`

Caused by:
  process didn't exit successfully: `/home/ubuntu/zkvm-perf/target/release/build/paste-ebedbaad4d79bb8e/build-script-build` (signal: 4, SIGILL: illegal instruction)
  --- stdout
  cargo:rerun-if-changed=build.rs
error: failed to run custom build command for `semver v1.0.23`

Caused by:
  process didn't exit successfully: `/home/ubuntu/zkvm-perf/target/release/build/semver-f7e8cc2f7299b976/build-script-build` (signal: 4, SIGILL: illegal instruction)
  --- stdout
  cargo:rerun-if-changed=build.rs
error: failed to run custom build command for `thiserror v1.0.60`

Caused by:
  process didn't exit successfully: `/home/ubuntu/zkvm-perf/target/release/build/thiserror-7e7c91ff9d01e2f3/build-script-build` (signal: 4, SIGILL: illegal instruction)
  --- stdout
  cargo:rerun-if-changed=build/probe.rs
  cargo:rustc-check-cfg=cfg(error_generic_member_access)
  cargo:rustc-check-cfg=cfg(thiserror_nightly_testing)
error: failed to run custom build command for `libc v0.2.154`

Caused by:
  process didn't exit successfully: `/home/ubuntu/zkvm-perf/target/release/build/libc-c521ba1c3214af5c/build-script-build` (signal: 4, SIGILL: illegal instruction)
  --- stdout
  cargo:rerun-if-changed=build.rs
error: failed to run custom build command for `anyhow v1.0.83`

Caused by:
  process didn't exit successfully: `/home/ubuntu/zkvm-perf/target/release/build/anyhow-ad634eddd7feff46/build-script-build` (signal: 4, SIGILL: illegal instruction)
  --- stdout
  cargo:rerun-if-changed=build/probe.rs
error: failed to run custom build command for `rustversion v1.0.16`

Caused by:
  process didn't exit successfully: `/home/ubuntu/zkvm-perf/target/release/build/rustversion-23f49b07942e5b4f/build-script-build` (signal: 4, SIGILL: illegal instruction)
  --- stdout
  cargo:rerun-if-changed=build/build.rs

Similarly for JOLT:
Command: ./eval.sh fibonacci jolt-zkvm poseidon 22 benchmark
Error log:

error: failed to run custom build command for `anyhow v1.0.83`

Caused by:
  process didn't exit successfully: `/home/ubuntu/zkvm-perf/target/release/build/anyhow-ad634eddd7feff46/build-script-build` (signal: 4, SIGILL: illegal instruction)
  --- stdout
  cargo:rerun-if-changed=build/probe.rs
warning: build failed, waiting for other jobs to finish...
error: failed to run custom build command for `proc-macro2 v1.0.82`

Caused by:
  process didn't exit successfully: `/home/ubuntu/zkvm-perf/target/release/build/proc-macro2-f440d14f35bd3165/build-script-build` (signal: 4, SIGILL: illegal instruction)
error: failed to run custom build command for `crossbeam-utils v0.8.19`

Caused by:
  process didn't exit successfully: `/home/ubuntu/zkvm-perf/target/release/build/crossbeam-utils-2f325b66b133dd86/build-script-build` (signal: 4, SIGILL: illegal instruction)
  --- stdout
  cargo:rerun-if-changed=no_atomic.rs
error: failed to run custom build command for `libc v0.2.154`

Caused by:
  process didn't exit successfully: `/home/ubuntu/zkvm-perf/target/release/build/libc-c521ba1c3214af5c/build-script-build` (signal: 4, SIGILL: illegal instruction)
  --- stdout
  cargo:rerun-if-changed=build.rs
error: failed to run custom build command for `serde v1.0.201`

Caused by:
  process didn't exit successfully: `/home/ubuntu/zkvm-perf/target/release/build/serde-76655f79b4f165e8/build-script-build` (signal: 4, SIGILL: illegal instruction)
  --- stdout
  cargo:rerun-if-changed=build.rs
error: failed to run custom build command for `syn v1.0.109`

Caused by:
  process didn't exit successfully: `/home/ubuntu/zkvm-perf/target/release/build/syn-fbbb777fb7ac5308/build-script-build` (signal: 4, SIGILL: illegal instruction)
error: failed to run custom build command for `paste v1.0.15`

Caused by:
  process didn't exit successfully: `/home/ubuntu/zkvm-perf/target/release/build/paste-ebedbaad4d79bb8e/build-script-build` (signal: 4, SIGILL: illegal instruction)
  --- stdout
  cargo:rerun-if-changed=build.rs
error: failed to run custom build command for `rustversion v1.0.16`

Caused by:
  process didn't exit successfully: `/home/ubuntu/zkvm-perf/target/release/build/rustversion-23f49b07942e5b4f/build-script-build` (signal: 4, SIGILL: illegal instruction)
  --- stdout
  cargo:rerun-if-changed=build/build.rs
error: failed to run custom build command for `typenum v1.17.0`

Caused by:
  process didn't exit successfully: `/home/ubuntu/zkvm-perf/target/release/build/typenum-21cd6ef3ba322883/build-script-main` (signal: 4, SIGILL: illegal instruction)
  --- stdout
  cargo:rerun-if-changed=build/main.rs
error: failed to run custom build command for `ahash v0.8.11`

Caused by:
  process didn't exit successfully: `/home/ubuntu/zkvm-perf/target/release/build/ahash-95d26b87cdedb472/build-script-build` (signal: 4, SIGILL: illegal instruction)
  --- stdout
  cargo:rerun-if-changed=build.rs
error: failed to run custom build command for `generic-array v0.14.7`

Caused by:
  process didn't exit successfully: `/home/ubuntu/zkvm-perf/target/release/build/generic-array-33f5c7c34f0e0500/build-script-build` (signal: 4, SIGILL: illegal instruction)
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

1 participant