agriyakhetarpal commented on PR #47330:
URL: https://github.com/apache/arrow/pull/47330#issuecomment-3187262373

   Hmm, now the C++ build and Python compilation are succeeding, but we have a 
failure at link time. We have:
   
   `wasm-ld: error: attempted static link of dynamic object 
release/libarrow_python.so`
   
   `em++: error: '/root/emsdk/upstream/bin/wasm-ld -o 
release/lib.cpython-313-wasm32-emscripten.so CMakeFiles/lib.dir/lib.cpp.o 
release/libarrow_python.so 
-L/root/emsdk/upstream/emscripten/cache/sysroot/lib/wasm32-emscripten 
-L/root/emsdk/upstream/emscripten/src/lib --relocatable -mllvm 
-combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions 
-mllvm -enable-emscripten-sjlj -mllvm -disable-lsr' failed (returned 1)`
   
   This indicates that we either intended to build `libarrow_python.a` instead 
of `libarrow_python.so`, or that we are incorrectly passing `-static` somewhere 
at link time and one of the `SHARED`/`STATIC` build flags was incorrectly 
turned `ON`/`OFF`. I suspect it is the former.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to