Re: [I] [C++] version script assignment of 'local' to symbol '__once_proxy' failed: symbol not defined [arrow]

2025-03-15 Thread via GitHub


arashandishgar commented on issue #43355:
URL: https://github.com/apache/arrow/issues/43355#issuecomment-2716864971

   > Could you open a PR with the patch?
   
   I had the same problem on Ubuntu24.04 for parquet, and the above patches 
solved it. Would it be possible to merge these patches into the main branch?


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

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



Re: [I] [C++] version script assignment of 'local' to symbol '__once_proxy' failed: symbol not defined [arrow]

2025-03-12 Thread via GitHub


kou commented on issue #43355:
URL: https://github.com/apache/arrow/issues/43355#issuecomment-2716907414

   Yes.


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

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



Re: [I] [C++] version script assignment of 'local' to symbol '__once_proxy' failed: symbol not defined [arrow]

2025-01-08 Thread via GitHub


kou commented on issue #43355:
URL: https://github.com/apache/arrow/issues/43355#issuecomment-2578704866

   Could you open a PR with the patch?


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

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



Re: [I] [C++] version script assignment of 'local' to symbol '__once_proxy' failed: symbol not defined [arrow]

2025-01-08 Thread via GitHub


spchamp commented on issue #43355:
URL: https://github.com/apache/arrow/issues/43355#issuecomment-2578694999

   It seems there's a similar expression is an other file, 
`cpp/src/parquet/symbols.map`
   
   ```diff
   --- a/cpp/src/parquet/symbols.map
   +++ b/cpp/src/parquet/symbols.map
   @@ -21,7 +21,7 @@
  local:
# devtoolset / static-libstdc++ symbols
__cxa_*;
   -__once_proxy;
   +__once_proxy*;

extern "C++" {
  # boost
   
   ```
   
   I've attached a diff for patching both files. With both files similarly 
