You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: failed to build archive at `.../target/wasm32-unknown-unknown/release/deps/libpsm-cc498cff4b514c30.rlib`: LLVM error: section too large
The following warnings were emitted during compilation:
warning: [email protected]: warning: ...
I suspect the issue is related to the psm dependency, and it is coming with recursive crate, which was introduced in #13310. I am unsure if this error can be resolved without removing or replacing this dependency.
To Reproduce
Go in datafusion/wasmtest and run cargo build --target wasm32-unknown-unknown
Expected behavior
It needs to compile
Additional context
I tried again after removing recursive dep, and it works successfully
The text was updated successfully, but these errors were encountered:
berkaysynnada
changed the title
recursive Dependency Causes "section too large" Error When Compiling for wasm32-unknown-unknown
"recursive" Dependency Causes "section too large" Error When Compiling for wasm32-unknown-unknown
Nov 21, 2024
berkaysynnada
changed the title
"recursive" Dependency Causes "section too large" Error When Compiling for wasm32-unknown-unknown
"recursive" Dependency Causes "section too large" Error When Compiling for wasm
Nov 21, 2024
Describe the bug
I am encountering a problem when trying to compile wasmtest with the following command:
RUSTFLAGS="-C link-arg=--max-memory=4294967296" cargo build --release --target wasm32-unknown-unknown
The build fails with the following error:
I suspect the issue is related to the psm dependency, and it is coming with
recursive
crate, which was introduced in #13310. I am unsure if this error can be resolved without removing or replacing this dependency.To Reproduce
Go in
datafusion/wasmtest
andrun cargo build --target wasm32-unknown-unknown
Expected behavior
It needs to compile
Additional context
I tried again after removing
recursive
dep, and it works successfullyThe text was updated successfully, but these errors were encountered: