Antoine Pitrou created ARROW-15897:
--------------------------------------

             Summary: [C++] Linker error when building Flight tests
                 Key: ARROW-15897
                 URL: https://issues.apache.org/jira/browse/ARROW-15897
             Project: Apache Arrow
          Issue Type: Bug
          Components: C++, FlightRPC
            Reporter: Antoine Pitrou
             Fix For: 8.0.0


When building the Flight unit tests, I get the following error:
{code}
[16/25] Linking CXX executable debug/flight-test-integration-server
FAILED: debug/flight-test-integration-server 
[... snip long linker command line ...]
/usr/bin/ld: /home/antoine/miniconda3/envs/pyarrow/lib/libgrpc++.so.1.44.0: 
undefined reference to `std::__throw_bad_array_new_length()@GLIBCXX_3.4.29'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
{code}

This is using a pre-built gRPC from conda-forge ({{grpc-cpp 1.44.0 
h3d78c48_1}}).
Other possibly relevant options: {{CMAKE_CXX_STANDARD=17}}, 
{{ARROW_BUILD_STATIC=OFF}}.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to