Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-11233

[C++][Flight] Fail to link with bundled gRPC and Abseil

    XMLWordPrintableJSON

Details

    Description

      https://app.circleci.com/pipelines/github/ursa-labs/crossbow/69113/workflows/fb13620e-7211-4eb8-8fcf-3d053fbf3d40/jobs/14532

      [507/724] Linking CXX executable debug/flight-test-serverting.so.300 debug/libarrow_flight_testing.soK[K[K[Kc.o[KoK
      FAILED: debug/flight-test-server 
      : && /usr/bin/ccache /usr/lib/ccache/g++  -Wno-noexcept-type  -fdiagnostics-color=always -ggdb -O0  -Wall -Wno-conversion -Wno-deprecated-declarations -Wno-sign-conversion -Wno-unused-variable -Werror -fno-semantic-interposition -msse4.2  -g   src/arrow/flight/CMakeFiles/flight-test-server.dir/test_server.cc.o  -o debug/flight-test-server  -Wl,-rpath,/build/cpp/debug:/build/cpp/googletest_ep-prefix/lib debug/libarrow_flight_testing.so.300.0.0 debug/libarrow_testing.so.300.0.0 /usr/lib/x86_64-linux-gnu/libcrypto.so /usr/lib/x86_64-linux-gnu/libssl.so /usr/lib/x86_64-linux-gnu/libbrotlienc.so /usr/lib/x86_64-linux-gnu/libbrotlidec.so /usr/lib/x86_64-linux-gnu/libbrotlicommon.so orc_ep-install/lib/liborc.a protobuf_ep-install/lib/libprotobuf.a awssdk_ep-install/lib/libaws-cpp-sdk-identity-management.a awssdk_ep-install/lib/libaws-cpp-sdk-sts.a awssdk_ep-install/lib/libaws-cpp-sdk-cognito-identity.a awssdk_ep-install/lib/libaws-cpp-sdk-s3.a awssdk_ep-install/lib/libaws-cpp-sdk-core.a awssdk_ep-install/lib/libaws-c-event-stream.a awssdk_ep-install/lib/libaws-checksums.a awssdk_ep-install/lib/libaws-c-common.a /usr/lib/x86_64-linux-gnu/libutf8proc.so /usr/lib/x86_64-linux-gnu/libre2.so -ldl googletest_ep-prefix/lib/libgtest_maind.so googletest_ep-prefix/lib/libgmockd.so /usr/lib/x86_64-linux-gnu/libboost_filesystem.so /usr/lib/x86_64-linux-gnu/libboost_system.so -ldl /usr/lib/x86_64-linux-gnu/libgflags.so.2.2.2 googletest_ep-prefix/lib/libgtestd.so debug/libarrow_flight.so.300.0.0 grpc_ep-install/lib/libgrpc++.a absl_ep-install/lib/libabsl_bad_optional_access.a absl_ep-install/lib/libabsl_base.a absl_ep-install/lib/libabsl_cord.a absl_ep-install/lib/libabsl_graphcycles_internal.a absl_ep-install/lib/libabsl_int128.a absl_ep-install/lib/libabsl_malloc_internal.a absl_ep-install/lib/libabsl_raw_logging_internal.a absl_ep-install/lib/libabsl_spinlock_wait.a absl_ep-install/lib/libabsl_stacktrace.a absl_ep-install/lib/libabsl_status.a absl_ep-install/lib/libabsl_str_format_internal.a absl_ep-install/lib/libabsl_strings.a absl_ep-install/lib/libabsl_strings_internal.a absl_ep-install/lib/libabsl_symbolize.a absl_ep-install/lib/libabsl_synchronization.a absl_ep-install/lib/libabsl_throw_delegate.a absl_ep-install/lib/libabsl_time.a absl_ep-install/lib/libabsl_time_zone.a grpc_ep-install/lib/libgrpc.a grpc_ep-install/lib/libgpr.a grpc_ep-install/lib/libupb.a grpc_ep-install/lib/libaddress_sorting.a cares_ep-install/lib/libcares.a /usr/lib/x86_64-linux-gnu/libz.so debug/libarrow.so.300.0.0 /usr/lib/x86_64-linux-gnu/libbrotlienc.so /usr/lib/x86_64-linux-gnu/libbrotlidec.so /usr/lib/x86_64-linux-gnu/libbrotlicommon.so orc_ep-install/lib/liborc.a protobuf_ep-install/lib/libprotobuf.a awssdk_ep-install/lib/libaws-cpp-sdk-identity-management.a awssdk_ep-install/lib/libaws-cpp-sdk-sts.a awssdk_ep-install/lib/libaws-cpp-sdk-cognito-identity.a awssdk_ep-install/lib/libaws-cpp-sdk-s3.a awssdk_ep-install/lib/libaws-cpp-sdk-core.a /usr/lib/x86_64-linux-gnu/libcurl.so /usr/lib/x86_64-linux-gnu/libssl.so /usr/lib/x86_64-linux-gnu/libcrypto.so awssdk_ep-install/lib/libaws-c-event-stream.a awssdk_ep-install/lib/libaws-checksums.a awssdk_ep-install/lib/libaws-c-common.a /usr/lib/x86_64-linux-gnu/libutf8proc.so /usr/lib/x86_64-linux-gnu/libre2.so -ldl jemalloc_ep-prefix/src/jemalloc_ep/dist//lib/libjemalloc_pic.a mimalloc_ep/src/mimalloc_ep/lib/mimalloc-1.6/libmimalloc-debug.a -pthread -lrt -lpthread && :
      /usr/bin/ld: absl_ep-install/lib/libabsl_stacktrace.a(stacktrace.cc.o): in function `void** NextStackFrame<false, false>(void**, void const*)':
      /build/cpp/absl_ep-prefix/src/absl_ep/absl/debugging/internal/stacktrace_x86-inl.inc:283: undefined reference to `absl::lts_2020_09_23::debugging_internal::AddressIsReadable(void const*)'
      /usr/bin/ld: absl_ep-install/lib/libabsl_stacktrace.a(stacktrace.cc.o): in function `void** NextStackFrame<false, true>(void**, void const*)':
      /build/cpp/absl_ep-prefix/src/absl_ep/absl/debugging/internal/stacktrace_x86-inl.inc:283: undefined reference to `absl::lts_2020_09_23::debugging_internal::AddressIsReadable(void const*)'
      /usr/bin/ld: absl_ep-install/lib/libabsl_symbolize.a(symbolize.cc.o): in function `absl::lts_2020_09_23::InitializeSymbolizer(char const*)':
      /build/cpp/absl_ep-prefix/src/absl_ep/absl/debugging/symbolize_elf.inc:91: undefined reference to `absl::lts_2020_09_23::debugging_internal::VDSOSupport::Init()'
      /usr/bin/ld: absl_ep-install/lib/libabsl_symbolize.a(symbolize.cc.o): in function `absl::lts_2020_09_23::debugging_internal::DemangleInplace(char*, int, char*, int)':
      /build/cpp/absl_ep-prefix/src/absl_ep/absl/debugging/symbolize_elf.inc:1153: undefined reference to `absl::lts_2020_09_23::debugging_internal::Demangle(char const*, char*, int)'
      /usr/bin/ld: absl_ep-install/lib/libabsl_symbolize.a(symbolize.cc.o): in function `absl::lts_2020_09_23::debugging_internal::(anonymous namespace)::Symbolizer::GetSymbol(void const*)':
      /build/cpp/absl_ep-prefix/src/absl_ep/absl/debugging/symbolize_elf.inc:1383: undefined reference to `absl::lts_2020_09_23::debugging_internal::VDSOSupport::VDSOSupport()'
      /usr/bin/ld: /build/cpp/absl_ep-prefix/src/absl_ep/absl/debugging/symbolize_elf.inc:1386: undefined reference to `absl::lts_2020_09_23::debugging_internal::VDSOSupport::LookupSymbolByAddress(void const*, absl::lts_2020_09_23::debugging_internal::ElfMemImage::SymbolInfo*) const'
      collect2: error: ld returned 1 exit status
      

      Attachments

        Issue Links

          Activity

            People

              kou Kouhei Sutou
              kou Kouhei Sutou
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m