patched, the build succeeds here
   
   
[patch_gandiva+parquet_once_proxy.diff.txt](https://github.com/user-attachments/files/18353264/patch_gandiva%2Bparquet_once_proxy.diff.txt)
   


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

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



Re: [I] [C++] version script assignment of 'local' to symbol '__once_proxy' failed: symbol not defined [arrow]

2025-01-08 Thread via GitHub


spchamp commented on issue #43355:
URL: https://github.com/apache/arrow/issues/43355#issuecomment-2578515764

   I'm seeing a similar build failure when trying to build the latest pyarrow 
source, changeset 4ede48c89 on a FreeBSD 14 machine. The compiler is clang 
18.1.5 from the FreeBSD base base system.
   
   I understand that the host OS is probably a little out of date with regards 
to FreeBSD releases. 
   
   ```bash
   $ uname
   FreeBSD host.name 14.1-BETA3 FreeBSD 14.1-BETA3 releng/14.1-dcde37c41 XMIN 
amd64
   $ cc --version
   FreeBSD clang version 18.1.5 (https://github.com/llvm/llvm-project.git 
llvmorg-18.1.5-0-g617a15a9eac9)
   Target: x86_64-unknown-freebsd14.1
   Thread model: posix
   InstalledDir: /usr/bin
   ```
   
   The patch has not affected the build failure here. Using the initial build 
config and the patched sources, the build fails with a similar error. Partial 
output:
   ```
   [414/468] Linking CXX shared library relwithdebinfo/libparquet.so.1900.0.0
   FAILED: relwithdebinfo/libparquet.so.1900.0.0 
   : && /usr/local/libexec/ccache/c++ -fPIC -Qunused-arguments 
-fcolor-diagnostics  -Wall -Wextra -Wdocumentation -DARROW_WARN_DOCUMENTATION 
-Wshorten-64-to-32 -Wno-missing-braces -Wno-unused-parameter 
-Wno-constant-logical-operand -Wno-return-stack-address -Wdate-time 
-Wno-unknown-warning-option -Wno-pass-failed -msse4.2  -O2 -g -DNDEBUG -ggdb  
-Wl,--version-script=/usr/local/src/pyarrow/pyarrow_src/cpp/src/parquet/symbols.map
 -shared -Wl,-soname,libparquet.so.1900 -o 
relwithdebinfo/libparquet.so.1900.0.0 
src/parquet/CMakeFiles/parquet_objlib.dir/arrow/path_internal.cc.o 
src/parquet/CMakeFiles/parquet_objlib.dir/arrow/reader.cc.o 
src/parquet/CMakeFiles/parquet_objlib.dir/arrow/reader_internal.cc.o 
src/parquet/CMakeFiles/parquet_objlib.dir/arrow/schema.cc.o 
src/parquet/CMakeFiles/parquet_objlib.dir/arrow/schema_internal.cc.o 
src/parquet/CMakeFiles/parquet_objlib.dir/arrow/writer.cc.o 
src/parquet/CMakeFiles/parquet_objlib.dir/bloom_filter.cc.o 
src/parquet/CMakeFiles/parquet_objlib.dir
 /bloom_filter_reader.cc.o 
src/parquet/CMakeFiles/parquet_objlib.dir/column_reader.cc.o 
src/parquet/CMakeFiles/parquet_objlib.dir/column_scanner.cc.o 
src/parquet/CMakeFiles/parquet_objlib.dir/column_writer.cc.o 
src/parquet/CMakeFiles/parquet_objlib.dir/decoder.cc.o 
src/parquet/CMakeFiles/parquet_objlib.dir/encoder.cc.o 
src/parquet/CMakeFiles/parquet_objlib.dir/encryption/encryption.cc.o 
src/parquet/CMakeFiles/parquet_objlib.dir/encryption/internal_file_decryptor.cc.o
 
src/parquet/CMakeFiles/parquet_objlib.dir/encryption/internal_file_encryptor.cc.o
 src/parquet/CMakeFiles/parquet_objlib.dir/exception.cc.o 
src/parquet/CMakeFiles/parquet_objlib.dir/file_reader.cc.o 
src/parquet/CMakeFiles/parquet_objlib.dir/file_writer.cc.o 
src/parquet/CMakeFiles/parquet_objlib.dir/level_comparison.cc.o 
src/parquet/CMakeFiles/parquet_objlib.dir/level_conversion.cc.o 
src/parquet/CMakeFiles/parquet_objlib.dir/metadata.cc.o 
src/parquet/CMakeFiles/parquet_objlib.dir/xxhasher.cc.o 
src/parquet/CMakeFiles/parque
 t_objlib.dir/page_index.cc.o 
src/parquet/CMakeFiles/parquet_objlib.dir/__/generated/parquet_types.cpp.o 
src/parquet/CMakeFiles/parquet_objlib.dir/platform.cc.o 
src/parquet/CMakeFiles/parquet_objlib.dir/printer.cc.o 
src/parquet/CMakeFiles/parquet_objlib.dir/properties.cc.o 
src/parquet/CMakeFiles/parquet_objlib.dir/schema.cc.o 
src/parquet/CMakeFiles/parquet_objlib.dir/size_statistics.cc.o 
src/parquet/CMakeFiles/parquet_objlib.dir/statistics.cc.o 
src/parquet/CMakeFiles/parquet_objlib.dir/stream_reader.cc.o 
src/parquet/CMakeFiles/parquet_objlib.dir/stream_writer.cc.o 
src/parquet/CMakeFiles/parquet_objlib.dir/types.cc.o 
src/parquet/CMakeFiles/parquet_objlib.dir/level_comparison_avx2.cc.o 
src/parquet/CMakeFiles/parquet_objlib.dir/level_conversion_bmi2.cc.o 
src/parquet/CMakeFiles/parquet_objlib.dir/encryption/encryption_internal_nossl.cc.o
  -Wl,-rpath,/usr/local/src/pyarrow/build/relwithdebinfo:/usr/local/lib:  
relwithdebinfo/libarrow.so.1900.0.0  /usr/local/lib/libthrift.so  /usr/local/li
 b/libssl.so  /usr/local/lib/libcrypto.so  -lpthread && :
   ld: error: version script assignment of 'local' to symbol '__once_proxy' 
failed: symbol not defined
   c++: error: linker command failed with exit code 1 (use -v to see invocation)
   ```
   
   With additional cmake args `-DARROW_PARQUET=OFF -DARROW_SUBSTRAIT=OFF` then 
the build completes successfully.
   
   A build log, including output from `set -e` under `/bin/sh`. 
   
   ```
   + CMAKE_FLAGS=' -DARROW_PARQUET=ON -DARROW_FLIGHT=ON -DARROW_DATASET=ON 
-DARROW_WITH_BROTLI=ON -DARROW_WITH_BZ2=ON'
   + BUILD_TYPE=RelWithDebInfo
   + 
PKG_CONFIG_PATH=/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/local/ffmpeg4/libdata/pkgconfig
   + ARROW_HOME=/usr/local/src/pyarrow/dist
   + LD_LIBRARY_PATH=/usr/local/src/pyarrow/dist/lib
   + CMAKE_PREFIX_PATH=/usr/local/src/pyarrow/dist:/usr/local:
   + export PKG_CONFIG_PATH ARR

Re: [I] [C++] version script assignment of 'local' to symbol '__once_proxy' failed: symbol not defined [arrow]

2024-07-22 Thread via GitHub


kou commented on issue #43355:
URL: https://github.com/apache/arrow/issues/43355#issuecomment-2242442553

   Could you share the build failure log?


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

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



Re: [I] [C++] version script assignment of 'local' to symbol '__once_proxy' failed: symbol not defined [arrow]

2024-07-22 Thread via GitHub


yurivict commented on issue #43355:
URL: https://github.com/apache/arrow/issues/43355#issuecomment-2242430202

   This patch fixes the build failure.


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

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



Re: [I] [C++] version script assignment of 'local' to symbol '__once_proxy' failed: symbol not defined [arrow]

2024-07-21 Thread via GitHub


kou commented on issue #43355:
URL: https://github.com/apache/arrow/issues/43355#issuecomment-2241778947

   I think that RHEL's devtoolset's dhstatic-libstdc++ includes it based  on 
the comment: 
https://github.com/apache/arrow/blob/05ab846b4f96b2ff70e2a5918cb713734b7c063b/cpp/src/gandiva/symbols.map#L22
   
   BTW, what is your problem?
   
   Does the following fix it?
   
   ```diff
   diff --git a/cpp/src/gandiva/symbols.map b/cpp/src/gandiva/symbols.map
   index dbce381f3e..794822b7ff 100644
   --- a/cpp/src/gandiva/symbols.map
   +++ b/cpp/src/gandiva/symbols.map
   @@ -21,7 +21,7 @@
  local:
# devtoolset / static-libstdc++ symbols
__cxa_*;
   -__once_proxy;
   +__once_proxy*;

extern "C++" {
  # devtoolset or -static-libstdc++ - the Red Hat devtoolset statically
   ```


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

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