apache / doris

Apache Doris is an easy-to-use, high performance and unified analytics database.
https://doris.apache.org
Apache License 2.0
12.77k stars 3.29k forks source link

打包出来的benchmark_tool报错 #38434

Open ycsongtcs opened 3 months ago

ycsongtcs commented 3 months ago

Search before asking

Version

2.1.2-rc04

==46423==ERROR: AddressSanitizer failed to allocate 0x0 (0) bytes of ReadFileToBuffer (error code: 22) ERROR: Failed to mmap

What's Wrong?

执行打包出来的benchmark_tool和doris_be_test报错

==46423==ERROR: AddressSanitizer failed to allocate 0x0 (0) bytes of ReadFileToBuffer (error code: 22) ERROR: Failed to mmap

What You Expected?

可以正常执行

How to Reproduce?

No response

Anything Else?

No response

Are you willing to submit PR?

Code of Conduct

ycsongtcs commented 3 months ago

我想要禁止他,于是从be的CMakeList.txt中将set(CXX_FLAGS_ASAN "${CXX_GCC_FLAGS} -O0 -fsanitize=address -DADDRESS_SANITIZER")改为set(CXX_FLAGS_ASAN "${CXX_GCC_FLAGS} -O0 ),但是改了以后运行run_be_ut.sh报错如下:

FAILED: test/doris_be_test : && /opt/software/ldb_toolchain/bin/g++ -fuse-ld=lld -fprofile-arcs -ftest-coverage -lgcov src/glibc-compatibility/CMakeFiles/glibc-compatibility-explicit.dir/musl/getrandom.c.o src/glibc-compatibility/CMakeFiles/glibc-compatibility-explicit.dir/memcpy/memcpy_aarch64.cpp.o test/CMakeFiles/doris_be_test.dir/agent/task_worker_pool_test.cpp.o test/CMakeFiles/doris_be_test.dir/agent/utils_test.cpp.o test/CMakeFiles/doris_be_test.dir/common/config_test.cpp.o test/CMakeFiles/doris_be_test.dir/common/exception_test.cpp.o test/CMakeFiles/doris_be_test.dir/common/status_test.cpp.o test/CMakeFiles/doris_be_test.dir/exprs/bitmapfilter_predicate_test.cpp.o test/CMakeFiles/doris_be_test.dir/exprs/json_function_test.cpp.o test/CMakeFiles/doris_be_test.dir/exprs/runtime_filter_test.cpp.o test/CMakeFiles/doris_be_test.dir/geo/geo_types_test.cpp.o test/CMakeFiles/doris_be_test.dir/geo/wkt_parse_test.cpp.o test/CMakeFiles/doris_be_test.dir/gutil/strings/numbers_test.cpp.o test/CMakeFiles/doris_be_test.dir/http/http_auth_test.cpp.o test/CMakeFiles/doris_be_test.dir/http/http_client_test.cpp.o test/CMakeFiles/doris_be_test.dir/http/http_utils_test.cpp.o test/CMakeFiles/doris_be_test.dir/http/message_body_sink_test.cpp.o test/CMakeFiles/doris_be_test.dir/http/stream_load_test.cpp.o test/CMakeFiles/doris_be_test.dir/io/cache/file_block_cache_test.cpp.o test/CMakeFiles/doris_be_test.dir/io/fs/buffered_reader_test.cpp.o test/CMakeFiles/doris_be_test.dir/io/fs/local_file_system_test.cpp.o test/CMakeFiles/doris_be_test.dir/io/fs/multi_table_pipe_test.cpp.o test/CMakeFiles/doris_be_test.dir/io/fs/s3_file_writer_test.cpp.o test/CMakeFiles/doris_be_test.dir/io/fs/stream_sink_file_writer_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/bitmap_filter_column_predicate_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/block_column_predicate_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/bloom_filter_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/common_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/compaction_delete_bitmap_calculator_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/cumulative_compaction_policy_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/cumulative_compaction_time_series_policy_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/decimal12_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/delete_bitmap_calculator_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/delete_handler_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/delta_writer_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/engine_storage_migration_task_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/file_header_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/hll_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/itoken_extractor_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/key_coder_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/lru_cache_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/memtable_flush_executor_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/memtable_memory_limiter_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/memtable_sort_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/olap_meta_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/options_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/ordered_data_compaction_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/page_cache_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/path_gc_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/primary_key_index_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/row_cursor_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/rowid_conversion_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/rowset/beta_rowset_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/rowset/pending_rowset_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/rowset/rowset_meta_manager_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/rowset/rowset_meta_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/rowset/segment_v2/bitmap_index_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/rowset/segment_v2/block_bloom_filter_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/rowset/segment_v2/bloom_filter_index_reader_writer_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/rowset/segment_v2/encoding_info_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/rowset/segment_v2/inverted_index_searcher_cache_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/rowset/segment_v2/ordinal_page_index_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/rowset/segment_v2/row_ranges_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/rowset/segment_v2/zone_map_index_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/rowset/unique_rowset_id_generator_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/selection_vector_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/short_key_index_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/skiplist_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/storage_engine_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/storage_types_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/tablet_cooldown_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/tablet_meta_manager_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/tablet_meta_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/tablet_mgr_test.cpp.o test/CMakeFiles/doris_be_test.dir/olap/tablet_schema_helper.cpp.o test/CMakeFiles/doris_be_test.dir/olap/tablet_test.cpp.o test/CMakeFiles/doris_be_test.dir/runtime/mem_limit_test.cpp.o test/CMakeFiles/doris_be_test.dir/runtime/memory/allocator_test.cpp.o test/CMakeFiles/doris_be_test.dir/runtime/result_queue_mgr_test.cpp.o test/CMakeFiles/doris_be_test.dir/runtime/routine_load_task_executor_test.cpp.o test/CMakeFiles/doris_be_test.dir/runtime/small_file_mgr_test.cpp.o test/CMakeFiles/doris_be_test.dir/runtime/snapshot_loader_test.cpp.o test/CMakeFiles/doris_be_test.dir/runtime/string_value_test.cpp.o test/CMakeFiles/doris_be_test.dir/runtime/user_function_cache_test.cpp.o test/CMakeFiles/doris_be_test.dir/testutil/desc_tbl_builder.cpp.o test/CMakeFiles/doris_be_test.dir/testutil/function_utils.cpp.o test/CMakeFiles/doris_be_test.dir/testutil/http_utils.cpp.o test/CMakeFiles/doris_be_test.dir/testutil/run_all_tests.cpp.o test/CMakeFiles/doris_be_test.dir/testutil/test_util.cpp.o test/CMakeFiles/doris_be_test.dir/util/backend_options_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/bit_stream_utils_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/bit_util_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/bitmap_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/bitmap_value_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/block_compression_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/blocking_queue_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/brpc_client_cache_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/byte_buffer2_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/cgroup_util_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/cidr_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/coding_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/core_local_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/countdown_latch_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/counts_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/crc32c_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/date_func_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/debug_points_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/doris_metrics_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/easy_json-test.cpp.o test/CMakeFiles/doris_be_test.dir/util/encryption_util_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/faststring_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/frame_of_reference_coding_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/histogram_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/http_channel_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/indexed_priority_queue_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/interval_tree_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/key_util_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/load_util_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/lru_cache_util_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/lru_multi_cache_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/md5_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/metrics_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/mysql_row_buffer_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/parse_util_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/path_trie_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/path_util_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/quantile_state_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/radix_sort_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/rle_encoding_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/s3_uri_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/scoped_cleanup_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/sm3_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/sort_heap_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/string_parser_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/string_util_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/system_metrics_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/tdigest_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/thread_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/threadpool_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/uid_util_test.cpp.o test/CMakeFiles/doris_be_test.dir/util/utf8_check_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/aggregate_functions/agg_bitmap_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/aggregate_functions/agg_collect_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/aggregate_functions/agg_histogram_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/aggregate_functions/agg_min_max_by_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/aggregate_functions/agg_min_max_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/aggregate_functions/agg_replace_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/aggregate_functions/agg_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/aggregate_functions/vec_count_by_enum_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/aggregate_functions/vec_retention_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/aggregate_functions/vec_sequence_match_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/aggregate_functions/vec_window_funnel_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/columns/column_fixed_length_object_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/columns/column_hash_func_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/columns/column_resize_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/core/block_spill_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/core/block_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/core/column_array_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/core/column_complex_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/core/column_nullable_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/core/column_string_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/core/column_vector_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/data_types/complex_type_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/data_types/datetime_round_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/data_types/decimal_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/data_types/from_string_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/data_types/serde/data_type_serde_arrow_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/data_types/serde/data_type_serde_csv_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/data_types/serde/data_type_serde_mysql_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/data_types/serde/data_type_serde_pb_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/data_types/serde/data_type_serde_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/data_types/serde/data_type_serde_text_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/data_types/serde/data_type_to_string_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/exec/delta_writer_v2_pool_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/exec/load_stream_stub_map_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/exec/parquet/parquet_reader_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/exec/parquet/parquet_thrift_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/exec/skewed_partition_rebalancer_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/exec/vgeneric_iterators_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/exec/vhive_utils_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/exec/vtablet_sink_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/exec/vwal_scanner_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/exprs/vexpr_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/function/function_arithmetic_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/function/function_array_aggregation_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/function/function_array_element_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/function/function_array_index_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/function/function_array_size_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/function/function_arrays_overlap_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/function/function_bitmap_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/function/function_geo_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/function/function_hash_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/function/function_ifnull_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/function/function_json_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/function/function_jsonb_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/function/function_like_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/function/function_math_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/function/function_nullif_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/function/function_string_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/function/function_test_util.cpp.o test/CMakeFiles/doris_be_test.dir/vec/function/function_time_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/function/function_url_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/function/table_function_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/jsonb/serialize_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/olap/char_type_padding_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/olap/vertical_compaction_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/runtime/ip_value_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/runtime/vdata_stream_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/runtime/vdatetime_value_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/utils/arrow_column_to_doris_column_test.cpp.o test/CMakeFiles/doris_be_test.dir/vec/utils/histogram_helpers_test.cpp.o test/CMakeFiles/doris_be_test.dir//src/apache-orc/c++/test/MemoryInputStream.cc.o test/CMakeFiles/doris_be_test.dir//src/apache-orc/c++/test/MemoryOutputStream.cc.o test/CMakeFiles/doris_be_test.dir//src/apache-orc/c++/test/TestAttributes.cc.o test/CMakeFiles/doris_be_test.dir//src/apache-orc/c++/test/TestBlockBuffer.cc.o test/CMakeFiles/doris_be_test.dir//src/apache-orc/c++/test/TestBufferedOutputStream.cc.o test/CMakeFiles/doris_be_test.dir//src/apache-orc/c++/test/TestBloomFilter.cc.o test/CMakeFiles/doris_be_test.dir//src/apache-orc/c++/test/TestByteRle.cc.o test/CMakeFiles/doris_be_test.dir//src/apache-orc/c++/test/TestByteRLEEncoder.cc.o test/CMakeFiles/doris_be_test.dir//src/apache-orc/c++/test/TestColumnPrinter.cc.o test/CMakeFiles/doris_be_test.dir//src/apache-orc/c++/test/TestColumnReader.cc.o test/CMakeFiles/doris_be_test.dir//src/apache-orc/c++/test/TestColumnStatistics.cc.o test/CMakeFiles/doris_be_test.dir//src/apache-orc/c++/test/TestCompression.cc.o test/CMakeFiles/doris_be_test.dir//src/apache-orc/c++/test/TestDecompression.cc.o test/CMakeFiles/doris_be_test.dir//src/apache-orc/c++/test/TestDecimal.cc.o test/CMakeFiles/doris_be_test.dir//src/apache-orc/c++/test/TestDictionaryEncoding.cc.o test/CMakeFiles/doris_be_test.dir//src/apache-orc/c++/test/TestInt128.cc.o test/CMakeFiles/doris_be_test.dir//src/apache-orc/c++/test/TestMurmur3.cc.o test/CMakeFiles/doris_be_test.dir//src/apache-orc/c++/test/TestPredicateLeaf.cc.o test/CMakeFiles/doris_be_test.dir//src/apache-orc/c++/test/TestPredicatePushdown.cc.o test/CMakeFiles/doris_be_test.dir//src/apache-orc/c++/test/TestReader.cc.o test/CMakeFiles/doris_be_test.dir//src/apache-orc/c++/test/TestRleDecoder.cc.o test/CMakeFiles/doris_be_test.dir//src/apache-orc/c++/test/TestRleEncoder.cc.o test/CMakeFiles/doris_be_test.dir//src/apache-orc/c++/test/TestRLEV2Util.cc.o test/CMakeFiles/doris_be_test.dir//src/apache-orc/c++/test/TestSargsApplier.cc.o test/CMakeFiles/doris_be_test.dir//src/apache-orc/c++/test/TestSearchArgument.cc.o test/CMakeFiles/doris_be_test.dir//src/apache-orc/c++/test/TestStripeIndexStatistics.cc.o test/CMakeFiles/doris_be_test.dir//src/apache-orc/c++/test/TestTimestampStatistics.cc.o test/CMakeFiles/doris_be_test.dir//src/apache-orc/c++/test/TestTimezone.cc.o test/CMakeFiles/doris_be_test.dir//src/apache-orc/c++/test/TestType.cc.o test/CMakeFiles/doris_be_test.dir//src/apache-orc/c++/test/TestWriter.cc.o -o test/doris_be_test -Wl,--start-group src/agent/libAgent.a src/common/libCommon.a src/exec/libExec.a src/exprs/libExprs.a src/gutil/libGutil.a src/io/libIO.a src/olap/libOlap.a src/runtime/libRuntime.a src/service/libService.a src/udf/libUdf.a src/util/libUtil.a src/gen_cpp/libDorisGen.a src/http/libWebserver.a src/geo/libGeo.a src/geo/libGeoType.a src/vec/libVec.a src/pipeline/libPipeline.a src/cloud/libCloud.a -Wl,--end-group -Wl,--start-group /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libboost_date_time.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libgflags.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libglog.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libbacktrace.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libre2.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libhs.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libodbc.a /opt/doris-2.1.2-rc04/thirdparty/installed/gperftools/lib/libprofiler.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libprotobuf.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libgtest.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libgtest_main.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libbenchmark.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libgmock.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libsnappy.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libcurl.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/liblz4.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libthrift.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libthriftnb.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libevent.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libevent_pthreads.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libbz2.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libz.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libcrypto.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libssl.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libleveldb.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libjemalloc_doris.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libjemalloc_arrow.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libmysqlclient.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libgrpc++_reflection.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libgrpc.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libgrpc++.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libgrpc++_unsecure.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libgpr.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libupb.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libcares.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libaddress_sorting.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libz.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libbrotlicommon.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libbrotlidec.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libbrotlienc.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libzstd.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libarrow.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libarrow_flight.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libarrow_flight_sql.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libparquet.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libbrpc.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/librocksdb.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libsasl2.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/librdkafka++.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/librdkafka.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libs2.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libbitshuffle.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libroaring.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libfmt.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libcctz.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libbase64.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libaws-cpp-sdk-core.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libaws-cpp-sdk-s3.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libaws-cpp-sdk-transfer.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libaws-cpp-sdk-s3-crt.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libaws-crt-cpp.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libaws-c-cal.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libaws-c-auth.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libaws-c-compression.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libaws-c-common.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libaws-c-event-stream.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libaws-c-io.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libaws-c-http.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libaws-c-mqtt.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libaws-checksums.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libaws-c-s3.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libaws-c-sdkutils.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libs2n.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libminizip.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libsimdjson.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libidn.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libxml2.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/liblzma.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libgsasl.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libkrb5support.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libkrb5.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libcom_err.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libk5crypto.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libgssapi_krb5.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libdragonbox_to_chars.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libstreamvbyte.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/hadoop_hdfs/native/libhdfs.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_flags_internal.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_flags_reflection.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_random_internal_pool_urbg.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_random_internal_randen.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_random_internal_seed_material.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_spinlock_wait.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_status.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_statusor.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_strings.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libbenchmark.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libkrb5support.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libkrb5.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libcom_err.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libgssapi_krb5.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libk5crypto.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libmysqlclient.a bin/liborc.a bin/libic.a bin/libclucene-core-static.a bin/libclucene-shared-static.a bin/libclucene-contribs-lib.a -Wl,--end-group -static-libstdc++ -static-libgcc -lstdc++fs -lresolv -static-libasan bin/libglibc-compatibility.a -lrt -l:libbfd.a -liberty -lc -lm -ldl -pthread -Wl,--start-group /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libgmock.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libgtest.a -Wl,--end-group /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_flags_marshalling.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_flags_config.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_flags_program_name.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_flags_private_handle_accessor.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_flags_commandlineflag.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_flags_commandlineflag_internal.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_hash.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_city.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_low_level_hash.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_raw_hash_set.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_hashtablez_sampler.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_random_internal_randen_hwaes.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_random_internal_randen_hwaes_impl.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_random_internal_randen_slow.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_random_internal_platform.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_random_seed_gen_exception.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_status.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_cord.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_bad_optional_access.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_cordz_info.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_cord_internal.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_cordz_functions.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_exponential_biased.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_cordz_handle.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_synchronization.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_graphcycles_internal.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_time.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_civil_time.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_time_zone.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_crc_cord_state.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_crc32c.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_crc_internal.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_crc_cpu_detect.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_stacktrace.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_str_format_internal.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_strerror.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_symbolize.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_malloc_internal.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_debugging_internal.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_demangle_internal.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_strings.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_strings_internal.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_int128.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_throw_delegate.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_base.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_spinlock_wait.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_bad_variant_access.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_raw_logging_internal.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib64/libabsl_log_severity.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libprotobuf.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libz.so /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libsnappy.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/liblz4.a /opt/doris-2.1.2-rc04/thirdparty/installed/lib/libzstd.a bin/libclucene-core-static.a bin/libclucene-shared-static.a -lpthread -lrt && : ld.lld: error: undefined symbol: MallocHook_AddNewHook

referenced by malloc_hook.h:104 (/opt/doris-2.1.2-rc04/thirdparty/installed/gperftools/include/gperftools/malloc_hook.h:104) exec_env_init.cpp.o:(MallocHook::AddNewHook(void ()(void const, unsigned long))) in archive src/runtime/libRuntime.a

ld.lld: error: undefined symbol: MallocHook_AddDeleteHook

referenced by malloc_hook.h:115 (/opt/doris-2.1.2-rc04/thirdparty/installed/gperftools/include/gperftools/malloc_hook.h:115) exec_env_init.cpp.o:(MallocHook::AddDeleteHook(void ()(void const))) in archive src/runtime/libRuntime.a

ld.lld: error: undefined symbol: HeapProfilerStart

referenced by pprof_actions.cpp:80 (/opt/doris-2.1.2-rc04/be/src/http/action/pprof_actions.cpp:80) pprof_actions.cpp.o:(doris::HeapAction::handle(doris::HttpRequest*)) in archive src/http/libWebserver.a

ld.lld: error: undefined symbol: GetHeapProfile

referenced by pprof_actions.cpp:83 (/opt/doris-2.1.2-rc04/be/src/http/action/pprof_actions.cpp:83) pprof_actions.cpp.o:(doris::HeapAction::handle(doris::HttpRequest*)) in archive src/http/libWebserver.a

ld.lld: error: undefined symbol: HeapProfilerStop

referenced by pprof_actions.cpp:84 (/opt/doris-2.1.2-rc04/be/src/http/action/pprof_actions.cpp:84) pprof_actions.cpp.o:(doris::HeapAction::handle(doris::HttpRequest*)) in archive src/http/libWebserver.a collect2: error: ld returned 1 exit status [1280/1281] Building CXX object test/CMakeFiles/benchmark_tool.dir/tools/benchmark_tool.cpp.o

ycsongtcs commented 3 months ago

我可以怎么操作,在构建单元测试的时候关闭asan呢