secretflow / scql

SCQL (Secure Collaborative Query Language) is a system that allows multiple distrusting parties to run joint analysis without revealing their private data.
https://www.secretflow.org.cn/docs/scql/en/
Apache License 2.0
127 stars 48 forks source link

利用源码编译scqlengine报错 #47

Closed TY-cc closed 1 year ago

TY-cc commented 1 year ago

在scql文件夹下,利用指令bazel build @//engine/exe:scqlengine编译scql失败,报错原因提示如下

ERROR: /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/external/com_github_duckdb/BUILD.bazel:35:19: Foreign Cc - CMake: Building duckdb failed: (Exit 1): bash failed: error executing command

这不知道怎么解决。

另外编译过程中提示如下的错误

tools/sqlite3_api_wrapper/libsqlite3_api_wrapper.so: error: undefined reference to 'std::__detail::_Prime_rehash_policy::_M_need_rehash(unsigned long, unsigned long, unsigned long) const'

针对这类错误提示,我更新了g++到11版本,但还是存在此类错误

tyrone-yu commented 1 year ago

看起来是链接 libstdc++ 的时候除了问题 1、能帮忙 g++ --version 看下么? 2、能提供下用的是什么系统编译的么?我们去复现下 3、查看下 libstdc++ 支持的 GLIBC 版本

顺便问下为什么不在我们提供的 ci 镜像中编译啊,那个环境下编译不会出现任何问题

tyrone-yu commented 1 year ago

如果可以的话,能提供下完整的编译日志么?

TY-cc commented 1 year ago

1:g++ --version报告如下

g++ (Ubuntu 11.1.0-1ubuntu1~20.04) 11.1.0 Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

2:系统linux20.04,使用 lsb_release -a报告如下

No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.5 LTS Release: 20.04 Codename: focal

3:libstdc++支持的版本用什么指令看?在/lib/xx86_64-linux-gnu/下没找到libstdc++

tyrone-yu commented 1 year ago

完整的编译日志太长了。。。可能几千上万行。。。下面这点可能才五分之一的日志

INFO: Analyzed target //engine/exe:scqlengine (158 packages loaded, 70367 targets configured). INFO: Found 1 target... INFO: Deleting stale sandbox base /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox ERROR: /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/external/com_github_duckdb/BUILD.bazel:35:19: Foreign Cc - CMake: Building duckdb failed: (Exit 1): bash failed: error executing command /bin/bash -c bazel-out/k8-fastbuild/bin/external/com_github_duckdb/duckdb_foreign_cc/wrapper_build_script.sh

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging rules_foreign_cc: Build failed! rules_foreign_cc: Keeping temp build directory and dependencies directory for debug. rules_foreign_cc: Please note that the directories inside a sandbox are still cleaned unless you specify --sandbox_debug Bazel command line flag. rules_foreigncc: Printing build logs: ____ BEGIN BUILD LOGS _____

Bazel external C/C++ Rules. Building library duckdb

