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

[C++] symbol resolution failures with liborc.a

    XMLWordPrintableJSON

Details

    Description

      This is failing in the Travis CI s390x build. I am not sure this is related to ARROW-8930.

      https://travis-ci.org/github/apache/arrow/jobs/690006107 was successful.

      https://travis-ci.org/github/apache/arrow/jobs/690634108#L1023 causes failures.

      [435/548] Linking CXX executable debug/arrow-orc-adapter-test
      1024 FAILED: debug/arrow-orc-adapter-test
      1025 : && /usr/bin/ccache /usr/bin/c++  -Wno-noexcept-type  -fdiagnostics-color=always -ggdb -O0  -Wall -Wno-conversion -Wno-sign-conversion -Wno-unused-variable -Werror  -g  -rdynamic src/arrow/adapters/orc/CMakeFiles/arrow-orc-adapter-test.dir/adapter_test.cc.o  -o debug/arrow-orc-adapter-test  -Wl,-rpath,/build/cpp/debug  debug/libarrow_testing.a  debug/libarrow.a  debug//libgtest_maind.so  debug//libgtestd.so  /usr/lib/s390x-linux-gnu/libsnappy.so.1.1.8  /usr/lib/s390x-linux-gnu/liblz4.so  /usr/lib/s390x-linux-gnu/libz.so  -lpthread  -ldl  orc_ep-install/lib/liborc.a  /usr/lib/s390x-linux-gnu/libssl.so  /usr/lib/s390x-linux-gnu/libcrypto.so  /usr/lib/s390x-linux-gnu/libbrotlienc.so  /usr/lib/s390x-linux-gnu/libbrotlidec.so  /usr/lib/s390x-linux-gnu/libbrotlicommon.so  /usr/lib/s390x-linux-gnu/libbz2.so  /usr/lib/s390x-linux-gnu/libzstd.so  protobuf_ep-install/lib/libprotobuf.a  /usr/lib/s390x-linux-gnu/libglog.so  jemalloc_ep-prefix/src/jemalloc_ep/dist//lib/libjemalloc_pic.a  -pthread  -lrt && :
      1026 /usr/bin/ld: orc_ep-install/lib/liborc.a(Compression.cc.o): in function `orc::ZlibCompressionStream::doStreamingCompression()':
      1027 /build/cpp/orc_ep-prefix/src/orc_ep/c++/src/Compression.cc:244: undefined reference to `deflateReset'
      1028 /usr/bin/ld: /build/cpp/orc_ep-prefix/src/orc_ep/c++/src/Compression.cc:266: undefined reference to `deflate'
      1029 /usr/bin/ld: orc_ep-install/lib/liborc.a(Compression.cc.o): in function `orc::ZlibCompressionStream::init()':
      1030 /build/cpp/orc_ep-prefix/src/orc_ep/c++/src/Compression.cc:296: undefined reference to `deflateInit2_'
      1031 /usr/bin/ld: orc_ep-install/lib/liborc.a(Compression.cc.o): in function `orc::ZlibCompressionStream::end()':
      1032 /build/cpp/orc_ep-prefix/src/orc_ep/c++/src/Compression.cc:303: undefined reference to `deflateEnd'
      1033 /usr/bin/ld: orc_ep-install/lib/liborc.a(Compression.cc.o): in function `orc::ZlibDecompressionStream::ZlibDecompressionStream(std::unique_ptr<orc::SeekableInputStream, std::default_delete<orc::SeekableInputStream> >, unsigned long, orc::MemoryPool&)':
      1034 /build/cpp/orc_ep-prefix/src/orc_ep/c++/src/Compression.cc:417: undefined reference to `inflateInit2_'
      1035 /usr/bin/ld: orc_ep-install/lib/liborc.a(Compression.cc.o): in function `orc::ZlibDecompressionStream::~ZlibDecompressionStream()':
      1036 /build/cpp/orc_ep-prefix/src/orc_ep/c++/src/Compression.cc:442: undefined reference to `inflateEnd'
      1037 /usr/bin/ld: orc_ep-install/lib/liborc.a(Compression.cc.o): in function `orc::ZlibDecompressionStream::Next(void const**, int*)':
      1038 /build/cpp/orc_ep-prefix/src/orc_ep/c++/src/Compression.cc:483: undefined reference to `inflateReset'
      1039 /usr/bin/ld: /build/cpp/orc_ep-prefix/src/orc_ep/c++/src/Compression.cc:489: undefined reference to `inflate'
      1040 /usr/bin/ld: orc_ep-install/lib/liborc.a(Compression.cc.o): in function `orc::SnappyDecompressionStream::decompress(char const*, unsigned long, char*, unsigned long)':
      1041 /build/cpp/orc_ep-prefix/src/orc_ep/c++/src/Compression.cc:848: undefined reference to `snappy::GetUncompressedLength(char const*, unsigned long, unsigned long*)'
      1042 /usr/bin/ld: /build/cpp/orc_ep-prefix/src/orc_ep/c++/src/Compression.cc:856: undefined reference to `snappy::RawUncompress(char const*, unsigned long, char*)'
      1043 /usr/bin/ld: orc_ep-install/lib/liborc.a(Compression.cc.o): in function `orc::Lz4DecompressionStream::decompress(char const*, unsigned long, char*, unsigned long)':
      1044 /build/cpp/orc_ep-prefix/src/orc_ep/c++/src/Compression.cc:922: undefined reference to `LZ4_decompress_safe'
      1045 collect2: error: ld returned 1 exit status

       

      Attachments

        Issue Links

          Activity

            People

              kiszk Kazuaki Ishizaki
              kiszk Kazuaki Ishizaki
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 40m
                  40m