Hey all, I'm trying to follow the steps listed here <https://v8.dev/docs/embed#run-the-example> in the V8 docs to build V8 on OSX.
gn args out.gn/x64.release.sample shows the generated arguments as: is_component_build = false is_debug = false target_cpu = "x64" use_custom_libcxx = false v8_monolithic = true v8_use_external_startup_data = false However, when I run ninja -C out.gn/x64.release.sample v8_monolith the build runs about halfway but ultimately fails with the following error: In file included from ../../src/codegen/external-reference-table.h:8: ../../include/v8-memory-span.h:44:36: error: no member named 'enable_view' in namespace 'std::ranges' 44 | inline constexpr bool std::ranges::enable_view<v8::MemorySpan<T>> = true; | ~~~~~~~~~~~~~^ ../../include/v8-memory-span.h:44:47: error: expected ';' after top level declarator 44 | inline constexpr bool std::ranges::enable_view<v8::MemorySpan<T>> = true; | ^ | ; In file included from ../../src/codegen/external-reference-table.cc:5: In file included from ../../src/codegen/external-reference-table.h:9: In file included from ../../src/builtins/accessors.h:9: In file included from ../../src/base/bit-field.h:12: In file included from ../../src/base/macros.h:13: In file included from ../../src/base/logging.h:11: In file included from ../../../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/c++/v1/sstream:184: In file included from ../../../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/c++/v1/istream:163: In file included from ../../../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/c++/v1/ostream:137: In file included from ../../../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/c++/v1/bitset:122: In file included from ../../../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/c++/v1/string:532: In file included from ../../../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/c++/v1/string_view:191: ../../../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/c++/v1/__ranges/enable_view.h:32:23: error: redefinition of 'enable_view' 32 | inline constexpr bool enable_view = derived_from<_Tp, view_base>; | ^ ../../include/v8-memory-span.h:44:36: note: previous definition is here 44 | inline constexpr bool std::ranges::enable_view<v8::MemorySpan<T>> = true; | ^ 3 errors generated. I am building on OSX 12.5 with Xcode 13.4 installed -- using Apple clang version 13.1.6 (clang-1316.0.21.2.5). Any help would be very greatly appreciated! -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-users/dbb4fef4-c8ce-4296-9703-8546029cd4c9n%40googlegroups.com.