Skip to content

Conversation

@damiannolan
Copy link
Collaborator

Overview

WIP for testing blob compression upstream breaking changes in evstack/ev-node#2547

@damiannolan damiannolan self-assigned this Aug 14, 2025
@damiannolan
Copy link
Collaborator Author

I don't think this can work as using zstd-sys relies on C code and C/libc toolchain which isn't available with the succinct sp1 toolchain "riscv32-succinct-zkvm". We end up with build errors:

[sp1]     Compiling zstd-sys v2.0.15+zstd.1.5.7
  [sp1]  warning: [email protected]+zstd.1.5.7: error: unable to create target: 'No available targets are compatible with triple "riscv32-succinct-zkvm"'
  [sp1]  warning: [email protected]+zstd.1.5.7: 1 error generated.
  [sp1]  warning: [email protected]+zstd.1.5.7: ToolExecError: command did not execute successfully (status code exit status: 1): LC_ALL="C" "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "--target=riscv32-succinct-zkvm" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-D__ILP32__" "-o" "/Users/damiannolan/development/celestia-zkevm-hl-testnet/target/elf-compilation/riscv32im-succinct-zkvm-elf/release/build/zstd-sys-c4798895049a6543/out/44ff4c55aa9e5133-debug.o" "-c" "zstd/lib/common/debug.c"cargo:warning=In file included from zstd/lib/common/entropy_common.c:18:
  [sp1]  warning: [email protected]+zstd.1.5.7: In file included from zstd/lib/common/mem.h:20:
  [sp1]  warning: [email protected]+zstd.1.5.7: zstd/lib/common/zstd_deps.h:41:10: fatal error: 'string.h' file not found
  [sp1]  warning: [email protected]+zstd.1.5.7: #include <string.h>
  [sp1]  warning: [email protected]+zstd.1.5.7:          ^~~~~~~~~~
  [sp1]  warning: [email protected]+zstd.1.5.7: 1 error generated.
  [sp1]  warning: [email protected]+zstd.1.5.7: ToolExecError: command did not execute successfully

@damiannolan
Copy link
Collaborator Author

I'm closing this for now as the branch is very stale, but this should be tested in future if ev-node implements blob compression

@damiannolan damiannolan closed this Oct 9, 2025
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

Successfully merging this pull request may close these issues.

2 participants