[ https://issues.apache.org/jira/browse/ARROW-4624?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antoine Pitrou reassigned ARROW-4624: ------------------------------------- Assignee: Antoine Pitrou > [C++] Linker errors when building benchmarks > -------------------------------------------- > > Key: ARROW-4624 > URL: https://issues.apache.org/jira/browse/ARROW-4624 > Project: Apache Arrow > Issue Type: Bug > Components: Benchmarking, C++ > Reporter: Antoine Pitrou > Assignee: Antoine Pitrou > Priority: Critical > > All C++ benchmarks now fail linking here: > {code} > [10/162] Linking CXX executable release/arrow-io-file-benchmark > FAILED: release/arrow-io-file-benchmark > : && /usr/bin/ccache /usr/bin/g++-7 -Wno-noexcept-type -O3 -DNDEBUG -Wall > -msse4.2 -fdiagnostics-color=always -Wextra -Wunused-result > -Wno-unused-parameter -Wno-implicit-fallthrough -Wconversion > -D_GLIBCXX_USE_CXX11_ABI=1 -fno-omit-frame-pointer -g -O3 -DNDEBUG -rdynamic > src/arrow/io/CMakeFiles/arrow-io-file-benchmark.dir/file-benchmark.cc.o -o > release/arrow-io-file-benchmark release/libarrow_benchmark_main.a > gbenchmark_ep/src/gbenchmark_ep-install/lib/libbenchmark.a -lpthread && : > src/arrow/io/CMakeFiles/arrow-io-file-benchmark.dir/file-benchmark.cc.o: In > function `arrow::BenchmarkStreamingWrites(benchmark::State&, > std::valarray<long>, arrow::io::OutputStream*, arrow::BackgroundReader*)': > /home/antoine/arrow/cpp/build/../src/arrow/io/file-benchmark.cc:139: > undefined reference to `arrow::Status::ToString[abi:cxx11]() const' > /home/antoine/arrow/cpp/build/../src/arrow/io/file-benchmark.cc:63: undefined > reference to `arrow::internal::FileWrite(int, unsigned char const*, long)' > [ snip tons of similar errors ] > {code} > My build script: > {code} > ARROW_CXXFLAGS="$ARROW_CXXFLAGS -fno-omit-frame-pointer -g" > mkdir -p build > pushd build > cmake .. -GNinja \ > -DCMAKE_BUILD_TYPE=Release \ > -DCMAKE_INSTALL_PREFIX=$ARROW_HOME \ > -DCMAKE_INSTALL_MESSAGE=LAZY \ > -DARROW_CXXFLAGS="$ARROW_CXXFLAGS" \ > -DARROW_BUILD_TESTS=off \ > -DARROW_BUILD_BENCHMARKS=on \ > -DARROW_CUDA=on \ > -DARROW_FLIGHT=on \ > -DARROW_PARQUET=on \ > -DARROW_PLASMA=off \ > -DARROW_PYTHON=on \ > -DARROW_USE_GLOG=off \ > nice cmake --build . --target install > popd > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)