Environment:__ BUILD_SCRIPT=bazel-out/k8-fastbuild/bin/external/com_github_duckdb/duckdb_foreign_cc/build_script.sh EXT_BUILD_ROOT=/home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql BUILD_LOG=bazel-out/k8-fastbuild/bin/external/com_github_duckdb/duckdb_foreign_cc/CMake.log PWD=/home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql BUILD_WRAPPER_SCRIPT=bazel-out/k8-fastbuild/bin/external/com_github_duckdb/duckdb_foreign_cc/wrapper_build_script.sh BAZEL_LINKOPTS=-static-libstdc++:-static-libgcc TMPDIR=/tmp EXT_BUILD_DEPS=/home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/bazel-out/k8-fastbuild/bin/external/com_github_duckdb/duckdb.ext_build_deps BAZEL_LINKLIBS=-l%:libstdc++.a:-l%:libgcc.a BUILD_TMPDIR=/home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/bazel-out/k8-fastbuild/bin/external/com_github_duckdb/duckdb.build_tmpdir SHLVL=2 INSTALLDIR=/home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/bazel-out/k8-fastbuild/bin/external/com_github_duckdb/duckdb PATH=/home/cc/.cache/bazel/_bazelcc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql:/home/cc/gowork:/home/cc/gowork/bin:/usr/local/go/bin:/home/cc/gowork:/home/cc/gowork/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/cc/data/bazel/bin:/home/cc/ninja/build-cmake:/home/cc/data/bazel/bin:/home/cc/ninja/build-cmake:/usr/local/bin/ =/usr/bin/env

  • cmake -DCMAKE_AR=/usr/bin/ar '-DCMAKE_SHARED_LINKER_FLAGS=-shared -fuse-ld=gold -Wl,-no-as-needed -Wl,-z,relro,-z,now -B/usr/bin -pass-exit-codes -static-libstdc++ -static-libgcc -l:libstdc++.a -l:libgcc.a -fopenmp -fvisibility=hidden -lm' '-DCMAKE_EXE_LINKER_FLAGS=-fuse-ld=gold -Wl,-no-as-needed -Wl,-z,relro,-z,now -B/usr/bin -pass-exit-codes -static-libstdc++ -static-libgcc -l:libstdc++.a -l:libgcc.a -fopenmp -fvisibility=hidden -lm' -DBUILD_SHARED_LIBS=OFF -DBUILD_UNITTESTS=OFF -DENABLE_SANITIZER=OFF -DENABLE_UBSAN=OFF -DBUILD_JEMALLOC_EXTENSION=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/bazel-out/k8-fastbuild/bin/external/com_github_duckdb/duckdb -DCMAKE_PREFIX_PATH=/home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/bazel-out/k8-fastbuild/bin/external/com_github_duckdb/duckdb.ext_build_deps -DCMAKE_RANLIB= -DCMAKE_MAKE_PROGRAM=ninja -G Ninja /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb -- The C compiler identification is GNU 11.1.0 -- The CXX compiler identification is GNU 11.1.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/gcc - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Found Git: /usr/bin/git (found version "2.25.1") fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git -- git hash , version v0.0.1-dev0 -- Configuring done -- Generating done -- Build files have been written to: /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/bazel-out/k8-fastbuild/bin/external/com_github_duckdb/duckdb.build_tmpdir
  • cmake --build . --config Release [1/200] Building CXX object src/optimizer/join_order/CMakeFiles/duckdb_optimizer_join_order.dir/ub_duckdb_optimizer_join_order.cpp.o [2/200] Building CXX object src/optimizer/matcher/CMakeFiles/duckdb_optimizer_matcher.dir/ub_duckdb_optimizer_matcher.cpp.o [3/200] Building CXX object src/optimizer/pullup/CMakeFiles/duckdb_optimizer_pullup.dir/ub_duckdb_optimizer_pullup.cpp.o [4/200] Building CXX object src/optimizer/pushdown/CMakeFiles/duckdb_optimizer_pushdown.dir/ub_duckdb_optimizer_pushdown.cpp.o [5/200] Building CXX object src/optimizer/rule/CMakeFiles/duckdb_optimizer_rules.dir/ub_duckdb_optimizer_rules.cpp.o [6/200] Building CXX object src/optimizer/statistics/expression/CMakeFiles/duckdb_optimizer_statistics_expr.dir/ub_duckdb_optimizer_statistics_expr.cpp.o [7/200] Building CXX object src/optimizer/statistics/operator/CMakeFiles/duckdb_optimizer_statistics_op.dir/ub_duckdb_optimizer_statistics_op.cpp.o [8/200] Building CXX object src/optimizer/CMakeFiles/duckdb_optimizer.dir/ub_duckdb_optimizer.cpp.o In file included from /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/include/duckdb/common/common.hpp:12, from /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/include/duckdb/planner/logical_operator_visitor.hpp:11, from /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/include/duckdb/optimizer/common_aggregate_optimizer.hpp:11, from /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/optimizer/common_aggregate_optimizer.cpp:1, from /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/bazel-out/k8-fastbuild/bin/external/com_github_duckdb/duckdb.build_tmpdir/src/optimizer/ub_duckdb_optimizer.cpp:2: /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/include/duckdb/common/helper.hpp: In member function 'void duckdb::FilterCombiner::GenerateFilters(const std::function<void(std::unique_ptrduckdb::Expression)>&)': /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/include/duckdb/common/helper.hpp:41:64: warning: 'upper_inclusive' may be used uninitialized in this function [-Wmaybe-uninitialized] 41 | return unique_ptr(new T(std::forward(args)...)); | ^ In file included from /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/bazel-out/k8-fastbuild/bin/external/com_github_duckdb/duckdb.build_tmpdir/src/optimizer/ub_duckdb_optimizer.cpp:7: /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/optimizer/filter_combiner.cpp:123:47: note: 'upper_inclusive' was declared here 123 | bool lower_inclusive, upper_inclusive; | ^~~~~~~ In file included from /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/include/duckdb/common/common.hpp:12, from /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/include/duckdb/planner/logical_operator_visitor.hpp:11, from /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/include/duckdb/optimizer/common_aggregate_optimizer.hpp:11, from /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/optimizer/common_aggregate_optimizer.cpp:1, from /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/bazel-out/k8-fastbuild/bin/external/com_github_duckdb/duckdb.build_tmpdir/src/optimizer/ub_duckdb_optimizer.cpp:2: /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/include/duckdb/common/helper.hpp:41:64: warning: 'lower_inclusive' may be used uninitialized in this function [-Wmaybe-uninitialized] 41 | return unique_ptr(new T(std::forward(args)...)); | ^ In file included from /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/bazel-out/k8-fastbuild/bin/external/com_github_duckdb/duckdb.build_tmpdir/src/optimizer/ub_duckdb_optimizer.cpp:7: /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/optimizer/filter_combiner.cpp:123:30: note: 'lower_inclusive' was declared here 123 | bool lower_inclusive, upper_inclusive; | ^~~~~~~ In file included from /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/bazel-out/k8-fastbuild/bin/external/com_github_duckdb/duckdb.build_tmpdir/src/optimizer/ub_duckdb_optimizer.cpp:4: /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/optimizer/deliminator.cpp: In member function 'bool duckdb::Deliminator::RemoveInequalityCandidate(std::uniqueptrduckdb::LogicalOperator, std::uniqueptrduckdb::LogicalOperator, duckdb::DeliminatorPlanUpdater&)': /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/optimizer/deliminator.cpp:419:56: warning: 'parent_delim_get_side' may be used uninitialized in this function [-Wmaybe-uninitialized] 419 | parent_delim_get_side == 0 ? child_cond.comparison : FlipComparisionExpression(child_cond.comparison); | ~~~~~^~~~~~~~~~~~~~~~ [9/200] Building CXX object src/planner/expression/CMakeFiles/duckdb_planner_expression.dir/ub_duckdb_planner_expression.cpp.o [10/200] Building CXX object src/planner/CMakeFiles/duckdb_planner.dir/ub_duckdb_planner.cpp.o [11/200] Building CXX object src/planner/binder/expression/CMakeFiles/duckdb_bind_expression.dir/ub_duckdb_bind_expression.cpp.o [12/200] Building CXX object src/planner/binder/query_node/CMakeFiles/duckdb_bind_query_node.dir/ub_duckdb_bind_query_node.cpp.o [13/200] Building CXX object src/planner/expression_binder/CMakeFiles/duckdb_expression_binders.dir/ub_duckdb_expression_binders.cpp.o [14/200] Building CXX object src/planner/binder/tableref/CMakeFiles/duckdb_bind_tableref.dir/ub_duckdb_bind_tableref.cpp.o [15/200] Building CXX object src/planner/filter/CMakeFiles/duckdb_planner_filter.dir/ub_duckdb_planner_filter.cpp.o [16/200] Building CXX object src/planner/parsed_data/CMakeFiles/duckdb_planner_parsed_data.dir/ub_duckdb_planner_parsed_data.cpp.o [17/200] Building CXX object src/planner/binder/statement/CMakeFiles/duckdb_bind_statement.dir/ub_duckdb_bind_statement.cpp.o [18/200] Building CXX object src/planner/subquery/CMakeFiles/duckdb_planner_subquery.dir/ub_duckdb_planner_subquery.cpp.o [19/200] Building CXX object src/planner/operator/CMakeFiles/duckdb_planner_operator.dir/ub_duckdb_planner_operator.cpp.o [20/200] Building CXX object src/parser/constraints/CMakeFiles/duckdb_constraints.dir/ub_duckdb_constraints.cpp.o [21/200] Building CXX object src/parser/CMakeFiles/duckdb_parser.dir/ub_duckdb_parser.cpp.o [22/200] Building CXX object src/parser/expression/CMakeFiles/duckdb_expression.dir/ub_duckdb_expression.cpp.o [23/200] Building CXX object src/parser/query_node/CMakeFiles/duckdb_query_node.dir/ub_duckdb_query_node.cpp.o [24/200] Building CXX object src/parser/parsed_data/CMakeFiles/duckdb_parsed_data.dir/ub_duckdb_parsed_data.cpp.o [25/200] Building CXX object src/parser/transform/constraint/CMakeFiles/duckdb_transformer_constraint.dir/ub_duckdb_transformer_constraint.cpp.o [26/200] Building CXX object src/parser/tableref/CMakeFiles/duckdb_parser_tableref.dir/ub_duckdb_parser_tableref.cpp.o [27/200] Building CXX object src/parser/statement/CMakeFiles/duckdb_statement.dir/ub_duckdb_statement.cpp.o [28/200] Building CXX object src/parser/transform/helpers/CMakeFiles/duckdb_transformer_helpers.dir/ub_duckdb_transformer_helpers.cpp.o [29/200] Building CXX object src/parser/transform/expression/CMakeFiles/duckdb_transformer_expression.dir/ub_duckdb_transformer_expression.cpp.o [30/200] Building CXX object src/parser/transform/tableref/CMakeFiles/duckdb_transformer_tableref.dir/ub_duckdb_transformer_tableref.cpp.o [31/200] Building CXX object src/function/aggregate/CMakeFiles/duckdb_func_aggr.dir/ub_duckdb_func_aggr.cpp.o [32/200] Building CXX object src/function/CMakeFiles/duckdb_function.dir/ub_duckdb_function.cpp.o [33/200] Building CXX object src/parser/transform/statement/CMakeFiles/duckdb_transformer_statement.dir/ub_duckdb_transformer_statement.cpp.o [34/200] Building CXX object src/function/aggregate/algebraic/CMakeFiles/duckdb_aggr_algebraic.dir/ub_duckdb_aggr_algebraic.cpp.o [35/200] Building CXX object src/function/aggregate/nested/CMakeFiles/duckdb_aggr_nested.dir/ub_duckdb_aggr_nested.cpp.o [36/200] Building CXX object src/function/aggregate/regression/CMakeFiles/duckdb_aggr_regr.dir/ub_duckdb_aggr_regr.cpp.o [37/200] Building CXX object src/function/aggregate/distributive/CMakeFiles/duckdb_aggr_distr.dir/ub_duckdb_aggr_distr.cpp.o In file included from /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/bazel-out/k8-fastbuild/bin/external/com_github_duckdb/duckdb.build_tmpdir/src/function/aggregate/distributive/ub_duckdb_aggr_distr.cpp:2: /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/function/aggregate/distributive/approx_count.cpp: In function 'void duckdb::ApproxCountDistinctUpdateFunction(duckdb::Vector*, duckdb::AggregateInputData&, duckdb::idx_t, duckdb::Vector&, duckdb::idx_t)': /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/function/aggregate/distributive/approx_count.cpp:114:31: warning: 'counts' may be used uninitialized in this function [-Wmaybe-uninitialized] 114 | HyperLogLog::AddToLogs(vdata, count, indices, counts, (HyperLogLog ___)states, sdata.sel); | ~~~~^~~~~~~~~~~~~~~~~ /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/function/aggregate/distributive/approx_count.cpp:114:31: warning: 'indices' may be used uninitialized in this function [-Wmaybe-uninitialized] [38/200] Building CXX object src/function/aggregate/holistic/CMakeFiles/duckdb_aggr_holistic.dir/ub_duckdb_aggr_holistic.cpp.o [39/200] Building CXX object src/function/scalar/CMakeFiles/duckdb_func_scalar.dir/ub_duckdb_func_scalar.cpp.o [40/200] Building CXX object src/function/pragma/CMakeFiles/duckdb_func_pragma.dir/ub_duckdb_func_pragma.cpp.o [41/200] Building CXX object src/function/scalar/blob/CMakeFiles/duckdb_func_blob.dir/ub_duckdb_func_blob.cpp.o [42/200] Building CXX object src/function/scalar/generic/CMakeFiles/duckdb_func_generic.dir/ub_duckdb_func_generic.cpp.o [43/200] Building CXX object src/function/cast/CMakeFiles/duckdb_func_cast.dir/ub_duckdb_func_cast.cpp.o [44/200] Building CXX object src/function/scalar/list/CMakeFiles/duckdb_func_list.dir/ub_duckdb_func_list.cpp.o [45/200] Building CXX object src/function/scalar/map/CMakeFiles/duckdb_func_map_nested.dir/ub_duckdb_func_map_nested.cpp.o [46/200] Building CXX object src/function/scalar/math/CMakeFiles/duckdb_func_math.dir/ub_duckdb_func_math.cpp.o [47/200] Building CXX object src/function/scalar/date/CMakeFiles/duckdb_func_date.dir/ub_duckdb_func_date.cpp.o [48/200] Building CXX object src/function/scalar/sequence/CMakeFiles/duckdb_func_seq.dir/ub_duckdb_func_seq.cpp.o [49/200] Building CXX object src/function/scalar/struct/CMakeFiles/duckdb_func_struct.dir/ub_duckdb_func_struct.cpp.o [50/200] Building CXX object src/function/scalar/system/CMakeFiles/duckdb_func_system.dir/ub_duckdb_func_system.cpp.o [51/200] Building CXX object src/function/scalar/union/CMakeFiles/duckdb_func_union.dir/ub_duckdb_func_union.cpp.o [52/200] Building CXX object src/function/scalar/enum/CMakeFiles/duckdb_func_enum.dir/ub_duckdb_func_enum.cpp.o [53/200] Building CXX object src/function/scalar/operators/CMakeFiles/duckdb_func_ops.dir/ub_duckdb_func_ops.cpp.o [54/200] Building CXX object src/function/scalar/string/CMakeFiles/duckdb_func_string.dir/ub_duckdb_func_string.cpp.o In file included from /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/bazel-out/k8-fastbuild/bin/external/com_github_duckdb/duckdb.build_tmpdir/src/function/scalar/string/ub_duckdb_func_string.cpp:24: /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/function/scalar/string/stringsplit.cpp: In function 'void duckdb::StringSplitExecutor(duckdb::DataChunk&, duckdb::ExpressionState&, duckdb::Vector&, void) [with OP = duckdb::RegexpStringSplit]': /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/function/scalar/string/string_split.cpp:98:44: warning: 'match_size' may be used uninitialized in this function [-Wmaybe-uninitialized] 98 | input_data += (pos + match_size); | ~^~~~~ /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/function/scalar/string/string_split.cpp:77:31: note: 'match_size' was declared here 77 | idx_t match_size; | ^~~~~~ /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/function/scalar/string/string_split.cpp: In function 'void duckdb::StringSplitRegexFunction(duckdb::DataChunk&, duckdb::ExpressionState&, duckdb::Vector&)': /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/function/scalar/string/string_split.cpp:98:44: warning: 'match_size' may be used uninitialized in this function [-Wmaybe-uninitialized] 98 | input_data += (pos + match_size); | ~^~~~~ /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/function/scalar/string/string_split.cpp:77:31: note: 'match_size' was declared here 77 | idx_t match_size; | ^~~~~~ [55/200] Building CXX object src/function/table/version/CMakeFiles/duckdb_func_table_version.dir/ub_duckdb_func_table_version.cpp.o [56/200] Building CXX object src/function/table/CMakeFiles/duckdb_func_table.dir/ub_duckdb_func_table.cpp.o [57/200] Building CXX object src/catalog/CMakeFiles/duckdb_catalog.dir/ub_duckdb_catalog.cpp.o [58/200] Building CXX object src/function/table/system/CMakeFiles/duckdb_table_func_system.dir/ub_duckdb_table_func_system.cpp.o [59/200] Building CXX object src/catalog/default/CMakeFiles/duckdb_catalog_default_entries.dir/ub_duckdb_catalog_default_entries.cpp.o [60/200] Building CXX object src/common/arrow/CMakeFiles/duckdb_common_arrow.dir/ub_duckdb_common_arrow.cpp.o [61/200] Building CXX object src/common/crypto/CMakeFiles/duckdb_common_crypto.dir/ub_duckdb_common_crypto.cpp.o [62/200] Building CXX object src/common/enums/CMakeFiles/duckdb_common_enums.dir/ub_duckdb_common_enums.cpp.o [63/200] Building CXX object src/catalog/catalog_entry/CMakeFiles/duckdb_catalog_entries.dir/ub_duckdb_catalog_entries.cpp.o [64/200] Building CXX object src/common/operator/CMakeFiles/duckdb_common_operators.dir/ub_duckdb_common_operators.cpp.o [65/200] Building CXX object src/common/serializer/CMakeFiles/duckdb_common_serializer.dir/ub_duckdb_common_serializer.cpp.o [66/200] Building CXX object src/common/row_operations/CMakeFiles/duckdb_row_operations.dir/ub_duckdb_row_operations.cpp.o [67/200] Building CXX object src/common/sort/CMakeFiles/duckdb_sort.dir/ub_duckdb_sort.cpp.o In file included from /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/bazel-out/k8-fastbuild/bin/external/com_github_duckdb/duckdb.build_tmpdir/src/common/sort/ub_duckdb_sort.cpp:3: /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/common/sort/merge_sorter.cpp: In member function 'void duckdb::MergeSorter::MergeData(duckdb::SortedData&, duckdb::SortedData&, duckdb::SortedData&, const idxt&, const bool, duckdb::idxt, bool)': /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/common/sort/merge_sorter.cpp:551:58: warning: 'result_heap_block' may be used uninitialized in this function [-Wmaybe-uninitialized] 551 | result_heap_block->count += merged; | ~~~~~^~~~~ [68/200] Building CXX object src/common/value_operations/CMakeFiles/duckdb_value_operations.dir/ub_duckdb_value_operations.cpp.o [69/200] Building CXX object src/common/vector_operations/CMakeFiles/duckdb_vector_operations.dir/boolean_operators.cpp.o [70/200] Building CXX object src/common/vector_operations/CMakeFiles/duckdb_vector_operations.dir/vector_cast.cpp.o [71/200] Building CXX object src/common/CMakeFiles/duckdb_common.dir/ub_duckdb_common.cpp.o [72/200] Building CXX object src/common/vector_operations/CMakeFiles/duckdb_vector_operations.dir/vector_copy.cpp.o [73/200] Building CXX object src/common/vector_operations/CMakeFiles/duckdb_vector_operations.dir/generators.cpp.o [74/200] Building CXX object src/common/vector_operations/CMakeFiles/duckdb_vector_operations.dir/vector_hash.cpp.o [75/200] Building CXX object src/common/vector_operations/CMakeFiles/duckdb_vector_operations.dir/vector_storage.cpp.o [76/200] Building CXX object src/common/vector_operations/CMakeFiles/duckdb_vector_operations.dir/null_operations.cpp.o [77/200] Building CXX object src/common/vector_operations/CMakeFiles/duckdb_vector_operations.dir/numeric_inplace_operators.cpp.o [78/200] Building CXX object src/common/types/CMakeFiles/duckdb_common_types.dir/ub_duckdb_common_types.cpp.o In file included from /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/bazel-out/k8-fastbuild/bin/external/com_github_duckdb/duckdb.build_tmpdir/src/common/types/ub_duckdb_common_types.cpp:13: /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/common/types/hash.cpp: In function 'duckdb::hash_t duckdb::Hash(T) [with T = float; duckdb::hash_t = long unsigned int]': /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/common/types/hash.cpp:43:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 43 | uint32t uval = ((uint32t )&val); | ~^~~~~ /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/common/types/hash.cpp: In function 'duckdb::hash_t duckdb::Hash(T) [with T = double; duckdb::hash_t = long unsigned int]': /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/common/types/hash.cpp:51:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 51 | uint64t uval = ((uint64t )&val); | ~^~~~~ [79/200] Building CXX object src/common/vector_operations/CMakeFiles/duckdb_vector_operations.dir/comparison_operators.cpp.o [80/200] Building CXX object src/execution/CMakeFiles/duckdb_execution.dir/ub_duckdb_execution.cpp.o [81/200] Building CXX object src/execution/nested_loop_join/CMakeFiles/duckdb_nested_loop_join.dir/ub_duckdb_nested_loop_join.cpp.o [82/200] Building CXX object src/execution/operator/aggregate/CMakeFiles/duckdb_operator_aggregate.dir/ub_duckdb_operator_aggregate.cpp.o [83/200] Building CXX object src/execution/operator/filter/CMakeFiles/duckdb_operator_filter.dir/ub_duckdb_operator_filter.cpp.o [84/200] Building CXX object src/execution/operator/helper/CMakeFiles/duckdb_operator_helper.dir/ub_duckdb_operator_helper.cpp.o [85/200] Building CXX object src/execution/operator/join/CMakeFiles/duckdb_operator_join.dir/ub_duckdb_operator_join.cpp.o [86/200] Building CXX object src/common/vector_operations/CMakeFiles/duckdb_vector_operations.dir/is_distinct_from.cpp.o [87/200] Building CXX object src/execution/expression_executor/CMakeFiles/duckdb_expression_executor.dir/ub_duckdb_expression_executor.cpp.o [88/200] Building CXX object src/execution/operator/order/CMakeFiles/duckdb_operator_order.dir/ub_duckdb_operator_order.cpp.o [89/200] Building CXX object src/execution/operator/projection/CMakeFiles/duckdb_operator_projection.dir/ub_duckdb_operator_projection.cpp.o [90/200] Building CXX object src/execution/operator/scan/CMakeFiles/duckdb_operator_scan.dir/ub_duckdb_operator_scan.cpp.o [91/200] Building CXX object src/execution/operator/set/CMakeFiles/duckdb_operator_set.dir/ub_duckdb_operator_set.cpp.o [92/200] Building CXX object src/execution/operator/schema/CMakeFiles/duckdb_operator_schema.dir/ub_duckdb_operator_schema.cpp.o [93/200] Building CXX object src/execution/operator/persistent/CMakeFiles/duckdb_operator_persistent.dir/ub_duckdb_operator_persistent.cpp.o [94/200] Building CXX object src/execution/index/art/CMakeFiles/duckdb_art_index_execution.dir/ub_duckdb_art_index_execution.cpp.o In file included from /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/bazel-out/k8-fastbuild/bin/external/com_github_duckdb/duckdb.build_tmpdir/src/execution/index/art/ub_duckdb_art_index_execution.cpp:5: /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_githubduckdb/src/execution/index/art/node.cpp: In static member function 'static duckdb::Node duckdb::Node::Deserialize(duckdb::ART&, duckdb::idx_t, duckdb::idx_t)': /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/execution/index/art/node.cpp:302:47: warning: 'deserialized_node' may be used uninitialized in this function [-Wmaybe-uninitialized] 302 | deserialized_node->DeserializeInternal(reader); | ~~~~~~~~^~ [95/200] Building CXX object src/execution/physical_plan/CMakeFiles/duckdb_physical_plan.dir/ub_duckdb_physical_plan.cpp.o [96/200] Building CXX object src/main/capi/CMakeFiles/duckdb_main_capi.dir/ub_duckdb_main_capi.cpp.o [97/200] Building CXX object src/main/capi/cast/CMakeFiles/duckdb_main_capi_cast.dir/ub_duckdb_main_capi_cast.cpp.o [98/200] Building CXX object src/main/relation/CMakeFiles/duckdb_main_relation.dir/ub_duckdb_main_relation.cpp.o [99/200] Building CXX object src/main/extension/CMakeFiles/duckdb_main_extension.dir/ub_duckdb_main_extension.cpp.o [100/200] Building CXX object src/main/settings/CMakeFiles/duckdb_main_settings.dir/ub_duckdb_main_settings.cpp.o [101/200] Building CXX object src/main/CMakeFiles/duckdb_main.dir/ub_duckdb_main.cpp.o [102/200] Building CXX object src/storage/buffer/CMakeFiles/duckdb_storage_buffer.dir/ub_duckdb_storage_buffer.cpp.o [103/200] Building CXX object src/storage/checkpoint/CMakeFiles/duckdb_storage_checkpoint.dir/ub_duckdb_storage_checkpoint.cpp.o [104/200] Building CXX object src/parallel/CMakeFiles/duckdb_parallel.dir/ub_duckdb_parallel.cpp.o [105/200] Building CXX object src/storage/compression/chimp/CMakeFiles/duckdb_storage_compression_chimp.dir/ub_duckdb_storage_compression_chimp.cpp.o In file included from /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/storage/compression/chimp/chimp.cpp:2, from /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/bazel-out/k8-fastbuild/bin/external/com_github_duckdb/duckdb.build_tmpdir/src/storage/compression/chimp/ub_duckdb_storage_compression_chimp.cpp:6: /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/include/duckdb/storage/compression/chimp/chimp_compress.hpp: In instantiation of 'void duckdb::ChimpCompressionState::WriteValue(duckdb::ChimpCompressionState::CHIMP_TYPE, bool) [with T = float; duckdb::ChimpCompressionState::CHIMP_TYPE = unsigned int]': /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/include/duckdb/storage/compression/chimp/chimp_compress.hpp:138:4: required from 'void duckdb::ChimpCompressionState::Append(duckdb::UnifiedVectorFormat&, duckdb::idx_t) [with T = float; duckdb::idx_t = long unsigned int]' /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/include/duckdb/storage/compression/chimp/chimp_compress.hpp:276:14: required from 'void duckdb::ChimpCompress(duckdb::CompressionState&, duckdb::Vector&, duckdb::idx_t) [with T = float; duckdb::idx_t = long unsigned int]' /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/storage/compression/chimp/chimp.cpp:14:9: required from 'duckdb::CompressionFunction duckdb::GetChimpFunction(duckdb::PhysicalType) [with T = float]' /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/storage/compression/chimp/chimp.cpp:23:33: required from here /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/include/duckdb/storage/compression/chimp/chimp_compress.hpp:152:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 152 | T floating_pointvalue = (T _)(&value); | ^~~~~ /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/include/duckdb/storage/compression/chimp/chimp_compress.hpp: In instantiation of 'void duckdb::ChimpCompressionState::WriteValue(duckdb::ChimpCompressionState::CHIMP_TYPE, bool) [with T = double; duckdb::ChimpCompressionState::CHIMP_TYPE = long unsigned int]': /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/include/duckdb/storage/compression/chimp/chimp_compress.hpp:138:4: required from 'void duckdb::ChimpCompressionState::Append(duckdb::UnifiedVectorFormat&, duckdb::idx_t) [with T = double; duckdb::idx_t = long unsigned int]' /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/include/duckdb/storage/compression/chimp/chimp_compress.hpp:276:14: required from 'void duckdb::ChimpCompress(duckdb::CompressionState&, duckdb::Vector&, duckdb::idx_t) [with T = double; duckdb::idx_t = long unsigned int]' /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/storage/compression/chimp/chimp.cpp:14:9: required from 'duckdb::CompressionFunction duckdb::GetChimpFunction(duckdb::PhysicalType) [with T = double]' /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/storage/compression/chimp/chimp.cpp:25:34: required from here /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/include/duckdb/storage/compression/chimp/chimp_compress.hpp:152:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [106/200] Building CXX object src/storage/CMakeFiles/duckdb_storage.dir/ub_duckdb_storage.cpp.o [107/200] Building CXX object src/storage/statistics/CMakeFiles/duckdb_storage_statistics.dir/ub_duckdb_storage_statistics.cpp.o [108/200] Building CXX object src/storage/compression/CMakeFiles/duckdb_storage_compression.dir/ub_duckdb_storage_compression.cpp.o In file included from /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/include/duckdb/storage/compression/patas/patas_compress.hpp:14, from /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/storage/compression/patas.cpp:2, from /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/bazel-out/k8-fastbuild/bin/external/com_github_duckdb/duckdb.build_tmpdir/src/storage/compression/ub_duckdb_storage_compression.cpp:10: /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/include/duckdb/storage/compression/patas/patas_analyze.hpp: In instantiation of 'static void duckdb::EmptyPatasWriter::Operation(VALUETYPE, bool, void) [with VALUE_TYPE = float]': /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/include/duckdb/storage/compression/patas/patas.hpp:54:28: required from 'bool duckdb::PatasState<T, EMPTY>::Update(T, bool) [with OP = duckdb::EmptyPatasWriter; T = float; bool EMPTY = true]' /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/include/duckdb/storage/compression/patas/patas_analyze.hpp:123:56: required from 'bool duckdb::PatasAnalyze(duckdb::AnalyzeState&, duckdb::Vector&, duckdb::idx_t) [with T = float; duckdb::idx_t = long unsigned int]' /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/storage/compression/patas.cpp:32:110: required from here /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/include/duckdb/storage/compression/patas/patas_analyze.hpp:105:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 105 | statewrapper->WriteValue((EXACTTYPE )(&uncompressed_value), is_valid); | ^~~~~~~~~~~ /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/include/duckdb/storage/compression/patas/patas_analyze.hpp: In instantiation of 'static void duckdb::EmptyPatasWriter::Operation(VALUETYPE, bool, void) [with VALUE_TYPE = double]': /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/include/duckdb/storage/compression/patas/patas.hpp:54:28: required from 'bool duckdb::PatasState<T, EMPTY>::Update(T, bool) [with OP = duckdb::EmptyPatasWriter; T = double; bool EMPTY = true]' /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/include/duckdb/storage/compression/patas/patas_analyze.hpp:123:56: required from 'bool duckdb::PatasAnalyze(duckdb::AnalyzeState&, duckdb::Vector&, duckdb::idx_t) [with T = double; duckdb::idx_t = long unsigned int]' /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/storage/compression/patas.cpp:40:114: required from here /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/include/duckdb/storage/compression/patas/patas_analyze.hpp:105:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] In file included from /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/storage/compression/patas.cpp:2, from /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/bazel-out/k8-fastbuild/bin/external/com_github_duckdb/duckdb.build_tmpdir/src/storage/compression/ub_duckdb_storage_compression.cpp:10: /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/include/duckdb/storage/compression/patas/patas_compress.hpp: In instantiation of 'static void duckdb::PatasCompressionState::PatasWriter::Operation(VALUETYPE, bool, void) [with VALUE_TYPE = float; T = float]': /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/include/duckdb/storage/compression/patas/patas.hpp:54:28: required from 'bool duckdb::PatasState<T, EMPTY>::Update(T, bool) [with OP = duckdb::PatasCompressionState::PatasWriter; T = float; bool EMPTY = false]' /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/include/duckdb/storage/compression/patas/patas_compress.hpp:149:38: required from 'void duckdb::PatasCompressionState::Append(duckdb::UnifiedVectorFormat&, duckdb::idx_t) [with T = float; duckdb::idx_t = long unsigned int]' /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/include/duckdb/storage/compression/patas/patas_compress.hpp:228:14: required from 'void duckdb::PatasCompress(duckdb::CompressionState&, duckdb::Vector&, duckdb::idx_t) [with T = float; duckdb::idx_t = long unsigned int]' /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/storage/compression/patas.cpp:32:110: required from here /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/include/duckdb/storage/compression/patas/patas_compress.hpp:55:52: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 55 | state_wrapper->WriteValue((EXACTTYPE )(&value)); | ^~~~~~ /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/include/duckdb/storage/compression/patas/patas_compress.hpp: In instantiation of 'static void duckdb::PatasCompressionState::PatasWriter::Operation(VALUETYPE, bool, void) [with VALUE_TYPE = double; T = double]': /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/include/duckdb/storage/compression/patas/patas.hpp:54:28: required from 'bool duckdb::PatasState<T, EMPTY>::Update(T, bool) [with OP = duckdb::PatasCompressionState::PatasWriter; T = double; bool EMPTY = false]' /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/include/duckdb/storage/compression/patas/patas_compress.hpp:149:38: required from 'void duckdb::PatasCompressionState::Append(duckdb::UnifiedVectorFormat&, duckdb::idx_t) [with T = double; duckdb::idx_t = long unsigned int]' /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/include/duckdb/storage/compression/patas/patas_compress.hpp:228:14: required from 'void duckdb::PatasCompress(duckdb::CompressionState&, duckdb::Vector&, duckdb::idx_t) [with T = double; duckdb::idx_t = long unsigned int]' /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/storage/compression/patas.cpp:40:114: required from here /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/include/duckdb/storage/compression/patas/patas_compress.hpp:55:52: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [109/200] Building CXX object src/verification/CMakeFiles/duckdb_verification.dir/copied_statement_verifier.cpp.o [110/200] Building CXX object src/verification/CMakeFiles/duckdb_verification.dir/external_statement_verifier.cpp.o [111/200] Building CXX object src/transaction/CMakeFiles/duckdb_transaction.dir/ub_duckdb_transaction.cpp.o [112/200] Building CXX object src/verification/CMakeFiles/duckdb_verification.dir/deserialized_statement_verifier.cpp.o [113/200] Building CXX object src/verification/CMakeFiles/duckdb_verification.dir/prepared_statement_verifier.cpp.o [114/200] Building CXX object src/verification/CMakeFiles/duckdb_verification.dir/statement_verifier.cpp.o [115/200] Building CXX object src/verification/CMakeFiles/duckdb_verification.dir/parsed_statement_verifier.cpp.o [116/200] Building CXX object src/verification/CMakeFiles/duckdb_verification.dir/unoptimized_statement_verifier.cpp.o [117/200] Building CXX object tools/sqlite3_api_wrapper/CMakeFiles/sqlite3_api_wrapper_static.dir/sqlite3_api_wrapper.cpp.o [118/200] Building CXX object src/storage/table/CMakeFiles/duckdb_storage_table.dir/ub_duckdb_storage_table.cpp.o In file included from /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/include/duckdb/storage/table/column_data.hpp:13, from /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/storage/table/column_checkpoint_state.cpp:2, from /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/bazel-out/k8-fastbuild/bin/external/com_github_duckdb/duckdb.build_tmpdir/src/storage/table/ub_duckdb_storage_table.cpp:3: In constructor 'duckdb::ColumnScanState::ColumnScanState(duckdb::ColumnScanState&&)', inlined from 'void gnu_cxx::new_allocator<_Tp>::construct(_Up, _Args&& ...) [with _Up = duckdb::ColumnScanState; _Args = {duckdb::ColumnScanState}; _Tp = duckdb::ColumnScanState]' at /usr/include/c++/11/ext/new_allocator.h:156:4, inlined from 'static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up, _Args&& ...) [with _Up = duckdb::ColumnScanState; _Args = {duckdb::ColumnScanState}; _Tp = duckdb::ColumnScanState]' at /usr/include/c++/11/bits/alloc_traits.h:512:17, inlined from 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {duckdb::ColumnScanState}; _Tp = duckdb::ColumnScanState; _Alloc = std::allocatorduckdb::ColumnScanState]' at /usr/include/c++/11/bits/vector.tcc:115:30, inlined from 'void std::vector<_Tp, _Alloc>::push_back(std::vector<_Tp, _Alloc>::value_type&&) [with _Tp = duckdb::ColumnScanState; _Alloc = std::allocatorduckdb::ColumnScanState]' at /usr/include/c++/11/bits/stl_vector.h:1204:21, inlined from 'virtual duckdb::idx_t duckdb::StandardColumnData::Fetch(duckdb::ColumnScanState&, duckdb::row_t, duckdb::Vector&)' at /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/storage/table/standard_column_data.cpp:108:31: /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/include/duckdb/storage/table/scan_state.hpp:44:8: warning: 'child_state.duckdb::ColumnScanState::version' may be used uninitialized [-Wmaybe-uninitialized] 44 | struct ColumnScanState { | ^~~~~~~ In file included from /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/bazel-out/k8-fastbuild/bin/external/com_github_duckdb/duckdb.build_tmpdir/src/storage/table/ub_duckdb_storage_table.cpp:14: /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/storage/table/standard_column_data.cpp: In member function 'virtual duckdb::idx_t duckdb::StandardColumnData::Fetch(duckdb::ColumnScanState&, duckdb::row_t, duckdb::Vector&)': /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/storage/table/standard_column_data.cpp:107:33: note: 'child_state' declared here 107 | ColumnScanState child_state; | ^~~ In file included from /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/include/duckdb/storage/table/column_data.hpp:13, from /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/storage/table/column_checkpoint_state.cpp:2, from /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/bazel-out/k8-fastbuild/bin/external/com_github_duckdb/duckdb.build_tmpdir/src/storage/table/ub_duckdb_storage_table.cpp:3: In constructor 'duckdb::ColumnScanState::ColumnScanState(duckdb::ColumnScanState&&)', inlined from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up, _Args&& ...) [with _Up = duckdb::ColumnScanState; _Args = {duckdb::ColumnScanState}; _Tp = duckdb::ColumnScanState]' at /usr/include/c++/11/ext/new_allocator.h:156:4, inlined from 'static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up, _Args&& ...) [with _Up = duckdb::ColumnScanState; _Args = {duckdb::ColumnScanState}; _Tp = duckdb::ColumnScanState]' at /usr/include/c++/11/bits/alloc_traits.h:512:17, inlined from 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {duckdb::ColumnScanState}; _Tp = duckdb::ColumnScanState; _Alloc = std::allocatorduckdb::ColumnScanState]' at /usr/include/c++/11/bits/vector.tcc:115:30, inlined from 'void std::vector<_Tp, _Alloc>::push_back(std::vector<_Tp, _Alloc>::value_type&&) [with _Tp = duckdb::ColumnScanState; _Alloc = std::allocatorduckdb::ColumnScanState]' at /usr/include/c++/11/bits/stl_vector.h:1204:21, inlined from 'virtual duckdb::idx_t duckdb::StructColumnData::Fetch(duckdb::ColumnScanState&, duckdb::row_t, duckdb::Vector&)' at /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/storage/table/struct_column_data.cpp:162:31: /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/include/duckdb/storage/table/scan_state.hpp:44:8: warning: 'child_state.duckdb::ColumnScanState::version' may be used uninitialized [-Wmaybe-uninitialized] 44 | struct ColumnScanState { | ^~~~~~~ In file included from /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/bazel-out/k8-fastbuild/bin/external/com_github_duckdb/duckdb.build_tmpdir/src/storage/table/ub_duckdb_storage_table.cpp:15: /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/storage/table/struct_column_data.cpp: In member function 'virtual duckdb::idx_t duckdb::StructColumnData::Fetch(duckdb::ColumnScanState&, duckdb::row_t, duckdb::Vector&)': /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/src/storage/table/struct_column_data.cpp:161:33: note: 'child_state' declared here 161 | ColumnScanState child_state; | ^~~ [119/200] Building CXX object tools/sqlite3_api_wrapper/CMakeFiles/sqlite3_api_wrapper_static.dir/sql_auto_complete_extension.cpp.o [120/200] Building CXX object tools/sqlite3_api_wrapper/CMakeFiles/sqlite3_api_wrapper.dir/sqlite3_api_wrapper.cpp.o [121/200] Building CXX object tools/sqlite3_api_wrapper/CMakeFiles/sqlite3_api_wrapper.dir/sql_auto_complete_extension.cpp.o [122/200] Building C object tools/sqlite3_api_wrapper/sqlite3/CMakeFiles/sqlite3_api_wrapper_sqlite3.dir/printf.c.o /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/tools/sqlite3_api_wrapper/sqlite3/printf.c: In function 'duckdb_shell_sqlite3AppendChar': /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/tools/sqlite3_api_wrapper/sqlite3/printf.c:958:33: warning: 'zNew' may be used uninitialized in this function [-Wmaybe-uninitialized] 958 | memcpy(zNew, p->zText, p->nChar); | ^~~~~~~~ /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/tools/sqlite3_api_wrapper/sqlite3/printf.c:922:15: note: 'zNew' was declared here 922 | char zNew; | ^~~~ /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/tools/sqlite3_api_wrapper/sqlite3/printf.c: In function 'duckdb_shell_sqlite3StrAccumAppend': /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/tools/sqlite3_api_wrapper/sqlite3/printf.c:958:33: warning: 'zNew' may be used uninitialized in this function [-Wmaybe-uninitialized] 958 | memcpy(zNew, p->zText, p->nChar); | ^~~~~~~~ /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/tools/sqlite3_api_wrapper/sqlite3/printf.c:922:15: note: 'zNew' was declared here 922 | char *zNew; | ^~~~ /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/tools/sqlite3_api_wrapper/sqlite3/printf.c: In function 'duckdb_shell_sqlite3VXPrintf': /home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/external/com_github_duckdb/tools/sqlite3_api_wrapper/sqlite3/printf.c:896:23: warning: 'length' may be used uninitialized in this function [-Wmaybe-uninitialized] 896 | width -= length; | ~~^~~~~ [123/200] Building C object tools/sqlite3_api_wrapper/sqlite3/CMakeFiles/sqlite3_api_wrapper_sqlite3.dir/strglob.c.o [124/200] Building CXX object tools/sqlite3_api_wrapper/CMakeFiles/test_sqlite3_api_wrapper.dir/test/test_sqlite3_udf_api_wrapper.cpp.o [125/200] Building CXX object tools/sqlite3_api_wrapper/sqlite3_udf_api/CMakeFiles/sqlite3_udf_api.dir/sqlite3_udf_wrapper.cpp.o [126/200] Building CXX object tools/sqlite3_api_wrapper/sqlite3_udf_api/CMakeFiles/sqlite3_udf_api.dir/cast_sqlite.cpp.o [127/200] Building CXX object tools/shell/CMakeFiles/shell.dir/linenoise.cpp.o [128/200] Building C object tools/shell/CMakeFiles/shell.dir/shell.c.o [129/200] Building CXX object third_party/libpg_query/CMakeFiles/duckdb_pg_query.dir/postgres_parser.cpp.o [130/200] Building CXX object third_party/libpg_query/CMakeFiles/duckdb_pg_query.dir/pg_functions.cpp.o [131/200] Building CXX object third_party/libpg_query/CMakeFiles/duckdb_pg_query.dir/src_backend_parser_parser.cpp.o [132/200] Building CXX object third_party/libpg_query/CMakeFiles/duckdb_pg_query.dir/src_backend_parser_gram.cpp.o [133/200] Building CXX object third_party/libpg_query/CMakeFiles/duckdb_pg_query.dir/src_backend_nodes_list.cpp.o [134/200] Building CXX object third_party/libpg_query/CMakeFiles/duckdb_pg_query.dir/src_backend_parser_scansup.cpp.o [135/200] Building CXX object third_party/libpg_query/CMakeFiles/duckdb_pg_query.dir/src_backend_nodes_makefuncs.cpp.o [136/200] Building CXX object third_party/libpg_query/CMakeFiles/duckdb_pg_query.dir/src_backend_nodes_value.cpp.o [137/200] Building CXX object third_party/libpg_query/CMakeFiles/duckdb_pg_query.dir/src_backend_parser_scan.cpp.o [138/200] Building CXX object third_party/libpg_query/CMakeFiles/duckdb_pg_query.dir/src_common_keywords.cpp.o [139/200] Linking CXX static library third_party/libpg_query/libduckdb_pg_query.a [140/200] Building CXX object third_party/re2/CMakeFiles/duckdb_re2.dir/re2/bitstate.cc.o [141/200] Building CXX object third_party/re2/CMakeFiles/duckdb_re2.dir/re2/compile.cc.o [142/200] Building CXX object third_party/fmt/CMakeFiles/duckdb_fmt.dir/format.cc.o [143/200] Linking CXX static library third_party/fmt/libduckdb_fmt.a [144/200] Building CXX object third_party/re2/CMakeFiles/duckdb_re2.dir/re2/filtered_re2.cc.o [145/200] Building CXX object third_party/re2/CMakeFiles/duckdb_re2.dir/re2/dfa.cc.o [146/200] Building CXX object third_party/re2/CMakeFiles/duckdb_re2.dir/re2/mimics_pcre.cc.o [147/200] Building CXX object tools/sqlite3_api_wrapper/CMakeFiles/test_sqlite3_api_wrapper.dir/test/test_sqlite3_api_wrapper.cpp.o [148/200] Building CXX object third_party/re2/CMakeFiles/duckdb_re2.dir/re2/nfa.cc.o [149/200] Building CXX object third_party/re2/CMakeFiles/duckdb_re2.dir/re2/onepass.cc.o [150/200] Building CXX object third_party/re2/CMakeFiles/duckdb_re2.dir/re2/perl_groups.cc.o [151/200] Building CXX object third_party/re2/CMakeFiles/duckdb_re2.dir/re2/prefilter.cc.o [152/200] Building CXX object third_party/re2/CMakeFiles/duckdb_re2.dir/re2/parse.cc.o [153/200] Building CXX object third_party/re2/CMakeFiles/duckdb_re2.dir/re2/prefilter_tree.cc.o [154/200] Building CXX object third_party/re2/CMakeFiles/duckdb_re2.dir/re2/prog.cc.o [155/200] Building CXX object third_party/re2/CMakeFiles/duckdb_re2.dir/re2/regexp.cc.o [156/200] Building CXX object third_party/re2/CMakeFiles/duckdb_re2.dir/re2/re2.cc.o [157/200] Building CXX object third_party/re2/CMakeFiles/duckdb_re2.dir/re2/set.cc.o [158/200] Building CXX object third_party/re2/CMakeFiles/duckdb_re2.dir/re2/stringpiece.cc.o [159/200] Building CXX object third_party/re2/CMakeFiles/duckdb_re2.dir/re2/unicode_casefold.cc.o [160/200] Building CXX object third_party/re2/CMakeFiles/duckdb_re2.dir/re2/unicode_groups.cc.o [161/200] Building CXX object third_party/re2/CMakeFiles/duckdb_re2.dir/re2/simplify.cc.o [162/200] Building CXX object third_party/re2/CMakeFiles/duckdb_re2.dir/util/rune.cc.o [163/200] Building CXX object third_party/re2/CMakeFiles/duckdb_re2.dir/util/strutil.cc.o [164/200] Building CXX object third_party/re2/CMakeFiles/duckdb_re2.dir/re2/tostring.cc.o [165/200] Linking CXX static library third_party/re2/libduckdb_re2.a [166/200] Building CXX object third_party/utf8proc/CMakeFiles/duckdb_utf8proc.dir/utf8proc_wrapper.cpp.o [167/200] Building CXX object third_party/utf8proc/CMakeFiles/duckdb_utf8proc.dir/utf8proc.cpp.o [168/200] Linking CXX static library third_party/utf8proc/libduckdb_utf8proc.a [169/200] Building CXX object third_party/hyperloglog/CMakeFiles/duckdb_hyperloglog.dir/sds.cpp.o [170/200] Building CXX object third_party/hyperloglog/CMakeFiles/duckdb_hyperloglog.dir/hyperloglog.cpp.o [171/200] Linking CXX static library third_party/hyperloglog/libduckdb_hyperloglog.a [172/200] Building CXX object third_party/mbedtls/CMakeFiles/duckdb_mbedtls.dir/mbedtls_wrapper.cpp.o [173/200] Building CXX object third_party/mbedtls/CMakeFiles/duckdb_mbedtls.dir/library/sha256.cpp.o [174/200] Building CXX object third_party/miniz/CMakeFiles/duckdb_miniz.dir/miniz.cpp.o [175/200] Linking CXX static library third_party/miniz/libduckdb_miniz.a [176/200] Building CXX object third_party/mbedtls/CMakeFiles/duckdb_mbedtls.dir/library/rsa_alt_helpers.cpp.o [177/200] Building CXX object third_party/mbedtls/CMakeFiles/duckdb_mbedtls.dir/library/rsa.cpp.o [178/200] Building CXX object third_party/mbedtls/CMakeFiles/duckdb_mbedtls.dir/library/md.cpp.o [179/200] Building CXX object third_party/mbedtls/CMakeFiles/duckdb_mbedtls.dir/library/oid.cpp.o [180/200] Building CXX object third_party/mbedtls/CMakeFiles/duckdb_mbedtls.dir/library/constant_time.cpp.o [181/200] Building CXX object third_party/mbedtls/CMakeFiles/duckdb_mbedtls.dir/library/platform_util.cpp.o [182/200] Building CXX object third_party/mbedtls/CMakeFiles/duckdb_mbedtls.dir/library/base64.cpp.o [183/200] Building CXX object third_party/mbedtls/CMakeFiles/duckdb_mbedtls.dir/library/pkparse.cpp.o [184/200] Building CXX object third_party/mbedtls/CMakeFiles/duckdb_mbedtls.dir/library/pk.cpp.o [185/200] Building CXX object third_party/mbedtls/CMakeFiles/duckdb_mbedtls.dir/library/pk_wrap.cpp.o [186/200] Building CXX object third_party/mbedtls/CMakeFiles/duckdb_mbedtls.dir/library/asn1parse.cpp.o [187/200] Building CXX object third_party/mbedtls/CMakeFiles/duckdb_mbedtls.dir/library/pem.cpp.o [188/200] Building CXX object third_party/mbedtls/CMakeFiles/duckdb_mbedtls.dir/library/bignum.cpp.o [189/200] Linking CXX static library third_party/mbedtls/libduckdb_mbedtls.a [190/200] Building CXX object third_party/fsst/CMakeFiles/duckdb_fsst.dir/fsst_avx512.cpp.o [191/200] Building CXX object third_party/fsst/CMakeFiles/duckdb_fsst.dir/libfsst.cpp.o [192/200] Linking CXX static library third_party/fsst/libduckdb_fsst.a [193/200] Building CXX object third_party/fastpforlib/CMakeFiles/duckdb_fastpforlib.dir/bitpacking.cpp.o [194/200] Linking CXX static library third_party/fastpforlib/libduckdb_fastpforlib.a [195/200] Linking CXX static library src/libduckdb_static.a [196/200] Linking CXX static library tools/sqlite3_api_wrapper/libsqlite3_api_wrapper_static.a [197/200] Linking CXX shared library src/libduckdb.so [198/200] Linking CXX shared library tools/sqlite3_api_wrapper/libsqlite3_api_wrapper.so [199/200] Linking CXX executable tools/sqlite3_api_wrapper/test_sqlite3_api_wrapper FAILED: tools/sqlite3_api_wrapper/test_sqlite3_api_wrapper : && /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -std=c++0x -fno-canonical-system-headers -Wno-builtin-macro-redefined -DDATE="redacted" -DTIMESTAMP="redacted" -DTIME="redacted" -fdiagnostics-color=always -fopenmp -fPIC -std=c++17 -O3 -DNDEBUG -O3 -DNDEBUG -fuse-ld=gold -Wl,-no-as-needed -Wl,-z,relro,-z,now -B/usr/bin -pass-exit-codes -static-libstdc++ -static-libgcc -l:libstdc++.a -l:libgcc.a -fopenmp -fvisibility=hidden -lm -rdynamic tools/sqlite3_api_wrapper/CMakeFiles/test_sqlite3_api_wrapper.dir/test/test_sqlite3_api_wrapper.cpp.o tools/sqlite3_api_wrapper/CMakeFiles/test_sqlite3_api_wrapper.dir/test/test_sqlite3_udf_api_wrapper.cpp.o -o tools/sqlite3_api_wrapper/test_sqlite3_api_wrapper -Wl,-rpath,/home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/bazel-out/k8-fastbuild/bin/external/com_github_duckdb/duckdb.build_tmpdir/tools/sqlite3_api_wrapper:/home/cc/.cache/bazel/_bazel_cc/fc86d09b85875ea9ff5ff75d166e6557/sandbox/linux-sandbox/2/execroot/scql/bazel-out/k8-fastbuild/bin/external/com_github_duckdb/duckdb.build_tmpdir/src tools/sqlite3_api_wrapper/libsqlite3_api_wrapper.so src/libduckdb.so -ldl third_party/fsst/libduckdb_fsst.a third_party/fmt/libduckdb_fmt.a third_party/libpg_query/libduckdb_pg_query.a third_party/re2/libduckdb_re2.a third_party/miniz/libduckdb_miniz.a third_party/utf8proc/libduckdb_utf8proc.a third_party/hyperloglog/libduckdb_hyperloglog.a third_party/fastpforlib/libduckdb_fastpforlib.a third_party/mbedtls/libduckdb_mbedtls.a && : tools/sqlite3_api_wrapper/libsqlite3_api_wrapper.so: error: undefined reference to 'std::detail::_Prime_rehash_policy::_M_next_bkt(unsigned long) const' tools/sqlite3_api_wrapper/libsqlite3_api_wrapper.so: error: undefined reference to 'std::detail::_Prime_rehash_policy::_M_need_rehash(unsigned long, unsigned long, unsigned long) const' tools/sqlite3_api_wrapper/libsqlite3_api_wrapper.so: error: undefined reference to 'std::_Hash_bytes(void const, unsigned long, unsigned long)' tools/sqlite3_api_wrapper/libsqlite3_api_wrapper.so: error: undefined reference to '__cxa_throw_bad_array_new_length' tools/sqlite3_api_wrapper/libsqlite3_api_wrapper.so: error: undefined reference to 'std::runtime_error::runtime_error(char const)' src/libduckdb.so: error: undefined reference to 'std::ostream& std::ostream::_M_insert<void const>(void const)' src/libduckdb.so: error: undefined reference to 'std:🧵:hardware_concurrency()' src/libduckdb.so: error: undefined reference to 'std::ostream::seekp(long, std::_Ios_Seekdir)' src/libduckdb.so: error: undefined reference to '__once_proxy' src/libduckdb.so: error: undefined reference to 'std::once_call' src/libduckdb.so: error: undefined reference to 'std::once_callable' src/libduckdb.so: error: undefined reference to 'std::ostream::operator<<(std::basic_streambuf<char, std::chartraits >)' src/libduckdb.so: error: undefined reference to 'std::cxx11::numpunct const& std::use_facet<std::cxx11::numpunct >(std::locale const&)' src/libduckdb.so: error: undefined reference to 'std::__cxx11::numpunct const& std::use_facet<std::cxx11::numpunct >(std::locale const&)' src/libduckdb.so: error: undefined reference to 'std::logic_error::logicerror(char const)' src/libduckdb.so: error: undefined reference to 'std::basic_streambuf<char, std::char_traits >::overflow(int)' src/libduckdb.so: error: undefined reference to 'std::basic_streambuf<char, std::char_traits >::sync()' src/libduckdb.so: error: undefined reference to 'std::basic_ofstream<char, std::char_traits >::basic_ofstream(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::_Ios_Openmode)' src/libduckdb.so: error: undefined reference to 'std::chrono::_V2::steady_clock::now()' src/libduckdb.so: error: undefined reference to 'std::istream::read(char*, long)' src/libduckdb.so: error: undefined reference to 'std::istream::seekg(std::fpos<mbstate_t>)' src/libduckdb.so: error: undefined reference to 'std::istream::tellg()' src/libduckdb.so: error: undefined reference to 'std::istream::seekg(long, std::_Ios_Seekdir)' src/libduckdb.so: error: undefined reference to 'std::basic_ifstream<char, std::char_traits >::basic_ifstream(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::_Ios_Openmode)' src/libduckdb.so: error: undefined reference to 'std::cxx11::basic_string<char, std::char_traits, std::allocator >::compare(unsigned long, unsigned long, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&) const' src/libduckdb.so: error: undefined reference to 'typeinfo for std::invalid_argument' src/libduckdb.so: error: undefined reference to 'std::invalid_argument::~invalid_argument()' src/libduckdb.so: error: undefined reference to 'std::invalid_argument::invalid_argument(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&)' src/libduckdb.so: error: undefined reference to 'std::cxx11::basic_string<char, std::char_traits, std::allocator >::resize(unsigned long, char)' src/libduckdb.so: error: undefined reference to 'std::random_device::_M_fini()' src/libduckdb.so: error: undefined reference to 'std::random_device::_M_getval()' src/libduckdb.so: error: undefined reference to 'std::__cxx11::basic_string<char, std::char_traits, std::allocator >::copy(char, unsigned long, unsigned long) const' src/libduckdb.so: error: undefined reference to 'std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base, std::_Rb_tree_node_base&)' src/libduckdb.so: error: undefined reference to 'std::_Rb_tree_decrement(std::_Rb_tree_node_base const*)' src/libduckdb.so: error: undefined reference to 'vtable for std::bad_alloc' /usr/bin/ld.gold: the vtable symbol may be undefined because the class is missing its key function src/libduckdb.so: error: undefined reference to 'typeinfo for std::bad_alloc' src/libduckdb.so: error: undefined reference to 'std::bad_alloc::~bad_alloc()' src/libduckdb.so: error: undefined reference to 'std::random_device::_M_init(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&)' src/libduckdb.so: error: undefined reference to 'std::bad_weak_ptr::~bad_weak_ptr()' src/libduckdb.so: error: undefined reference to 'std::throw_out_of_range(char const)' src/libduckdb.so: error: undefined reference to 'std::throw_system_error(int)' src/libduckdb.so: error: undefined reference to 'std::throw_invalid_argument(char const)' src/libduckdb.so: error: undefined reference to 'vtable for cxxabiv1::pointer_type_info' /usr/bin/ld.gold: the vtable symbol may be undefined because the class is missing its key function src/libduckdb.so: error: undefined reference to 'vtable for cxxabiv1::function_type_info' /usr/bin/ld.gold: the vtable symbol may be undefined because the class is missing its key function src/libduckdb.so: error: undefined reference to 'std::__detail::_List_node_base::_M_hook(std::detail::_List_node_base)' src/libduckdb.so: error: undefined reference to 'std::ostream& std::ostream::_M_insert(long)' src/libduckdb.so: error: undefined reference to 'typeinfo for void' src/libduckdb.so: error: undefined reference to 'std::__cxx11::basic_string<char, std::char_traits, std::allocator >::basic_string(char const, std::allocator const&)'__

我先本地复现一下吧

tyrone-yu commented 1 year ago

尝试一下 apt-get install libstdc++6 应该可以解决 不过还是建议在scql-ci容器中编译,不然的话可能后续还会有很多问题

TY-cc commented 1 year ago

好的,我试试。我在您说的scql里也会尝试,感谢回复

TY-cc commented 1 year ago

scql/engine/bazel路径下,在duckdb.buildmysql.build以及proco.build文件中,spu_cmake_external指令中的linkopts里加上"-lstdc++"即可解决上述问题(duckdb,mysql,proco都是同样问题)