berkaysynnada opened a new issue, #13513:
URL: https://github.com/apache/datafusion/issues/13513

   ### 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:
   ```
   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: psm@0.1.24: warning: ...
   ```
   
   I suspect the issue is related to the psm dependency, and it is coming with 
recursive crate, which was introduced in 
[#13310](https://github.com/apache/datafusion/pull/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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to