envoyproxy / envoy

Cloud-native high-performance edge/middle/service proxy
https://www.envoyproxy.io
Apache License 2.0
24.75k stars 4.75k forks source link

gen_compilation_database.py failure #31025

Closed zhangbo1882 closed 8 months ago

zhangbo1882 commented 10 months ago

When I try to generate compile_commands files use gen_compilation_database.py. It report errors.

./ci/run_envoy_docker.sh './tools/vscode/refresh_compdb.sh'

The error is :

/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 -DABSL_MIN_LOG_LEVEL=4 -fPIC -Wno-deprecated-declarations -std=c++17 -fPIC -W -Wall -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long -fuse-ld=gold -Wl,-no-as-needed -Wl,-z,relro,-z,now -B/usr/bin -pass-exit-codes -lm -l:libstdc++.a -Wl,--gc-sections -o ../../bin/makeconv gencnvex.o genmbcs.o makeconv.o ucnvstat.o -L../../lib -licutu -L../../lib -licui18n -L../../lib -licuuc -L../../stubdata -licudata -lpthread -lm
makeconv.o:makeconv.cpp:DW.ref.gxx_personality_v0: error: undefined reference to 'gxx_personality_v0' ../../lib/libicuuc.a(umutex.ao):umutex.cpp:function std::mutex::lock(): error: undefined reference to 'std::throw_system_error(int)' ../../lib/libicuuc.a(umutex.ao):umutex.cpp:function umtx_cleanup: error: undefined reference to 'std::condition_variable::~condition_variable()' ../../lib/libicuuc.a(umutex.ao):umutex.cpp:function umtx_init::{lambda()#2}::operator()() const: error: undefined reference to 'std::condition_variable::condition_variable()' ../../lib/libicuuc.a(umutex.ao):umutex.cpp:function icu_72::umtx_initImplPreInit(icu_72::UInitOnce&): error: undefined reference to 'std::condition_variable::wait(std::unique_lock&)' ../../lib/libicuuc.a(umutex.ao):umutex.cpp:function icu_72::umtx_initImplPostInit(icu_72::UInitOnce&): error: undefined reference to 'std::condition_variable::notify_all()' ../../lib/libicuuc.a(umutex.ao):umutex.cpp:function std::call_once<void (&)()>(std::once_flag&, void (&)())::{lambda()#2}::operator()() const: error: undefined reference to 'std::once_callable' ../../lib/libicuuc.a(umutex.ao):umutex.cpp:function void std::call_once<void (&)()>(std::once_flag&, void (&)()): error: undefined reference to 'std::once_callable' ../../lib/libicuuc.a(umutex.ao):umutex.cpp:function void std::call_once<void (&)()>(std::once_flag&, void (&)()): error: undefined reference to 'std::__once_call' ../../lib/libicuuc.a(umutex.ao):umutex.cpp:function void std::call_once<void (&)()>(std::once_flag&, void (&)()): error: undefined reference to 'once_proxy' ../../lib/libicuuc.a(umutex.ao):umutex.cpp:function void std::call_once<void (&)()>(std::once_flag&, void (&)()): error: undefined reference to 'std::throw_system_error(int)' ../../lib/libicuuc.a(umutex.ao):umutex.cpp:function std::unique_lock::lock(): error: undefined reference to 'std::__throw_system_error(int)' ../../lib/libicuuc.a(umutex.ao):umutex.cpp:function std::unique_lock::lock(): error: undefined reference to 'std::throw_system_error(int)' collect2: error: ld returned 1 exit status make[2]: [Makefile:81: ../../bin/makeconv] Error 1 make[2]: Leaving directory '/build/.cache/bazel/_bazel_envoybuild/b570b5ccd0454dc9af9f65ab1833764d/sandbox/processwrapper-sandbox/771/execroot/envoy/bazel-out/k8-fastbuild/bin/bazel/foreign_cc/unicode_icu_build.build_tmpdir/tools/makeconv' make[1]: [Makefile:47: all-recursive] Error 2 make[1]: Leaving directory '/build/.cache/bazel/_bazel_envoybuild/b570b5ccd0454dc9af9f65ab1833764d/sandbox/processwrapper-sandbox/771/execroot/envoy/bazel-out/k8-fastbuild/bin/bazel/foreign_cc/unicode_icu_build.build_tmpdir/tools' make: *** [Makefile:153: all-recursive] Error 2 make: Leaving directory '/build/.cache/bazel/_bazel_envoybuild/b570b5ccd0454dc9af9f65ab1833764d/sandbox/processwrapper-sandbox/771/execroot/envoy/bazel-out/k8-fastbuild/bin/bazel/foreign_cc/unicode_icu_build.buildtmpdir' ____ END BUILD LOGS _____ rules_foreign_cc: Build wrapper script location: bazel-out/k8-fastbuild/bin/bazel/foreign_cc/unicode_icu_build_foreign_cc/wrapper_build_script.sh rules_foreign_cc: Build script location: bazel-out/k8-fastbuild/bin/bazel/foreign_cc/unicode_icu_build_foreign_cc/build_script.sh rules_foreign_cc: Build log location: bazel-out/k8-fastbuild/bin/bazel/foreign_cc/unicode_icu_build_foreign_cc/Configure.log

INFO: Elapsed time: 276.001s, Critical Path: 261.13s INFO: 2 processes: 2 internal. FAILED: Build did NOT complete successfully Traceback (most recent call last): File "/source/tools/gen_compilation_database.py", line 127, in fix_compilation_database(args, generate_compilation_database(args)) File "/source/tools/gen_compilation_database.py", line 24, in generate_compilation_database subprocess.check_call([args.bazel, "build"] + bazel_options + [ File "/usr/lib/python3.10/subprocess.py", line 369, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['bazel', 'build', '--config=compdb', '--remote_download_outputs=all', '--aspects=@bazel_compdb//:aspects.bzl%compilation_database_aspect', '--output_groups=compdb_files,header_files', '//source/...', '//test/...', '//contrib/...']' returned non-zero exit status 1.

KBaichoo commented 10 months ago

cc @phlax

tmsnan commented 9 months ago

@zhangbo1882 ./ci/run_envoy_docker.sh './tools/vscode/refresh_compdb.sh' It cannot be executed like this because setup_clang_toolchain is not set.

zhangbo1882 commented 9 months ago

thanks @tmsnan . I run it locally, there is another errors.


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

Environment:______________
BUILD_SCRIPT=bazel-out/k8-fastbuild/bin/contrib/hyperscan/matching/input_matchers/source/hyperscan_foreign_cc/build_script.sh
EXT_BUILD_ROOT=/sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy
BUILD_LOG=bazel-out/k8-fastbuild/bin/contrib/hyperscan/matching/input_matchers/source/hyperscan_foreign_cc/CMake.log
PWD=/sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy
BUILD_WRAPPER_SCRIPT=bazel-out/k8-fastbuild/bin/contrib/hyperscan/matching/input_matchers/source/hyperscan_foreign_cc/wrapper_build_script.sh
BAZEL_LINKOPTS=-lm
TMPDIR=/tmp
EXT_BUILD_DEPS=/sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/bazel-out/k8-fastbuild/bin/contrib/hyperscan/matching/input_matchers/source/hyperscan.ext_build_deps
BAZEL_LINKLIBS=-l%:libstdc++.a
BUILD_TMPDIR=/sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/bazel-out/k8-fastbuild/bin/contrib/hyperscan/matching/input_matchers/source/hyperscan.build_tmpdir
SHLVL=2
INSTALLDIR=/sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/bazel-out/k8-fastbuild/bin/contrib/hyperscan/matching/input_matchers/source/hyperscan
PATH=/sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy:/var/home/centos/.cache/bazelisk/downloads/sha256/f03d44ecaac3878e3d19489e37caa4ca1dc57427b686a78a85065ea3c27ebe68/bin:/var/home/centos/.gvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/go/bin
_=/usr/bin/env
__________________________
+ cmake -DCMAKE_AR=/usr/bin/ar '-DCMAKE_SHARED_LINKER_FLAGS=-shared -Wl,-no-as-needed -Wl,-z,relro,-z,now -B/usr/bin -pass-exit-codes -lm -l:libstdc++.a' '-DCMAKE_EXE_LINKER_FLAGS=-Wl,-no-as-needed -Wl,-z,relro,-z,now -B/usr/bin -pass-exit-codes -lm -l:libstdc++.a' -DBOOST_ROOT=/sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/org_boost -DBUILD_AVX512=on -DBUILD_AVX512VBMI=on -DBUILD_EXAMPLES=off -DCMAKE_INSTALL_LIBDIR=lib -DRAGEL=/sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/bazel-out/k8-fastbuild/bin/contrib/hyperscan/matching/input_matchers/source/hyperscan.ext_build_deps/ragel/bin/ragel -DCMAKE_BUILD_TYPE=Bazel -DCMAKE_INSTALL_PREFIX=/sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/bazel-out/k8-fastbuild/bin/contrib/hyperscan/matching/input_matchers/source/hyperscan -DCMAKE_PREFIX_PATH=/sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/bazel-out/k8-fastbuild/bin/contrib/hyperscan/matching/input_matchers/source/hyperscan.ext_build_deps -DCMAKE_RANLIB= -DCMAKE_MAKE_PROGRAM=ninja -G Ninja /sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is GNU 11.4.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
-- Performing Test ARCH_64_BIT
-- Performing Test ARCH_64_BIT - Success
-- Performing Test ARCH_32_BIT
-- Performing Test ARCH_32_BIT - Failed
-- Build type BAZEL
-- Boost version: 1.78.0
-- Found PythonInterp: /usr/bin/python (found version "3.10.6") 
-- Build date: 2023-11-27
-- Building static libraries
-- gcc version 11.4.0
-- g++ version 11.4.0
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for include file intrin.h
-- Looking for include file intrin.h - not found
-- Looking for C++ include intrin.h
-- Looking for C++ include intrin.h - not found
-- Looking for include file x86intrin.h
-- Looking for include file x86intrin.h - found
-- Looking for C++ include x86intrin.h
-- Looking for C++ include x86intrin.h - found
-- Looking for posix_memalign
-- Looking for posix_memalign - found
-- Looking for _aligned_malloc
-- Looking for _aligned_malloc - not found
-- Performing Test HAS_C_HIDDEN
-- Performing Test HAS_C_HIDDEN - Success
-- Performing Test HAS_CXX_HIDDEN
-- Performing Test HAS_CXX_HIDDEN - Success
-- Looking for _LIBCPP_VERSION
-- Looking for _LIBCPP_VERSION - not found
-- generator is Ninja
-- Performing Test HAS_C_ATTR_IFUNC
-- Performing Test HAS_C_ATTR_IFUNC - Success
-- Performing Test HAS_ARCH_SKYLAKE
-- Performing Test HAS_ARCH_SKYLAKE - Success
-- Performing Test HAS_ARCH_ICELAKE
-- Performing Test HAS_ARCH_ICELAKE - Success
-- Performing Test HAVE_SSSE3
-- Performing Test HAVE_SSSE3 - Success
-- Performing Test HAVE_AVX2
-- Performing Test HAVE_AVX2 - Success
-- Performing Test HAVE_AVX512
-- Performing Test HAVE_AVX512 - Success
-- Performing Test HAVE_AVX512VBMI
-- Performing Test HAVE_AVX512VBMI - Failed
-- Building without AVX512VBMI support
-- Performing Test HAVE_CC_BUILTIN_ASSUME_ALIGNED
-- Performing Test HAVE_CC_BUILTIN_ASSUME_ALIGNED - Success
-- Performing Test HAVE_CXX_BUILTIN_ASSUME_ALIGNED
-- Performing Test HAVE_CXX_BUILTIN_ASSUME_ALIGNED - Success
-- Performing Test HAVE__BUILTIN_CONSTANT_P
-- Performing Test HAVE__BUILTIN_CONSTANT_P - Success
-- Performing Test C_FLAG_Wvla
-- Performing Test C_FLAG_Wvla - Success
-- Performing Test C_FLAG_Wpointer_arith
-- Performing Test C_FLAG_Wpointer_arith - Success
-- Performing Test C_FLAG_Wstrict_prototypes
-- Performing Test C_FLAG_Wstrict_prototypes - Success
-- Performing Test C_FLAG_Wmissing_prototypes
-- Performing Test C_FLAG_Wmissing_prototypes - Success
-- Performing Test CXX_FLAG_Wvla
-- Performing Test CXX_FLAG_Wvla - Success
-- Performing Test CXX_FLAG_Wpointer_arith
-- Performing Test CXX_FLAG_Wpointer_arith - Success
-- Performing Test CC_SELF_ASSIGN
-- Performing Test CC_SELF_ASSIGN - Failed
-- Performing Test CXX_SELF_ASSIGN
-- Performing Test CXX_SELF_ASSIGN - Failed
-- Performing Test CC_PAREN_EQUALITY
-- Performing Test CC_PAREN_EQUALITY - Failed
-- Performing Test CXX_UNUSED_CONST_VAR
-- Performing Test CXX_UNUSED_CONST_VAR - Success
-- Performing Test CXX_IGNORED_ATTR
-- Performing Test CXX_IGNORED_ATTR - Success
-- Performing Test CXX_REDUNDANT_MOVE
-- Performing Test CXX_REDUNDANT_MOVE - Success
-- Performing Test CXX_WEAK_VTABLES
-- Performing Test CXX_WEAK_VTABLES - Failed
-- Performing Test CXX_MISSING_DECLARATIONS
-- Performing Test CXX_MISSING_DECLARATIONS - Success
-- Performing Test CXX_UNUSED_LOCAL_TYPEDEFS
-- Performing Test CXX_UNUSED_LOCAL_TYPEDEFS - Success
-- Performing Test CXX_WUNUSED_VARIABLE
-- Performing Test CXX_WUNUSED_VARIABLE - Success
-- Performing Test CC_STRINGOP_OVERFLOW
-- Performing Test CC_STRINGOP_OVERFLOW - Success
-- Building for current host CPU: -march=native -mtune=cascadelake
-- Looking for mmap
-- Looking for mmap - found
-- Doxygen not found, unable to generate API reference
-- Sphinx not found, unable to generate developer reference
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") 
-- Checking for module 'libpcre>=8.41'
--   No package 'libpcre' found
-- PCRE version 8.41 or above not found
-- PCRE 8.41 or above not found
-- Configuring done
CMake Warning (dev) at CMakeLists.txt:1181 (add_library):
  Policy CMP0115 is not set: Source file extensions must be explicit.  Run
  "cmake --help-policy CMP0115" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  File:

    /sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/hs_version.h.in
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: /sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/bazel-out/k8-fastbuild/bin/contrib/hyperscan/matching/input_matchers/source/hyperscan.build_tmpdir
+ cmake --build . --config Release
[1/248] Building C object CMakeFiles/hs_exec.dir/src/nfa/mcsheng_data.c.o
[2/248] Building C object CMakeFiles/hs_exec.dir/src/crc32.c.o
[3/248] Building C object CMakeFiles/hs_exec.dir/src/nfa/limex_accel.c.o
[4/248] Building C object CMakeFiles/hs_exec.dir/src/nfa/accel.c.o
[5/248] Building C object CMakeFiles/hs_exec.dir/src/hwlm/hwlm.c.o
[6/248] Building C object CMakeFiles/hs_exec.dir/src/nfa/nfa_api_dispatch.c.o
[7/248] Building C object CMakeFiles/hs_exec.dir/src/nfa/shufti.c.o
[8/248] Building C object CMakeFiles/hs_exec.dir/src/nfa/gough.c.o
[9/248] Building C object CMakeFiles/hs_exec.dir/src/nfa/truffle.c.o
[10/248] Building C object CMakeFiles/hs_exec.dir/src/fdr/fdr.c.o
[11/248] Building C object CMakeFiles/hs_exec.dir/src/runtime.c.o
[12/248] Building C object CMakeFiles/hs_exec.dir/src/hwlm/noodle_engine.c.o
[13/248] Building C object CMakeFiles/hs_exec.dir/src/nfa/tamarama.c.o
[14/248] Building C object CMakeFiles/hs_exec.dir/src/nfa/limex_native.c.o
[15/248] Building C object CMakeFiles/hs_exec.dir/src/nfa/limex_64.c.o
[16/248] Building C object CMakeFiles/hs_exec.dir/src/rose/init.c.o
[17/248] Building C object CMakeFiles/hs_exec.dir/src/nfa/mcsheng.c.o
[18/248] Building C object CMakeFiles/hs_exec.dir/src/som/som_stream.c.o
[19/248] Building C object CMakeFiles/hs_exec.dir/src/util/multibit.c.o
[20/248] Building C object CMakeFiles/hs_exec.dir/src/util/simd_utils.c.o
[21/248] Building C object CMakeFiles/hs_exec.dir/src/nfa/sheng.c.o
[22/248] Building C object CMakeFiles/hs_exec.dir/src/nfa/limex_simd512.c.o
[23/248] Building C object CMakeFiles/hs_exec.dir/src/database.c.o
[24/248] Building C object CMakeFiles/hs_exec.dir/src/nfa/limex_simd256.c.o
[25/248] Building C object CMakeFiles/hs_exec.dir/src/util/state_compress.c.o
[26/248] Building C object CMakeFiles/hs_exec.dir/src/util/cpuid_flags.c.o
[27/248] Building C object CMakeFiles/hs_exec.dir/src/alloc.c.o
[28/248] Building C object CMakeFiles/hs_exec.dir/src/scratch.c.o
[29/248] Generating src/parser/control_verbs.cpp
[30/248] Building C object CMakeFiles/hs_exec.dir/src/nfa/limex_simd128.c.o
[31/248] Building C object CMakeFiles/hs_runtime.dir/src/hs_version.c.o
[32/248] Building C object CMakeFiles/hs_exec.dir/src/util/masked_move.c.o
[33/248] Building C object CMakeFiles/hs_runtime.dir/src/hs_valid_platform.c.o
[34/248] Building C object CMakeFiles/hs_exec.dir/src/rose/block.c.o
[35/248] Generating ExpressionParser.cpp
[36/248] Generating src/parser/Parser.cpp
[37/248] Building C object CMakeFiles/hs_exec.dir/src/nfa/mcclellan.c.o
[38/248] Building CXX object util/CMakeFiles/databaseutil.dir/database_util.cpp.o
[39/248] Building CXX object util/CMakeFiles/corpusomatic.dir/ng_corpus_editor.cpp.o
[40/248] Building CXX object util/CMakeFiles/crosscompileutil.dir/cross_compile.cpp.o
[41/248] Building C object CMakeFiles/hs_exec.dir/src/stream_compress.c.o
[42/248] Building C object CMakeFiles/hs_exec.dir/src/nfa/limex_simd384.c.o
[43/248] Building CXX object util/CMakeFiles/expressionutil.dir/ExpressionParser.cpp.o
[44/248] Building C object CMakeFiles/hs_exec.dir/src/nfa/repeat.c.o
[45/248] Building C object CMakeFiles/hs_exec.dir/src/rose/match.c.o
[46/248] Building CXX object CMakeFiles/hs_compile.dir/src/fdr/engine_description.cpp.o
[47/248] Building C object CMakeFiles/hs_exec.dir/src/nfa/lbr.c.o
[48/248] Building CXX object CMakeFiles/hs_compile.dir/src/compiler/error.cpp.o
[49/248] Building CXX object util/CMakeFiles/corpusomatic.dir/ng_corpus_properties.cpp.o
[50/248] Building CXX object CMakeFiles/hs_compile.dir/src/fdr/fdr_compile_util.cpp.o
[51/248] Building C object CMakeFiles/hs_exec.dir/src/rose/stream.c.o
[52/248] Building C object CMakeFiles/hs_exec.dir/src/rose/catchup.c.o
[53/248] Building CXX object CMakeFiles/hs_compile.dir/src/fdr/fdr_engine_description.cpp.o
[54/248] Building C object CMakeFiles/hs_exec.dir/src/som/som_runtime.c.o
[55/248] Building CXX object CMakeFiles/hs_compile.dir/src/fdr/teddy_engine_description.cpp.o
[56/248] Building CXX object CMakeFiles/hs_compile.dir/src/fdr/fdr_confirm_compile.cpp.o
[57/248] Building CXX object CMakeFiles/hs_compile.dir/src/hwlm/noodle_build.cpp.o
[58/248] Building CXX object CMakeFiles/hs_compile.dir/src/fdr/flood_compile.cpp.o
[59/248] Building CXX object CMakeFiles/hs_compile.dir/src/hwlm/hwlm_literal.cpp.o
[60/248] Building CXX object CMakeFiles/hs_compile.dir/src/hwlm/hwlm_build.cpp.o
[61/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfa/dfa_build_strat.cpp.o
[62/248] Building CXX object CMakeFiles/hs_compile.dir/src/grey.cpp.o
[63/248] Building CXX object CMakeFiles/hs_compile.dir/src/fdr/teddy_compile.cpp.o
[64/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfa/accelcompile.cpp.o
[65/248] Building CXX object CMakeFiles/hs_compile.dir/src/hs.cpp.o
[66/248] Building CXX object CMakeFiles/hs_compile.dir/src/compiler/asserts.cpp.o
[67/248] Building CXX object CMakeFiles/hs_compile.dir/src/fdr/fdr_compile.cpp.o
[68/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfa/mcclellancompile_util.cpp.o
[69/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfa/rdfa.cpp.o
[70/248] Building CXX object util/CMakeFiles/corpusomatic.dir/ng_corpus_generator.cpp.o
[71/248] Building CXX object CMakeFiles/hs_compile.dir/src/compiler/compiler.cpp.o
[72/248] Building C object CMakeFiles/hs_exec.dir/src/nfa/mpv.c.o
[73/248] Building CXX object util/CMakeFiles/corpusomatic.dir/ng_find_matches.cpp.o
[74/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfa/accel_dfa_build_strat.cpp.o
[75/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfa/dfa_min.cpp.o
[76/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfa/nfa_build_util.cpp.o
[77/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfa/mpvcompile.cpp.o
[78/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfa/repeatcompile.cpp.o
[79/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfa/trufflecompile.cpp.o
[80/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfa/tamaramacompile.cpp.o
[81/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfa/rdfa_graph.cpp.o
[82/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfa/shufticompile.cpp.o
[83/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfa/goughcompile_accel.cpp.o
[84/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfa/mcclellancompile.cpp.o
[85/248] Building C object CMakeFiles/hs_exec.dir/src/nfa/castle.c.o
[86/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfa/castlecompile.cpp.o
[87/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfagraph/ng_anchored_acyclic.cpp.o
[88/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfa/rdfa_merge.cpp.o
[89/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfa/shengcompile.cpp.o
[90/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfa/mcsheng_compile.cpp.o
[91/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfa/goughcompile_reg.cpp.o
[92/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfagraph/ng_builder.cpp.o
[93/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfagraph/ng.cpp.o
[94/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfagraph/ng_anchored_dots.cpp.o
[95/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfagraph/ng_cyclic_redundancy.cpp.o
[96/248] Building C object CMakeFiles/hs_exec.dir/src/fdr/teddy_avx2.c.o
[97/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfagraph/ng_dominators.cpp.o
[98/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfagraph/ng_asserts.cpp.o
[99/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfagraph/ng_edge_redundancy.cpp.o
[100/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfa/goughcompile.cpp.o
[101/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfagraph/ng_equivalence.cpp.o
[102/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfagraph/ng_fixed_width.cpp.o
[103/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfagraph/ng_expr_info.cpp.o
[104/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfagraph/ng_lbr.cpp.o
[105/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfagraph/ng_holder.cpp.o
[106/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfagraph/ng_depth.cpp.o
[107/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfagraph/ng_execute.cpp.o
[108/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfagraph/ng_calc_components.cpp.o
[109/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfagraph/ng_is_equal.cpp.o
[110/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfagraph/ng_extparam.cpp.o
[111/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfagraph/ng_fuzzy.cpp.o
[112/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfagraph/ng_literal_component.cpp.o
[113/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfagraph/ng_literal_decorated.cpp.o
[114/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfagraph/ng_revacc.cpp.o
[115/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfagraph/ng_reports.cpp.o
[116/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfagraph/ng_netflow.cpp.o
[117/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfagraph/ng_literal_analysis.cpp.o
[118/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfa/limex_compile.cpp.o
FAILED: CMakeFiles/hs_compile.dir/src/nfa/limex_compile.cpp.o 
/usr/bin/gcc  -I/sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/bazel-out/k8-fastbuild/bin/contrib/hyperscan/matching/input_matchers/source/hyperscan.build_tmpdir -I/sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan -I/sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src -isystem /sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/include -isystem /sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/org_boost -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 -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" -DABSL_MIN_LOG_LEVEL=4 -fPIC -Wno-deprecated-declarations -std=c++17 -march=native -mtune=cascadelake -O2 -std=c++11 -Wall -Wextra -Wshadow -Wswitch -Wreturn-type -Wcast-qual -Wno-deprecated -Wnon-virtual-dtor -fno-strict-aliasing -Werror -Wno-maybe-uninitialized -Wno-abi -fno-omit-frame-pointer -Wvla -Wpointer-arith -Wno-unused-const-variable -Wno-ignored-attributes -Wno-redundant-move -Wmissing-declarations -MD -MT CMakeFiles/hs_compile.dir/src/nfa/limex_compile.cpp.o -MF CMakeFiles/hs_compile.dir/src/nfa/limex_compile.cpp.o.d -o CMakeFiles/hs_compile.dir/src/nfa/limex_compile.cpp.o -c /sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_compile.cpp
In function 'void ue2::{anonymous}::maskSetBit(Mask&, unsigned int) [with Mask = long long unsigned int]',
    inlined from 'static void ue2::{anonymous}::Factory<dtype>::writeShiftMasks(const ue2::{anonymous}::build_info&, ue2::{anonymous}::Factory<dtype>::implNFA_t*) [with NFAEngineType dtype = LIMEX_NFA_64]' at /sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_compile.cpp:1892:35,
    inlined from 'static ue2::bytecode_ptr<NFA> ue2::{anonymous}::Factory<dtype>::generateNfa(const ue2::{anonymous}::build_info&) [with NFAEngineType dtype = LIMEX_NFA_64]' at /sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_compile.cpp:2339:24:
/sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_compile.cpp:281:11: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
  281 |     *byte |= 1U << (bit % 8);
      |     ~~~~~~^~~~~~~~~~~~~~~~~~
In file included from /sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_compile.cpp:39:
/sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_internal.h: In static member function 'static ue2::bytecode_ptr<NFA> ue2::{anonymous}::Factory<dtype>::generateNfa(const ue2::{anonymous}::build_info&) [with NFAEngineType dtype = LIMEX_NFA_64]':
/sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_internal.h:125:8: note: at offset [432, 495] into destination object 'LimExNFA64::reachMap' of size 256
  125 |     u8 reachMap[N_CHARS]; /**< map of char -> entry in reach[] */           \
      |        ^~~~~~~~
/sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_internal.h:125:8: note: in definition of macro 'CREATE_NFA_LIMEX'
  125 |     u8 reachMap[N_CHARS]; /**< map of char -> entry in reach[] */           \
      |        ^~~~~~~~
In function 'void ue2::{anonymous}::maskSetBit(Mask&, unsigned int) [with Mask = __vector(2) long long int]',
    inlined from 'static void ue2::{anonymous}::Factory<dtype>::writeShiftMasks(const ue2::{anonymous}::build_info&, ue2::{anonymous}::Factory<dtype>::implNFA_t*) [with NFAEngineType dtype = LIMEX_NFA_128]' at /sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_compile.cpp:1892:35,
    inlined from 'static ue2::bytecode_ptr<NFA> ue2::{anonymous}::Factory<dtype>::generateNfa(const ue2::{anonymous}::build_info&) [with NFAEngineType dtype = LIMEX_NFA_128]' at /sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_compile.cpp:2339:24:
/sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_compile.cpp:281:11: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
  281 |     *byte |= 1U << (bit % 8);
      |     ~~~~~~^~~~~~~~~~~~~~~~~~
In file included from /sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_compile.cpp:39:
/sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_internal.h: In static member function 'static ue2::bytecode_ptr<NFA> ue2::{anonymous}::Factory<dtype>::generateNfa(const ue2::{anonymous}::build_info&) [with NFAEngineType dtype = LIMEX_NFA_128]':
/sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_internal.h:125:8: note: at offset [528, 655] into destination object 'LimExNFA128::reachMap' of size 256
  125 |     u8 reachMap[N_CHARS]; /**< map of char -> entry in reach[] */           \
      |        ^~~~~~~~
/sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_internal.h:125:8: note: in definition of macro 'CREATE_NFA_LIMEX'
  125 |     u8 reachMap[N_CHARS]; /**< map of char -> entry in reach[] */           \
      |        ^~~~~~~~
In function 'void ue2::{anonymous}::maskSetBit(Mask&, unsigned int) [with Mask = __vector(4) long long int]',
    inlined from 'static void ue2::{anonymous}::Factory<dtype>::writeShiftMasks(const ue2::{anonymous}::build_info&, ue2::{anonymous}::Factory<dtype>::implNFA_t*) [with NFAEngineType dtype = LIMEX_NFA_256]' at /sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_compile.cpp:1892:35,
    inlined from 'static ue2::bytecode_ptr<NFA> ue2::{anonymous}::Factory<dtype>::generateNfa(const ue2::{anonymous}::build_info&) [with NFAEngineType dtype = LIMEX_NFA_256]' at /sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_compile.cpp:2339:24:
/sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_compile.cpp:281:11: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
  281 |     *byte |= 1U << (bit % 8);
      |     ~~~~~~^~~~~~~~~~~~~~~~~~
In file included from /sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_compile.cpp:39:
/sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_internal.h: In static member function 'static ue2::bytecode_ptr<NFA> ue2::{anonymous}::Factory<dtype>::generateNfa(const ue2::{anonymous}::build_info&) [with NFAEngineType dtype = LIMEX_NFA_256]':
/sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_internal.h:125:8: note: at offset [736, 991] into destination object 'LimExNFA256::reachMap' of size 256
  125 |     u8 reachMap[N_CHARS]; /**< map of char -> entry in reach[] */           \
      |        ^~~~~~~~
/sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_internal.h:125:8: note: in definition of macro 'CREATE_NFA_LIMEX'
  125 |     u8 reachMap[N_CHARS]; /**< map of char -> entry in reach[] */           \
      |        ^~~~~~~~
In function 'void ue2::{anonymous}::maskSetBit(Mask&, unsigned int) [with Mask = m384]',
    inlined from 'static void ue2::{anonymous}::Factory<dtype>::writeShiftMasks(const ue2::{anonymous}::build_info&, ue2::{anonymous}::Factory<dtype>::implNFA_t*) [with NFAEngineType dtype = LIMEX_NFA_384]' at /sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_compile.cpp:1892:35,
    inlined from 'static ue2::bytecode_ptr<NFA> ue2::{anonymous}::Factory<dtype>::generateNfa(const ue2::{anonymous}::build_info&) [with NFAEngineType dtype = LIMEX_NFA_384]' at /sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_compile.cpp:2339:24:
/sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_compile.cpp:281:11: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
  281 |     *byte |= 1U << (bit % 8);
      |     ~~~~~~^~~~~~~~~~~~~~~~~~
In file included from /sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_compile.cpp:39:
/sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_internal.h: In static member function 'static ue2::bytecode_ptr<NFA> ue2::{anonymous}::Factory<dtype>::generateNfa(const ue2::{anonymous}::build_info&) [with NFAEngineType dtype = LIMEX_NFA_384]':
/sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_internal.h:125:8: note: at offset [912, 1295] into destination object 'LimExNFA384::reachMap' of size 256
  125 |     u8 reachMap[N_CHARS]; /**< map of char -> entry in reach[] */           \
      |        ^~~~~~~~
/sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_internal.h:125:8: note: in definition of macro 'CREATE_NFA_LIMEX'
  125 |     u8 reachMap[N_CHARS]; /**< map of char -> entry in reach[] */           \
      |        ^~~~~~~~
In function 'void ue2::{anonymous}::maskSetBit(Mask&, unsigned int) [with Mask = unsigned int]',
    inlined from 'static void ue2::{anonymous}::Factory<dtype>::writeShiftMasks(const ue2::{anonymous}::build_info&, ue2::{anonymous}::Factory<dtype>::implNFA_t*) [with NFAEngineType dtype = LIMEX_NFA_32]' at /sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_compile.cpp:1892:35,
    inlined from 'static ue2::bytecode_ptr<NFA> ue2::{anonymous}::Factory<dtype>::generateNfa(const ue2::{anonymous}::build_info&) [with NFAEngineType dtype = LIMEX_NFA_32]' at /sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_compile.cpp:2339:24:
/sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_compile.cpp:281:11: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
  281 |     *byte |= 1U << (bit % 8);
      |     ~~~~~~^~~~~~~~~~~~~~~~~~
In file included from /sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_compile.cpp:39:
/sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_internal.h: In static member function 'static ue2::bytecode_ptr<NFA> ue2::{anonymous}::Factory<dtype>::generateNfa(const ue2::{anonymous}::build_info&) [with NFAEngineType dtype = LIMEX_NFA_32]':
/sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_internal.h:125:8: note: at offset [380, 411] into destination object 'LimExNFA32::reachMap' of size 256
  125 |     u8 reachMap[N_CHARS]; /**< map of char -> entry in reach[] */           \
      |        ^~~~~~~~
/sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_internal.h:125:8: note: in definition of macro 'CREATE_NFA_LIMEX'
  125 |     u8 reachMap[N_CHARS]; /**< map of char -> entry in reach[] */           \
      |        ^~~~~~~~
In function 'void ue2::{anonymous}::maskSetBit(Mask&, unsigned int) [with Mask = __vector(8) long long int]',
    inlined from 'static void ue2::{anonymous}::Factory<dtype>::writeShiftMasks(const ue2::{anonymous}::build_info&, ue2::{anonymous}::Factory<dtype>::implNFA_t*) [with NFAEngineType dtype = LIMEX_NFA_512]' at /sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_compile.cpp:1892:35,
    inlined from 'static ue2::bytecode_ptr<NFA> ue2::{anonymous}::Factory<dtype>::generateNfa(const ue2::{anonymous}::build_info&) [with NFAEngineType dtype = LIMEX_NFA_512]' at /sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_compile.cpp:2339:24,
    inlined from 'static ue2::bytecode_ptr<NFA> ue2::{anonymous}::generateNfa<dtype>::call(const ue2::{anonymous}::build_info&) [with NFAEngineType dtype = LIMEX_NFA_512]' at /sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_compile.cpp:2408:48,
    inlined from 'static rv_t ue2::{anonymous}::DISPATCH_BY_LIMEX_TYPE_INT<sfunc, rv_t, arg_t, lb>::doOp(NFAEngineType, const arg_t&) [with sfunc = ue2::{anonymous}::generateNfa; rv_t = ue2::bytecode_ptr<NFA>; arg_t = ue2::{anonymous}::build_info; NFAEngineType lb = LIMEX_NFA_512]' at /sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_compile.cpp:212:39,
    inlined from 'static rv_t ue2::{anonymous}::DISPATCH_BY_LIMEX_TYPE_INT<sfunc, rv_t, arg_t, lb>::doOp(NFAEngineType, const arg_t&) [with sfunc = ue2::{anonymous}::generateNfa; rv_t = ue2::bytecode_ptr<NFA>; arg_t = ue2::{anonymous}::build_info; NFAEngineType lb = LIMEX_NFA_384]' at /sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_compile.cpp:216:35,
    inlined from 'static rv_t ue2::{anonymous}::DISPATCH_BY_LIMEX_TYPE_INT<sfunc, rv_t, arg_t, lb>::doOp(NFAEngineType, const arg_t&) [with sfunc = ue2::{anonymous}::generateNfa; rv_t = ue2::bytecode_ptr<NFA>; arg_t = ue2::{anonymous}::build_info; NFAEngineType lb = LIMEX_NFA_256]' at /sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_compile.cpp:216:35,
    inlined from 'static rv_t ue2::{anonymous}::DISPATCH_BY_LIMEX_TYPE_INT<sfunc, rv_t, arg_t, lb>::doOp(NFAEngineType, const arg_t&) [with sfunc = ue2::{anonymous}::generateNfa; rv_t = ue2::bytecode_ptr<NFA>; arg_t = ue2::{anonymous}::build_info; NFAEngineType lb = LIMEX_NFA_128]' at /sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_compile.cpp:216:35,
    inlined from 'static rv_t ue2::{anonymous}::DISPATCH_BY_LIMEX_TYPE_INT<sfunc, rv_t, arg_t, lb>::doOp(NFAEngineType, const arg_t&) [with sfunc = ue2::{anonymous}::generateNfa; rv_t = ue2::bytecode_ptr<NFA>; arg_t = ue2::{anonymous}::build_info; NFAEngineType lb = LIMEX_NFA_64]' at /sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_compile.cpp:216:35,
    inlined from 'static rv_t ue2::{anonymous}::DISPATCH_BY_LIMEX_TYPE_INT<sfunc, rv_t, arg_t, lb>::doOp(NFAEngineType, const arg_t&) [with sfunc = ue2::{anonymous}::generateNfa; rv_t = ue2::bytecode_ptr<NFA>; arg_t = ue2::{anonymous}::build_info; NFAEngineType lb = LIMEX_NFA_32]' at /sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_compile.cpp:216:35,
    inlined from 'ue2::bytecode_ptr<NFA> ue2::generate(ue2::NGHolder&, const std::unordered_map<ue2::graph_detail::vertex_descriptor<ue2::ue2_graph<ue2::NGHolder, ue2::NFAGraphVertexProps, ue2::NFAGraphEdgeProps> >, unsigned int>&, const std::vector<ue2::BoundedRepeatData>&, const std::unordered_map<ue2::graph_detail::vertex_descriptor<ue2::ue2_graph<ue2::NGHolder, ue2::NFAGraphVertexProps, ue2::NFAGraphEdgeProps> >, boost::dynamic_bitset<> >&, const std::unordered_map<ue2::graph_detail::vertex_descriptor<ue2::ue2_graph<ue2::NGHolder, ue2::NFAGraphVertexProps, ue2::NFAGraphEdgeProps> >, boost::dynamic_bitset<> >&, const std::map<unsigned int, std::set<ue2::graph_detail::vertex_descriptor<ue2::ue2_graph<ue2::NGHolder, ue2::NFAGraphVertexProps, ue2::NFAGraphEdgeProps> > > >&, const std::set<ue2::graph_detail::vertex_descriptor<ue2::ue2_graph<ue2::NGHolder, ue2::NFAGraphVertexProps, ue2::NFAGraphEdgeProps> > >&, bool, bool, bool&, u32, const ue2::CompileContext&)' at /sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_compile.cpp:2624:20:
/sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_compile.cpp:281:11: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
  281 |     *byte |= 1U << (bit % 8);
      |     ~~~~~~^~~~~~~~~~~~~~~~~~
In file included from /sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_compile.cpp:39:
/sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_internal.h: In function 'ue2::bytecode_ptr<NFA> ue2::generate(ue2::NGHolder&, const std::unordered_map<ue2::graph_detail::vertex_descriptor<ue2::ue2_graph<ue2::NGHolder, ue2::NFAGraphVertexProps, ue2::NFAGraphEdgeProps> >, unsigned int>&, const std::vector<ue2::BoundedRepeatData>&, const std::unordered_map<ue2::graph_detail::vertex_descriptor<ue2::ue2_graph<ue2::NGHolder, ue2::NFAGraphVertexProps, ue2::NFAGraphEdgeProps> >, boost::dynamic_bitset<> >&, const std::unordered_map<ue2::graph_detail::vertex_descriptor<ue2::ue2_graph<ue2::NGHolder, ue2::NFAGraphVertexProps, ue2::NFAGraphEdgeProps> >, boost::dynamic_bitset<> >&, const std::map<unsigned int, std::set<ue2::graph_detail::vertex_descriptor<ue2::ue2_graph<ue2::NGHolder, ue2::NFAGraphVertexProps, ue2::NFAGraphEdgeProps> > > >&, const std::set<ue2::graph_detail::vertex_descriptor<ue2::ue2_graph<ue2::NGHolder, ue2::NFAGraphVertexProps, ue2::NFAGraphEdgeProps> > >&, bool, bool, bool&, u32, const ue2::CompileContext&)':
/sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_internal.h:125:8: note: at offset [1152, 1663] into destination object 'LimExNFA512::reachMap' of size 256
  125 |     u8 reachMap[N_CHARS]; /**< map of char -> entry in reach[] */           \
      |        ^~~~~~~~
/sysroot/home/centos/external/bazel_cache/_bazel_centos/3ad902f187467ee6c0dd4dfe205684c9/sandbox/linux-sandbox/73/execroot/envoy/external/io_hyperscan/src/nfa/limex_internal.h:125:8: note: in definition of macro 'CREATE_NFA_LIMEX'
  125 |     u8 reachMap[N_CHARS]; /**< map of char -> entry in reach[] */           \
      |        ^~~~~~~~
cc1plus: all warnings being treated as errors
[119/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfagraph/ng_limex_accel.cpp.o
[120/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfagraph/ng_region_redundancy.cpp.o
[121/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfagraph/ng_prefilter.cpp.o
[122/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfagraph/ng_prune.cpp.o
[123/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfagraph/ng_puff.cpp.o
[124/248] Building C object CMakeFiles/hs_exec.dir/src/fdr/teddy.c.o
[125/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfagraph/ng_haig.cpp.o
[126/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfagraph/ng_sep.cpp.o
[127/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfagraph/ng_mcclellan.cpp.o
[128/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfagraph/ng_restructuring.cpp.o
[129/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfagraph/ng_limex.cpp.o
[130/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfagraph/ng_redundancy.cpp.o
[131/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfagraph/ng_region.cpp.o
[132/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfagraph/ng_misc_opt.cpp.o
[133/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfagraph/ng_small_literal_set.cpp.o
[134/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfagraph/ng_som_util.cpp.o
[135/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfagraph/ng_som_add_redundancy.cpp.o
[136/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfagraph/ng_split.cpp.o
[137/248] Building C object CMakeFiles/hs_exec.dir/src/rose/program_runtime.c.o
[138/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfagraph/ng_repeat.cpp.o
[139/248] Building CXX object CMakeFiles/hs_compile.dir/src/nfagraph/ng_som.cpp.o
ninja: build stopped: subcommand failed.
github-actions[bot] commented 8 months ago

This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.

github-actions[bot] commented 8 months ago

This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted" or "no stalebot". Thank you for your contributions.