Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fail to build velox_benchmark_local_remote_comparison #12039

Open
zhouyuan opened this issue Jan 8, 2025 · 0 comments · May be fixed by #12038
Open

fail to build velox_benchmark_local_remote_comparison #12039

zhouyuan opened this issue Jan 8, 2025 · 0 comments · May be fixed by #12038
Labels
build triage Newly created issue that needs attention.

Comments

@zhouyuan
Copy link
Contributor

zhouyuan commented Jan 8, 2025

Problem description

FAILED: velox/functions/remote/benchmarks/velox_benchmark_local_remote_comparison
: && /usr/bin/c++ -mavx2 -mfma -mavx -mf16c -mlzcnt -mbmi2 -D USE_VELOX_COMMON_BASE -D HAS_UNCAUGHT_EXCEPTIONS -Wall -Wextra -Wno-unused        -Wno-unused-parameter        -Wno-sign-compare        -Wno-ignored-qualifiers        -Wno-implicit-fallthrough          -Wno-class-memaccess          -Wno-comment          -Wno-int-in-bool-context          -Wno-redundant-move          -Wno-array-bounds          -Wno-maybe-uninitialized          -Wno-unused-result          -Wno-format-overflow          -Wno-strict-aliasing -Werror -O3 -DNDEBUG -Wl,-export-dynamic velox/functions/remote/benchmarks/CMakeFiles/velox_benchmark_local_remote_comparison.dir/LocalRemoteComparisonBenchmark.cpp.o -o velox/functions/remote/benchmarks/velox_benchmark_local_remote_comparison  -Wl,-rpath,/usr/local/lib  velox/type/libvelox_type.a  velox/benchmarks/libvelox_benchmark_builder.a  velox/vector/tests/utils/libvelox_vector_test_lib.a  velox/functions/libvelox_function_registry.a  velox/functions/remote/client/libvelox_functions_remote.a  velox/functions/remote/utils/libvelox_functions_remote_utils.a  /usr/local/lib/libfolly.a  /usr/local/lib/libfollybenchmark.a  /usr/lib/x86_64-linux-gnu/libglog.so  velox/vector/fuzzer/libvelox_vector_fuzzer.a  velox/vector/fuzzer/libvelox_vector_fuzzer_util.a  velox/parse/libvelox_parse_parser.a  velox/duckdb/conversion/libvelox_duckdb_parser.a  velox/duckdb/conversion/libvelox_duckdb_conversion.a  /usr/local/lib/libduckdb_static.a  /usr/local/lib/libduckdb_fsst.a  /usr/local/lib/libduckdb_fmt.a  /usr/local/lib/libduckdb_pg_query.a  /usr/local/lib/libduckdb_re2.a  /usr/local/lib/libduckdb_miniz.a  /usr/local/lib/libduckdb_utf8proc.a  /usr/local/lib/libduckdb_hyperloglog.a  /usr/local/lib/libduckdb_fastpforlib.a  /usr/local/lib/libduckdb_mbedtls.a  /usr/local/lib/libjemalloc_extension.a  velox/parse/libvelox_parse_expression.a  velox/parse/libvelox_parse_utils.a  velox/functions/libvelox_function_registry.a  velox/exec/libvelox_exec.a  /usr/lib/x86_64-linux-gnu/libgtest_main.a  /usr/lib/x86_64-linux-gnu/libgtest.a  velox/expression/libvelox_expression.a  velox/core/libvelox_core.a  velox/vector/arrow/libvelox_arrow_bridge.a  velox/common/caching/libvelox_caching.a  velox/connectors/libvelox_connector.a  velox/expression/libvelox_expression_functions.a  velox/expression/type_calculation/libvelox_type_calculation.a  velox/expression/signature_parser/libvelox_signature_parser.a  velox/functions/lib/libvelox_functions_util.a  /usr/lib/x86_64-linux-gnu/libdouble-conversion.so.3.1  velox/functions/remote/client/libvelox_functions_remote_thrift_client.a  velox/functions/remote/server/libvelox_functions_remote_server.a  velox/functions/remote/if/libvelox_functions_remote_get_serde.a  velox/serializers/libvelox_presto_serializer.a  velox/vector/libvelox_vector.a  velox/row/libvelox_row_fast.a  velox/vector/libvelox_vector.a  velox/row/libvelox_row_fast.a  velox/type/fbhive/libvelox_type_fbhive.a  velox/type/libvelox_type.a  velox/type/tz/libvelox_type_tz.a  velox/common/base/libvelox_common_base.a  velox/common/base/libvelox_exception.a  velox/common/serialization/libvelox_serialization.a  velox/common/compression/libvelox_common_compression.a  velox/common/process/libvelox_process.a  velox/common/testutil/libvelox_test_util.a  velox/common/memory/libvelox_memory.a  velox/common/time/libvelox_time.a  velox/buffer/libvelox_buffer.a  velox/common/config/libvelox_common_config.a  velox/common/file/libvelox_file.a  velox/type/libvelox_type.a  velox/type/tz/libvelox_type_tz.a  velox/common/base/libvelox_common_base.a  velox/common/base/libvelox_exception.a  velox/common/serialization/libvelox_serialization.a  velox/common/compression/libvelox_common_compression.a  velox/common/process/libvelox_process.a  velox/common/testutil/libvelox_test_util.a  velox/common/memory/libvelox_memory.a  velox/common/time/libvelox_time.a  velox/buffer/libvelox_buffer.a  velox/common/config/libvelox_common_config.a  velox/common/file/libvelox_file.a  velox/common/encode/libvelox_encode.a  velox/common/base/libvelox_status.a  velox/external/date/libvelox_external_date.a  velox/flag_definitions/libvelox_flag_definitions.a  /usr/lib/x86_64-linux-gnu/libgflags.so.2.2.2  -L/usr/lib/x86_64-linux-gnu  -pthread  -lre2  /usr/lib/x86_64-linux-gnu/libglog.so  velox/functions/remote/if/libremote_function_thrift.a  /usr/local/lib/libthriftcpp2.a  /usr/local/lib/libthriftfrozen2.a  /usr/local/lib/libthriftmetadata.a  /usr/local/lib/libthriftanyrep.a  /usr/local/lib/libthrifttype.a  /usr/local/lib/libthriftprotocol.a  /usr/local/lib/libthriftprotocol.a  /usr/local/lib/libasync.a  /usr/local/lib/libruntime.a  /usr/local/lib/libtransport.a  /usr/local/lib/librpcmetadata.a  /usr/local/lib/libconcurrency.a  /usr/local/lib/libwangle.a  /usr/local/lib/libfizz.a  /usr/lib/x86_64-linux-gnu/libz.so  /usr/lib/x86_64-linux-gnu/libsodium.so  /usr/lib/x86_64-linux-gnu/librt.a  /usr/local/lib/libthrift-core.a  /usr/local/lib/libthrifttyperep.a  /usr/local/lib/libthriftannotation.a  /usr/local/lib/libserverdbginfo.a  /usr/local/lib/libfolly.a  /usr/local/lib/libboost_regex.so.1.84.0  /usr/local/lib/libfmt.a  /usr/local/lib/libboost_context.so.1.84.0  /usr/local/lib/libboost_filesystem.so.1.84.0  /usr/local/lib/libboost_program_options.so.1.84.0  /usr/local/lib/libboost_system.so.1.84.0  /usr/local/lib/libboost_thread.so.1.84.0  /usr/local/lib/libboost_atomic.so.1.84.0  /usr/lib/x86_64-linux-gnu/libdouble-conversion.so  /usr/lib/x86_64-linux-gnu/libgflags.so.2.2.2  -lpthread  /usr/lib/x86_64-linux-gnu/libglog.so  /usr/lib/x86_64-linux-gnu/libevent.so  /usr/lib/x86_64-linux-gnu/libz.so  /usr/lib/x86_64-linux-gnu/libssl.so  /usr/lib/x86_64-linux-gnu/libcrypto.so  /usr/lib/x86_64-linux-gnu/libbz2.so  /usr/lib/x86_64-linux-gnu/liblzma.so  /usr/lib/x86_64-linux-gnu/liblz4.so  /usr/lib/x86_64-linux-gnu/libzstd.so  /usr/lib/x86_64-linux-gnu/libsnappy.so  /usr/lib/x86_64-linux-gnu/libdwarf.so  /usr/lib/x86_64-linux-gnu/libsodium.so  -ldl  /usr/lib/x86_64-linux-gnu/libunwind.so && :
/usr/bin/ld: velox/functions/remote/benchmarks/CMakeFiles/velox_benchmark_local_remote_comparison.dir/LocalRemoteComparisonBenchmark.cpp.o: in function `_ZZN8facebook5velox4bits10forEachBitIZNS0_4exec7EvalCtx22applyToSelectedNoThrowIZNKS3_21SimpleFunctionAdapterINS0_4core9UDFHolderINS0_9functions17UrlEncodeFunctionINS3_10VectorExecEEESB_NS0_7VarcharENS0_15ConstantCheckerIJSD_EEEJSD_EEEE8applyUdfIZNKSH_7iterateIJNS3_20ConstantVectorReaderISD_EEEEEvRNSH_12ApplyContextEDpRT_EUlRT_RT0_T1_E1_EEvSN_SR_EUlSR_E_ZNKSI_ISW_EEvSN_SR_EUlSR_E0_EEvRKNS0_17SelectivityVectorESR_ST_EUlSR_E_EEvPKmiibSR_ENKUlimE_clEim':
LocalRemoteComparisonBenchmark.cpp:(.text._ZZN8facebook5velox4bits10forEachBitIZNS0_4exec7EvalCtx22applyToSelectedNoThrowIZNKS3_21SimpleFunctionAdapterINS0_4core9UDFHolderINS0_9functions17UrlEncodeFunctionINS3_10VectorExecEEESB_NS0_7VarcharENS0_15ConstantCheckerIJSD_EEEJSD_EEEE8applyUdfIZNKSH_7iterateIJNS3_20ConstantVectorReaderISD_EEEEEvRNSH_12ApplyContextEDpRT_EUlRT_RT0_T1_E1_EEvSN_SR_EUlSR_E_ZNKSI_ISW_EEvSN_SR_EUlSR_E0_EEvRKNS0_17SelectivityVectorESR_ST_EUlSR_E_EEvPKmiibSR_ENKUlimE_clEim[_ZZN8facebook5velox4bits10forEachBitIZNS0_4exec7EvalCtx22applyToSelectedNoThrowIZNKS3_21SimpleFunctionAdapterINS0_4core9UDFHolderINS0_9functions17UrlEncodeFunctionINS3_10VectorExecEEESB_NS0_7VarcharENS0_15ConstantCheckerIJSD_EEEJSD_EEEE8applyUdfIZNKSH_7iterateIJNS3_20ConstantVectorReaderISD_EEEEEvRNSH_12ApplyContextEDpRT_EUlRT_RT0_T1_E1_EEvSN_SR_EUlSR_E_ZNKSI_ISW_EEvSN_SR_EUlSR_E0_EEvRKNS0_17SelectivityVectorESR_ST_EUlSR_E_EEvPKmiibSR_ENKUlimE_clEim]+0x20f): undefined reference to `facebook::velox::functions::tryGetUtf8CharLength(char const*, long, int&)

System information

Velox System Info v0.0.2
Commit: 3f86559
CMake Version: 3.28.3
System: Linux-5.15.0-127-generic
Arch: x86_64
C++ Compiler: /usr/bin/c++
C++ Compiler Version: 11.4.0
C Compiler: /usr/bin/cc
C Compiler Version: 11.4.0
CMake Prefix Path: /usr/local;/usr;/;/usr/local/lib/python3.10/dist-packages/cmake/data;/usr/local;/usr/X11R6;/usr/pkg;/opt

\nThe results will be copied to your clipboard if xclip is installed.

CMake log

No response

@zhouyuan zhouyuan added build triage Newly created issue that needs attention. labels Jan 8, 2025
@zhouyuan zhouyuan linked a pull request Jan 8, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build triage Newly created issue that needs attention.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant