bazel build --config=clang -c opt envoy --subcommands --jobs 1 --verbose_failures --sandbox_debug
SUBCOMMAND: # @v8//:v8_noicu [action 'Compiling src/inspector/custom-preview.cc', configuration: 9ddb72808eccda63368dbd56a149ab2b37be1c21b96c1705bbcec52c66ca0734, execution platform: @local_config_platform//:host]
(cd /home/build/.cache/bazel/_bazel_build/221703495c2e97a5482194eda3ea2f8b/execroot/envoy && \
exec env - \
BAZEL_COMPILER=clang \
BAZEL_LINKLIBS=-l%:libstdc++.a \
BAZEL_LINKOPTS=-lm \
CC=clang \
CXX=clang++ \
PATH=/bin:/usr/bin:/usr/local/bin \
PWD=/proc/self/cwd \
/usr/bin/clang-16 -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -Wunused-but-set-parameter -Wno-free-nonheap-object -fcolor-diagnostics -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections -fdata-sections '-std=c++0x' -MD -MF bazel-out/aarch64-opt/bin/external/v8/_objs/v8_noicu/custom-preview.d '-frandom-seed=bazel-out/aarch64-opt/bin/external/v8/_objs/v8_noicu/custom-preview.o' -gsplit-dwarf -g '-DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=64' -DV8_DEPRECATION_WARNINGS -DV8_IMMINENT_DEPRECATION_WARNINGS -DV8_ENABLE_LAZY_SOURCE_POSITIONS -DV8_ENABLE_WEBASSEMBLY -DGOOGLE3 -DENABLE_DEBUGGER_SUPPORT -DV8_ADVANCED_BIGINT_ALGORITHMS -DV8_CONCURRENT_MARKING -DV8_TARGET_ARCH_ARM64 -DV8_HAVE_TARGET_OS -DV8_TARGET_OS_LINUX -DV8_SHORT_BUILTIN_CALLS '-DBAZEL_CURRENT_REPOSITORY="v8"' -iquote external/v8 -iquote bazel-out/aarch64-opt/bin/external/v8 -iquote external/com_googlesource_chromium_base_trace_event_common -iquote bazel-out/aarch64-opt/bin/external/com_googlesource_chromium_base_trace_event_common -Ibazel-out/aarch64-opt/bin/external/com_googlesource_chromium_base_trace_event_common/_virtual_includes/trace_event_common -Ibazel-out/aarch64-opt/bin/external/v8/_virtual_includes/noicu/generated_torque_headers -isystem external/v8/include -isystem bazel-out/aarch64-opt/bin/external/v8/include '-DABSL_MIN_LOG_LEVEL=4' -fdebug-types-section -fPIC -Wno-deprecated-declarations '-std=c++17' -fPIC -fno-strict-aliasing -Werror -Wextra -Wno-unknown-warning-option -Wno-bitwise-instead-of-logical -Wno-builtin-assume-aligned-alignment -Wno-unused-parameter -Wno-implicit-int-float-conversion -Wno-deprecated-copy -Wno-non-virtual-dtor -isystem . -Wno-invalid-offsetof -Wno-unneeded-internal-declaration '-std=c++17' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -c external/v8/src/inspector/custom-preview.cc -o bazel-out/aarch64-opt/bin/external/v8/_objs/v8_noicu/custom-preview.o)
# Configuration: 9ddb72808eccda63368dbd56a149ab2b37be1c21b96c1705bbcec52c66ca0734
# Execution platform: @local_config_platform//:host
SUBCOMMAND: # @v8//:wee8 [action 'Compiling src/wasm/c-api.cc', configuration: 9ddb72808eccda63368dbd56a149ab2b37be1c21b96c1705bbcec52c66ca0734, execution platform: @local_config_platform//:host]
(cd /home/build/.cache/bazel/_bazel_build/221703495c2e97a5482194eda3ea2f8b/execroot/envoy && \
exec env - \
BAZEL_COMPILER=clang \
BAZEL_LINKLIBS=-l%:libstdc++.a \
BAZEL_LINKOPTS=-lm \
CC=clang \
CXX=clang++ \
PATH=/bin:/usr/bin:/usr/local/bin \
PWD=/proc/self/cwd \
/usr/bin/clang-16 -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -Wunused-but-set-parameter -Wno-free-nonheap-object -fcolor-diagnostics -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections -fdata-sections '-std=c++0x' -MD -MF bazel-out/aarch64-opt/bin/external/v8/_objs/wee8/c-api.d '-frandom-seed=bazel-out/aarch64-opt/bin/external/v8/_objs/wee8/c-api.o' -gsplit-dwarf -g '-DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=64' -DV8_DEPRECATION_WARNINGS -DV8_IMMINENT_DEPRECATION_WARNINGS -DV8_ENABLE_LAZY_SOURCE_POSITIONS -DV8_ENABLE_WEBASSEMBLY -DGOOGLE3 -DENABLE_DEBUGGER_SUPPORT -DV8_ADVANCED_BIGINT_ALGORITHMS -DV8_CONCURRENT_MARKING -DV8_TARGET_ARCH_ARM64 -DV8_HAVE_TARGET_OS -DV8_TARGET_OS_LINUX -DV8_SHORT_BUILTIN_CALLS '-DBAZEL_CURRENT_REPOSITORY="v8"' -iquote external/v8 -iquote bazel-out/aarch64-opt/bin/external/v8 -iquote external/com_googlesource_chromium_base_trace_event_common -iquote bazel-out/aarch64-opt/bin/external/com_googlesource_chromium_base_trace_event_common -Ibazel-out/aarch64-opt/bin/external/v8/_virtual_includes/wee8 -Ibazel-out/aarch64-opt/bin/external/com_googlesource_chromium_base_trace_event_common/_virtual_includes/trace_event_common -Ibazel-out/aarch64-opt/bin/external/v8/_virtual_includes/noicu/generated_torque_headers -isystem external/v8/include -isystem bazel-out/aarch64-opt/bin/external/v8/include '-DABSL_MIN_LOG_LEVEL=4' -fdebug-types-section -fPIC -Wno-deprecated-declarations '-std=c++17' -fPIC -fno-strict-aliasing -Werror -Wextra -Wno-unknown-warning-option -Wno-bitwise-instead-of-logical -Wno-builtin-assume-aligned-alignment -Wno-unused-parameter -Wno-implicit-int-float-conversion -Wno-deprecated-copy -Wno-non-virtual-dtor -isystem . -Wno-invalid-offsetof -Wno-unneeded-internal-declaration '-std=c++17' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -c external/v8/src/wasm/c-api.cc -o bazel-out/aarch64-opt/bin/external/v8/_objs/wee8/c-api.o)
# Configuration: 9ddb72808eccda63368dbd56a149ab2b37be1c21b96c1705bbcec52c66ca0734
# Execution platform: @local_config_platform//:host
SUBCOMMAND: # @proxy_wasm_cpp_host//:v8_lib [action 'Compiling src/v8/v8.cc', configuration: 9ddb72808eccda63368dbd56a149ab2b37be1c21b96c1705bbcec52c66ca0734, execution platform: @local_config_platform//:host]
(cd /home/build/.cache/bazel/_bazel_build/221703495c2e97a5482194eda3ea2f8b/execroot/envoy && \
exec env - \
BAZEL_COMPILER=clang \
BAZEL_LINKLIBS=-l%:libstdc++.a \
BAZEL_LINKOPTS=-lm \
CC=clang \
CXX=clang++ \
PATH=/bin:/usr/bin:/usr/local/bin \
PWD=/proc/self/cwd \
/usr/bin/clang-16 -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -Wunused-but-set-parameter -Wno-free-nonheap-object -fcolor-diagnostics -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections -fdata-sections '-std=c++0x' -MD -MF bazel-out/aarch64-opt/bin/external/proxy_wasm_cpp_host/_objs/v8_lib/v8.d '-frandom-seed=bazel-out/aarch64-opt/bin/external/proxy_wasm_cpp_host/_objs/v8_lib/v8.o' -gsplit-dwarf -g '-DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=64' -DV8_DEPRECATION_WARNINGS -DV8_IMMINENT_DEPRECATION_WARNINGS -DV8_ENABLE_LAZY_SOURCE_POSITIONS -DV8_ENABLE_WEBASSEMBLY -DGOOGLE3 -DENABLE_DEBUGGER_SUPPORT -DV8_ADVANCED_BIGINT_ALGORITHMS -DV8_CONCURRENT_MARKING -DV8_TARGET_ARCH_ARM64 -DV8_HAVE_TARGET_OS -DV8_TARGET_OS_LINUX -DV8_SHORT_BUILTIN_CALLS -DPROXY_WASM_HAS_RUNTIME_V8 -DPROXY_WASM_HOST_ENGINE_V8 '-DBAZEL_CURRENT_REPOSITORY="proxy_wasm_cpp_host"' -iquote external/proxy_wasm_cpp_host -iquote bazel-out/aarch64-opt/bin/external/proxy_wasm_cpp_host -iquote external/proxy_wasm_cpp_sdk -iquote bazel-out/aarch64-opt/bin/external/proxy_wasm_cpp_sdk -iquote external/v8 -iquote bazel-out/aarch64-opt/bin/external/v8 -iquote external/com_googlesource_chromium_base_trace_event_common -iquote bazel-out/aarch64-opt/bin/external/com_googlesource_chromium_base_trace_event_common -Ibazel-out/aarch64-opt/bin/external/v8/_virtual_includes/wee8 -Ibazel-out/aarch64-opt/bin/external/com_googlesource_chromium_base_trace_event_common/_virtual_includes/trace_event_common -Ibazel-out/aarch64-opt/bin/external/v8/_virtual_includes/noicu/generated_torque_headers -isystem external/v8/include -isystem bazel-out/aarch64-opt/bin/external/v8/include '-DABSL_MIN_LOG_LEVEL=4' -fdebug-types-section -fPIC -Wno-deprecated-declarations '-std=c++17' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -c external/proxy_wasm_cpp_host/src/v8/v8.cc -o bazel-out/aarch64-opt/bin/external/proxy_wasm_cpp_host/_objs/v8_lib/v8.o)
# Configuration: 9ddb72808eccda63368dbd56a149ab2b37be1c21b96c1705bbcec52c66ca0734
# Execution platform: @local_config_platform//:host
ERROR: /home/build/.cache/bazel/_bazel_build/221703495c2e97a5482194eda3ea2f8b/external/proxy_wasm_cpp_host/BUILD:121:11: Compiling src/v8/v8.cc failed: (Exit 1): process-wrapper failed: error executing command
(cd /home/build/.cache/bazel/_bazel_build/221703495c2e97a5482194eda3ea2f8b/sandbox/processwrapper-sandbox/5937/execroot/envoy && \
exec env - \
BAZEL_COMPILER=clang \
BAZEL_LINKLIBS=-l%:libstdc++.a \
BAZEL_LINKOPTS=-lm \
CC=clang \
CXX=clang++ \
PATH=/bin:/usr/bin:/usr/local/bin \
PWD=/proc/self/cwd \
TMPDIR=/tmp \
/home/build/.cache/bazel/_bazel_build/install/690906d82aa78975b597bd4f0948f7cd/process-wrapper '--timeout=0' '--kill_delay=15' '--stats=/home/build/.cache/bazel/_bazel_build/221703495c2e97a5482194eda3ea2f8b/sandbox/processwrapper-sandbox/5937/stats.out' /usr/bin/clang-16 -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -Wunused-but-set-parameter -Wno-free-nonheap-object -fcolor-diagnostics -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections -fdata-sections '-std=c++0x' -MD -MF bazel-out/aarch64-opt/bin/external/proxy_wasm_cpp_host/_objs/v8_lib/v8.d '-frandom-seed=bazel-out/aarch64-opt/bin/external/proxy_wasm_cpp_host/_objs/v8_lib/v8.o' -gsplit-dwarf -g '-DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=64' -DV8_DEPRECATION_WARNINGS -DV8_IMMINENT_DEPRECATION_WARNINGS -DV8_ENABLE_LAZY_SOURCE_POSITIONS -DV8_ENABLE_WEBASSEMBLY -DGOOGLE3 -DENABLE_DEBUGGER_SUPPORT -DV8_ADVANCED_BIGINT_ALGORITHMS -DV8_CONCURRENT_MARKING -DV8_TARGET_ARCH_ARM64 -DV8_HAVE_TARGET_OS -DV8_TARGET_OS_LINUX -DV8_SHORT_BUILTIN_CALLS -DPROXY_WASM_HAS_RUNTIME_V8 -DPROXY_WASM_HOST_ENGINE_V8 '-DBAZEL_CURRENT_REPOSITORY="proxy_wasm_cpp_host"' -iquote external/proxy_wasm_cpp_host -iquote bazel-out/aarch64-opt/bin/external/proxy_wasm_cpp_host -iquote external/proxy_wasm_cpp_sdk -iquote bazel-out/aarch64-opt/bin/external/proxy_wasm_cpp_sdk -iquote external/v8 -iquote bazel-out/aarch64-opt/bin/external/v8 -iquote external/com_googlesource_chromium_base_trace_event_common -iquote bazel-out/aarch64-opt/bin/external/com_googlesource_chromium_base_trace_event_common -Ibazel-out/aarch64-opt/bin/external/v8/_virtual_includes/wee8 -Ibazel-out/aarch64-opt/bin/external/com_googlesource_chromium_base_trace_event_common/_virtual_includes/trace_event_common -Ibazel-out/aarch64-opt/bin/external/v8/_virtual_includes/noicu/generated_torque_headers -isystem external/v8/include -isystem bazel-out/aarch64-opt/bin/external/v8/include '-DABSL_MIN_LOG_LEVEL=4' -fdebug-types-section -fPIC -Wno-deprecated-declarations '-std=c++17' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -c external/proxy_wasm_cpp_host/src/v8/v8.cc -o bazel-out/aarch64-opt/bin/external/proxy_wasm_cpp_host/_objs/v8_lib/v8.o)
In file included from external/proxy_wasm_cpp_host/src/v8/v8.cc:16:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/v8.h:20:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/wasm_vm.h:26:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/word.h:22:
external/proxy_wasm_cpp_sdk/proxy_wasm_common.h:59:8: error: no type named 'string' in namespace 'proxy_wasm::std'; did you mean '::std::string'?
inline std::string toString(WasmResult r) {
^~~~~~~~~~~
::std::string
/usr/bin/../lib/gcc/aarch64-redhat-linux/13/../../../../include/c++/13/bits/stringfwd.h:77:33: note: '::std::string' declared here
typedef basic_string<char> string;
^
In file included from external/proxy_wasm_cpp_host/src/v8/v8.cc:16:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/v8.h:20:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/wasm_vm.h:26:
external/proxy_wasm_cpp_host/include/proxy-wasm/word.h:71:34: error: no template named 'forward' in namespace 'proxy_wasm::std'; did you mean '::std::forward'?
return convertWordToUint32(F(std::forward<Args>(args)...));
^~~~~~~~~~~~
::std::forward
/usr/bin/../lib/gcc/aarch64-redhat-linux/13/../../../../include/c++/13/bits/move.h:70:5: note: '::std::forward' declared here
forward(typename std::remove_reference<_Tp>::type& __t) noexcept
^
In file included from external/proxy_wasm_cpp_host/src/v8/v8.cc:16:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/v8.h:20:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/wasm_vm.h:26:
external/proxy_wasm_cpp_host/include/proxy-wasm/word.h:71:34: error: no template named 'forward' in namespace 'proxy_wasm::std'; did you mean '::std::forward'?
return convertWordToUint32(F(std::forward<Args>(args)...));
^~~~~~~~~~~~
::std::forward
/usr/bin/../lib/gcc/aarch64-redhat-linux/13/../../../../include/c++/13/bits/move.h:70:5: note: '::std::forward' declared here
forward(typename std::remove_reference<_Tp>::type& __t) noexcept
^
In file included from external/proxy_wasm_cpp_host/src/v8/v8.cc:16:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/v8.h:20:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/wasm_vm.h:26:
external/proxy_wasm_cpp_host/include/proxy-wasm/word.h:77:7: error: no template named 'forward' in namespace 'proxy_wasm::std'; did you mean '::std::forward'?
F(std::forward<Args>(args)...);
^~~~~~~~~~~~
::std::forward
/usr/bin/../lib/gcc/aarch64-redhat-linux/13/../../../../include/c++/13/bits/move.h:70:5: note: '::std::forward' declared here
forward(typename std::remove_reference<_Tp>::type& __t) noexcept
^
In file included from external/proxy_wasm_cpp_host/src/v8/v8.cc:16:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/v8.h:20:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/wasm_vm.h:26:
external/proxy_wasm_cpp_host/include/proxy-wasm/word.h:77:7: error: no template named 'forward' in namespace 'proxy_wasm::std'; did you mean '::std::forward'?
F(std::forward<Args>(args)...);
^~~~~~~~~~~~
::std::forward
/usr/bin/../lib/gcc/aarch64-redhat-linux/13/../../../../include/c++/13/bits/move.h:70:5: note: '::std::forward' declared here
forward(typename std::remove_reference<_Tp>::type& __t) noexcept
^
In file included from external/proxy_wasm_cpp_host/src/v8/v8.cc:16:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/v8.h:20:
external/proxy_wasm_cpp_host/include/proxy-wasm/wasm_vm.h:67:22: error: no template named 'function' in namespace 'proxy_wasm::std'; did you mean '::std::function'?
using WasmCallVoid = std::function<WasmCallInFuncType<N, void, ContextBase *, Word>>;
^~~~~~~~~~~~~
::std::function
/usr/bin/../lib/gcc/aarch64-redhat-linux/13/../../../../include/c++/13/bits/std_function.h:111:11: note: '::std::function' declared here
class function;
^
In file included from external/proxy_wasm_cpp_host/src/v8/v8.cc:16:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/v8.h:20:
external/proxy_wasm_cpp_host/include/proxy-wasm/wasm_vm.h:69:22: error: no template named 'function' in namespace 'proxy_wasm::std'; did you mean '::std::function'?
using WasmCallWord = std::function<WasmCallInFuncType<N, Word, ContextBase *, Word>>;
^~~~~~~~~~~~~
::std::function
/usr/bin/../lib/gcc/aarch64-redhat-linux/13/../../../../include/c++/13/bits/std_function.h:111:11: note: '::std::function' declared here
class function;
^
In file included from external/proxy_wasm_cpp_host/src/v8/v8.cc:16:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/v8.h:20:
external/proxy_wasm_cpp_host/include/proxy-wasm/wasm_vm.h:151:22: error: no type named 'string_view' in namespace 'proxy_wasm::std'; did you mean '::std::string_view'?
virtual void error(std::string_view message) = 0;
^~~~~~~~~~~~~~~~
::std::string_view
/usr/bin/../lib/gcc/aarch64-redhat-linux/13/../../../../include/c++/13/string_view:767:9: note: '::std::string_view' declared here
using string_view = basic_string_view<char>;
^
In file included from external/proxy_wasm_cpp_host/src/v8/v8.cc:16:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/v8.h:20:
external/proxy_wasm_cpp_host/include/proxy-wasm/wasm_vm.h:152:22: error: no type named 'string_view' in namespace 'proxy_wasm::std'; did you mean '::std::string_view'?
virtual void trace(std::string_view message) = 0;
^~~~~~~~~~~~~~~~
::std::string_view
/usr/bin/../lib/gcc/aarch64-redhat-linux/13/../../../../include/c++/13/string_view:767:9: note: '::std::string_view' declared here
using string_view = basic_string_view<char>;
^
In file included from external/proxy_wasm_cpp_host/src/v8/v8.cc:16:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/v8.h:20:
external/proxy_wasm_cpp_host/include/proxy-wasm/wasm_vm.h:163:34: error: no type named 'string_view' in namespace 'proxy_wasm::std'; did you mean '::std::string_view'?
virtual bool getNullVmFunction(std::string_view function_name, bool returns_word,
^~~~~~~~~~~~~~~~
::std::string_view
/usr/bin/../lib/gcc/aarch64-redhat-linux/13/../../../../include/c++/13/string_view:767:9: note: '::std::string_view' declared here
using string_view = basic_string_view<char>;
^
In file included from external/proxy_wasm_cpp_host/src/v8/v8.cc:16:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/v8.h:20:
external/proxy_wasm_cpp_host/include/proxy-wasm/wasm_vm.h:187:11: error: no type named 'string_view' in namespace 'proxy_wasm::std'; did you mean '::std::string_view'?
virtual std::string_view getEngineName() = 0;
^~~~~~~~~~~~~~~~
::std::string_view
/usr/bin/../lib/gcc/aarch64-redhat-linux/13/../../../../include/c++/13/string_view:767:9: note: '::std::string_view' declared here
using string_view = basic_string_view<char>;
^
In file included from external/proxy_wasm_cpp_host/src/v8/v8.cc:16:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/v8.h:20:
external/proxy_wasm_cpp_host/include/proxy-wasm/wasm_vm.h:206:11: error: no template named 'unique_ptr' in namespace 'proxy_wasm::std'; did you mean '::std::unique_ptr'?
virtual std::unique_ptr<WasmVm> clone() = 0;
^~~~~~~~~~~~~~~
::std::unique_ptr
/usr/bin/../lib/gcc/aarch64-redhat-linux/13/../../../../include/c++/13/bits/unique_ptr.h:277:11: note: '::std::unique_ptr' declared here
class unique_ptr
^
In file included from external/proxy_wasm_cpp_host/src/v8/v8.cc:16:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/v8.h:20:
external/proxy_wasm_cpp_host/include/proxy-wasm/wasm_vm.h:217:21: error: no type named 'string_view' in namespace 'proxy_wasm::std'; did you mean '::std::string_view'?
virtual bool load(std::string_view bytecode, std::string_view precompiled,
^~~~~~~~~~~~~~~~
::std::string_view
/usr/bin/../lib/gcc/aarch64-redhat-linux/13/../../../../include/c++/13/string_view:767:9: note: '::std::string_view' declared here
using string_view = basic_string_view<char>;
^
In file included from external/proxy_wasm_cpp_host/src/v8/v8.cc:16:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/v8.h:20:
external/proxy_wasm_cpp_host/include/proxy-wasm/wasm_vm.h:217:48: error: no type named 'string_view' in namespace 'proxy_wasm::std'; did you mean '::std::string_view'?
virtual bool load(std::string_view bytecode, std::string_view precompiled,
^~~~~~~~~~~~~~~~
::std::string_view
/usr/bin/../lib/gcc/aarch64-redhat-linux/13/../../../../include/c++/13/string_view:767:9: note: '::std::string_view' declared here
using string_view = basic_string_view<char>;
^
In file included from external/proxy_wasm_cpp_host/src/v8/v8.cc:16:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/v8.h:20:
external/proxy_wasm_cpp_host/include/proxy-wasm/wasm_vm.h:218:27: error: no template named 'unordered_map' in namespace 'proxy_wasm::std'; did you mean '::std::unordered_map'?
const std::unordered_map<uint32_t, std::string> &function_names) = 0;
^~~~~~~~~~~~~~~~~~
::std::unordered_map
/usr/bin/../lib/gcc/aarch64-redhat-linux/13/../../../../include/c++/13/bits/unordered_map.h:109:11: note: '::std::unordered_map' declared here
class unordered_map
^
In file included from external/proxy_wasm_cpp_host/src/v8/v8.cc:16:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/v8.h:20:
external/proxy_wasm_cpp_host/include/proxy-wasm/wasm_vm.h:218:61: error: no member named 'string' in namespace 'proxy_wasm::std'
const std::unordered_map<uint32_t, std::string> &function_names) = 0;
~~~~~^
external/proxy_wasm_cpp_host/include/proxy-wasm/wasm_vm.h:227:21: error: no type named 'string_view' in namespace 'proxy_wasm::std'; did you mean '::std::string_view'?
virtual bool link(std::string_view debug_name) = 0;
^~~~~~~~~~~~~~~~
::std::string_view
/usr/bin/../lib/gcc/aarch64-redhat-linux/13/../../../../include/c++/13/string_view:767:9: note: '::std::string_view' declared here
using string_view = basic_string_view<char>;
^
In file included from external/proxy_wasm_cpp_host/src/v8/v8.cc:16:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/v8.h:20:
external/proxy_wasm_cpp_host/include/proxy-wasm/wasm_vm.h:242:11: error: no template named 'optional' in namespace 'proxy_wasm::std'; did you mean '::std::optional'?
virtual std::optional<std::string_view> getMemory(uint64_t pointer, uint64_t size) = 0;
^~~~~~~~~~~~~
::std::optional
/usr/bin/../lib/gcc/aarch64-redhat-linux/13/../../../../include/c++/13/optional:705:11: note: '::std::optional' declared here
class optional
^
In file included from external/proxy_wasm_cpp_host/src/v8/v8.cc:16:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/v8.h:20:
external/proxy_wasm_cpp_host/include/proxy-wasm/wasm_vm.h:242:30: error: no member named 'string_view' in namespace 'proxy_wasm::std'
virtual std::optional<std::string_view> getMemory(uint64_t pointer, uint64_t size) = 0;
~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
Target //source/exe:envoy-static failed to build
INFO: Elapsed time: 23444.323s, Critical Path: 93.05s
INFO: 10905 processes: 4969 internal, 1 local, 5934 processwrapper-sandbox, 1 worker.
FAILED: Build did NOT complete successfully
[build@sbc-stage-a0 envoy]$ clang -v
clang version 16.0.6 (Fedora 16.0.6-3.fc38)
Target: aarch64-redhat-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Found candidate GCC installation: /usr/bin/../lib/gcc/aarch64-redhat-linux/13
Selected GCC installation: /usr/bin/../lib/gcc/aarch64-redhat-linux/13
Candidate multilib: .;@m64
Selected multilib: .;@m64
I compiling master branch using command
And got error
Build done on host with Fedora 38 with aarch64 architecture.
Here used