WillAyd opened a new issue, #45512:
URL: https://github.com/apache/arrow/issues/45512

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   If you disable every option of the C++ build:
   
   ```sh
   $ cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug 
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON -G Ninja -DARROW_COMPUTE=OFF -DARROW_IPC=OFF 
-DARROW_JSON=OFF -DARROW_CSV=OFF -DARROW_BUILD_TESTS=OFF -DARROW_FILESYSTEM=OFF 
-DARROW_BUILD_INTEGRATION=OFF -DARROW_ALTIVEC=OFF
   $ cmake --build build
   ```
   
   The produced libarrow.so file will contain undefined symbols:
   
   ```sh
   $ objdump -T -C ./build/release/libarrow.so | grep ipc
   0000000000000000      D  *UND*       0000000000000000  Base        
arrow::ipc::MakeFileWriter(std::shared_ptr<arrow::io::OutputStream>, 
std::shared_ptr<arrow::Schema> const&, arrow::ipc::IpcWriteOptions const&, 
std::shared_ptr<arrow::KeyValueMetadata const> const&)
   0000000000000000      D  *UND*       0000000000000000  Base        
arrow::ipc::IpcReadOptions::Defaults()
   0000000000000000      D  *UND*       0000000000000000  Base        
arrow::ipc::IpcWriteOptions::Defaults()
   0000000000000000      D  *UND*       0000000000000000  Base        
arrow::ipc::RecordBatchFileReader::Open(arrow::io::RandomAccessFile*, 
arrow::ipc::IpcReadOptions const&)
   ```
   
   As far as I can tell from the linker, these symbols are required by 
arrow/compute/expression.cc
   
   This issue was originally noticed in 
https://github.com/apache/arrow/pull/45441#discussion_r1951850254
   
   ### Component(s)
   
   C++


-- 
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: issues-unsubscr...@arrow.apache.org.apache.org

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

Reply via email to