Building everything without c++11 seems to work. Thanks again for your help.
On Mon, Oct 10, 2022 at 4:52 PM Joseph Porter
wrote:
> I think I found a culprit in the pyarrow cmake config:
>
> if(PYARROW_USE_TENSORFLOW)
> # TensorFlow uses the old GLIBCXX ABI, so we have to use it too
> set(CM
I think I found a culprit in the pyarrow cmake config:
if(PYARROW_USE_TENSORFLOW)
# TensorFlow uses the old GLIBCXX ABI, so we have to use it too
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_GLIBCXX_USE_CXX11_ABI=0")
endif()
This was overriding my attempts to add c++11 to the pyarrow build (whi
That makes sense. I'll give it a try - thanks!
On Mon, Oct 10, 2022 at 2:34 PM Antoine Pitrou wrote:
>
>
> Le 10/10/2022 à 21:31, Joseph Porter a écrit :
> > No go. I still get the B5cxx11 extension on the symbols in the compiled
> > libarrow library.
>
> "-D_GLIBCXX_USE_CXX11_ABI=0" is a C++ co
Le 10/10/2022 à 21:31, Joseph Porter a écrit :
No go. I still get the B5cxx11 extension on the symbols in the compiled
libarrow library.
"-D_GLIBCXX_USE_CXX11_ABI=0" is a C++ compiler flag, not a CMake flag.
One possibility is to pass instead
"-DCMAKE_CXX_FLAGS=-D_GLIBCXX_USE_CXX11_ABI=0" t
No go. I still get the B5cxx11 extension on the symbols in the compiled
libarrow library.
Tried:
/workspace/arrow/pyarrow-dev/bin/cmake -DCMAKE_INSTALL_PREFIX=$ARROW_HOME
-DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_BUILD_TYPE=Release -DARROW_DATASET=ON
-DARROW_WITH_BZ2=ON -DARROW_WITH_ZLIB=ON -DARROW_WITH_
Then instead pass "-D_GLIBCXX_USE_CXX11_ABI=0" when building the C++
libraries?
Le 10/10/2022 à 20:20, Joseph Porter a écrit :
Hi Antoine,
Here's what I did:
export PYARROW_CXXFLAGS="-std=c++11 -D_GLIBCXX_USE_CXX11_ABI=1"
Here's what I got:
ImportError:
/workspace/arrow/pyarrow-test/lib/p
Hi Antoine,
Here's what I did:
export PYARROW_CXXFLAGS="-std=c++11 -D_GLIBCXX_USE_CXX11_ABI=1"
Here's what I got:
ImportError:
/workspace/arrow/pyarrow-test/lib/python3.8/site-packages/pyarrow/
lib.cpython-38-x86_64-linux-gnu.so: undefined symbol:
_ZNK5arrow8DataType18ComputeFingerprintEv
It loo
Le 10/10/2022 à 19:27, Joseph Porter a écrit :
I've tried building with explicit flags to encourage the libraries to
include the cxx11 symbol (in python/CMakeLists.txt). That doesn't seem to
impact this issue:
set (CMAKE_CXX_STANDARD 11)
set (CMAKE_CXX_STANDARD_REQUIRED ON)
set (CMAKE_CXX_EX
If this isn't the right place to ask, please let me know where to direct
this question:
I'm trying to build a slightly modified version of the 9.0.0 tag for arrow
(particularly Pyarrow). Walking through the build steps (below), I have
run into a problem where the arrow c++ library has symbols tha