You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
�[1;34m==>�[0m effective args.gn:
# --- args/common.gn ---
# Base GN args shared across every target. Mirrors just-js/v8's proven args
# (the closest working reference for modern V8 14.x); per-target files and
# profile files override these as needed.
is_debug = false
is_component_build = false
v8_monolithic = true
v8_use_external_startup_data = false
# Rust is enabled by default in modern V8 and would pull a prebuilt rust
# toolchain that depot_tools does not always ship for every host arch. We
# don't use any Rust-backed components from the monolith, so disable it.
enable_rust = false
is_clang = true
clang_use_chrome_plugins = false
dcheck_always_on = false
use_custom_libcxx = false
use_rtti = false
symbol_level = 0
strip_debug_info = true
treat_warnings_as_errors = false
v8_enable_i18n_support = false
v8_enable_test_features = false
v8_enable_gdbjit = false
v8_enable_backtrace = false
v8_enable_snapshot_compression = false
v8_enable_temporal_support = false
v8_deprecation_warnings = false
v8_imminent_deprecation_warnings = false
# --- args/windows.x64.gn ---
target_os = "win"
target_cpu = "x64"
v8_target_cpu = "x64"
# --- args/profiles/default.gn ---
# Default profile: smallest embedder-friendly build, no sandbox,
# no pointer compression, no ICU. Matches the lowest common denominator
# expected by most language bindings.
v8_enable_pointer_compression = false
v8_enable_sandbox = false
cc_wrapper = "ccache"
�[1;34m==>�[0m gn gen /d/a/libv8/libv8/v8/out/windows-x64.default
Traceback (most recent call last):
File "D:\a\libv8\libv8\v8\build\toolchain\win\setup_toolchain.py", line 342, in <module>
main()
File "D:\a\libv8\libv8\v8\build\toolchain\win\setup_toolchain.py", line 277, in main
env = _LoadToolchainEnv(cpu, toolchain_root, win_sdk_path, target_store)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\a\libv8\libv8\v8\build\toolchain\win\setup_toolchain.py", line 194, in _LoadToolchainEnv
return _ExtractImportantEnvironment(variables)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\a\libv8\libv8\v8\build\toolchain\win\setup_toolchain.py", line 68, in _ExtractImportantEnvironment
raise Exception(
Exception: Path "C:\Program Files (x86)\Windows Kits\10\\include\10.0.28000.0\\um" from environment variable "include" does not exist. Make sure the necessary SDK is installed.
ERROR at //build/toolchain/win/win_toolchain_data.gni:9:7: Script returned non-zero exit code.
exec_script("//build/toolchain/win/setup_toolchain.py",
^----------
Current dir: D:/a/libv8/libv8/v8/out/windows-x64.default/
Command: D:/a/libv8/libv8/.depot_tools/bootstrap-2@3_11_8_chromium_35_bin/python3/bin/python3.exe D:/a/libv8/libv8/v8/build/toolchain/win/setup_toolchain.py "C:\Program Files/Microsoft Visual Studio/18\Enterprise" "C:\Program Files (x86)\Windows Kits\10" "C:\Windows\System32;C:\Windows\SysWOW64;Arm64Unused" win x86 environment.x86
Returned 1.
See //build/toolchain/win/toolchain.gni:13:1: whence //build/toolchain/win/win_toolchain_data.gni was imported.
import("//build/toolchain/win/win_toolchain_data.gni")
^----------------------------------------------------
See //buildtools/third_party/libc++/BUILD.gn:8:1: whence //buildtools/third_party/libc++/modules.gni was imported.
import("//buildtools/third_party/libc++/modules.gni")
^---------------------------------------------------
See //build/config/BUILDCONFIG.gn:633:19: which caused the file to be included.
deps += [ "//buildtools/third_party/libc++:all_modules" ]
^--------------------------------------------
clang_use_chrome_plugins = false
dcheck_always_on = false
use_custom_libcxx = false
use_rtti = false
symbol_level = 0
strip_debug_info = true
treat_warnings_as_errors = false
v8_enable_i18n_support = false
v8_enable_test_features = false
v8_enable_gdbjit = false
v8_enable_backtrace = false
v8_enable_snapshot_compression = false
v8_enable_temporal_support = false
v8_deprecation_warnings = false
v8_imminent_deprecation_warnings = false
# --- args/windows.x64.gn ---
target_os = "win"
target_cpu = "x64"
v8_target_cpu = "x64"
# --- args/profiles/pointer-compression.gn ---
# Pointer compression enabled. Callers MUST be compiled with the same flag.
v8_enable_pointer_compression = true
v8_enable_sandbox = false
# When pointer compression is on, V8 enables partition_alloc's allocator
# shim (CPPGC_POINTER_COMPRESSION), which forward-declares the global
# operator new / operator delete overloads with default visibility.
# macOS 15.5 SDK's libc++ (Xcode 16.4+) declares those same operators
# with hidden visibility, so clang errors with "visibility does not
# match previous declaration" against system libc++. Linking V8's own
# bundled libc++ here keeps the declarations consistent across all
# translation units.
#
# linux-arm64 is the exception: it builds with system gcc-14 + libstdc++
# (V8 14.9's bundled clang prebuilt has no Linux_aarch64 build, see
# args/linux.arm64.gn). The macOS visibility conflict doesn't apply
# (libstdc++, not libc++), and V8's bundled libc++ headers require
# GCC 15+ (they use __is_unbounded_array / __is_pointer / __decay /
# __add_*_reference intrinsics gcc-14 doesn't support), so flipping
# use_custom_libcxx=true there breaks the build at
# libc++abi/cxa_aux_runtime. Keep system libstdc++ on that one target.
if (target_os == "linux" && target_cpu == "arm64") {
use_custom_libcxx = false
} else {
use_custom_libcxx = true
}
cc_wrapper = "ccache"
�[1;34m==>�[0m gn gen /d/a/libv8/libv8/v8/out/windows-x64.pointer-compression
Traceback (most recent call last):
File "D:\a\libv8\libv8\v8\build\toolchain\win\setup_toolchain.py", line 342, in <module>
main()
File "D:\a\libv8\libv8\v8\build\toolchain\win\setup_toolchain.py", line 277, in main
env = _LoadToolchainEnv(cpu, toolchain_root, win_sdk_path, target_store)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\a\libv8\libv8\v8\build\toolchain\win\setup_toolchain.py", line 194, in _LoadToolchainEnv
return _ExtractImportantEnvironment(variables)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\a\libv8\libv8\v8\build\toolchain\win\setup_toolchain.py", line 68, in _ExtractImportantEnvironment
raise Exception(
Exception: Path "C:\Program Files (x86)\Windows Kits\10\\include\10.0.28000.0\\um" from environment variable "include" does not exist. Make sure the necessary SDK is installed.
ERROR at //build/toolchain/win/win_toolchain_data.gni:9:7: Script returned non-zero exit code.
exec_script("//build/toolchain/win/setup_toolchain.py",
^----------
Current dir: D:/a/libv8/libv8/v8/out/windows-x64.pointer-compression/
Command: D:/a/libv8/libv8/.depot_tools/bootstrap-2@3_11_8_chromium_35_bin/python3/bin/python3.exe D:/a/libv8/libv8/v8/build/toolchain/win/setup_toolchain.py "C:\Program Files/Microsoft Visual Studio/18\Enterprise" "C:\Program Files (x86)\Windows Kits\10" "C:\Windows\System32;C:\Windows\SysWOW64;Arm64Unused" win x86 environment.x86
Returned 1.
See //buildtools/third_party/libc++/modules.gni:14:3: whence //build/toolchain/win/win_toolchain_data.gni was imported.
import("//build/toolchain/win/win_toolchain_data.gni")
^----------------------------------------------------
See //buildtools/third_party/libc++/BUILD.gn:8:1: whence //buildtools/third_party/libc++/modules.gni was imported.
import("//buildtools/third_party/libc++/modules.gni")
^---------------------------------------------------
See //build/config/BUILDCONFIG.gn:633:19: which caused the file to be included.
deps += [ "//buildtools/third_party/libc++:all_modules" ]
^--------------------------------------------
�[1;34m==>�[0m effective args.gn:
# --- args/common.gn ---
# Base GN args shared across every target. Mirrors just-js/v8's proven args
# (the closest working reference for modern V8 14.x); per-target files and
# profile files override these as needed.
is_debug = false
is_component_build = false
v8_monolithic = true
v8_use_external_startup_data = false
# Rust is enabled by default in modern V8 and would pull a prebuilt rust
# toolchain that depot_tools does not always ship for every host arch. We
# don't use any Rust-backed components from the monolith, so disable it.
enable_rust = false
is_clang = true
clang_use_chrome_plugins = false
dcheck_always_on = false
use_custom_libcxx = false
use_rtti = false
symbol_level = 0
strip_debug_info = true
treat_warnings_as_errors = false
v8_enable_i18n_support = false
v8_enable_test_features = false
v8_enable_gdbjit = false
v8_enable_backtrace = false
v8_enable_snapshot_compression = false
v8_enable_temporal_support = false
v8_deprecation_warnings = false
v8_imminent_deprecation_warnings = false
# --- args/windows.arm64.gn ---
target_os = "win"
target_cpu = "arm64"
v8_target_cpu = "arm64"
# --- args/profiles/default.gn ---
# Default profile: smallest embedder-friendly build, no sandbox,
# no pointer compression, no ICU. Matches the lowest common denominator
# expected by most language bindings.
v8_enable_pointer_compression = false
v8_enable_sandbox = false
�[1;34m==>�[0m gn gen /c/a/libv8/libv8/v8/out/windows-arm64.default
Traceback (most recent call last):
File "C:\a\libv8\libv8\v8\build\toolchain\win\setup_toolchain.py", line 342, in <module>
main()
File "C:\a\libv8\libv8\v8\build\toolchain\win\setup_toolchain.py", line 277, in main
env = _LoadToolchainEnv(cpu, toolchain_root, win_sdk_path, target_store)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\a\libv8\libv8\v8\build\toolchain\win\setup_toolchain.py", line 194, in _LoadToolchainEnv
return _ExtractImportantEnvironment(variables)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\a\libv8\libv8\v8\build\toolchain\win\setup_toolchain.py", line 68, in _ExtractImportantEnvironment
raise Exception(
Exception: Path "C:\Program Files (x86)\Windows Kits\10\\include\10.0.28000.0\\um" from environment variable "include" does not exist. Make sure the necessary SDK is installed.
ERROR at //build/toolchain/win/win_toolchain_data.gni:9:7: Script returned non-zero exit code.
exec_script("//build/toolchain/win/setup_toolchain.py",
^----------
Current dir: C:/a/libv8/libv8/v8/out/windows-arm64.default/
Command: C:/a/libv8/libv8/.depot_tools/bootstrap-2@3_11_8_chromium_35_bin/python3/bin/python3.exe C:/a/libv8/libv8/v8/build/toolchain/win/setup_toolchain.py "C:\Program Files/Microsoft Visual Studio/2022\Enterprise" "C:\Program Files (x86)\Windows Kits\10" "C:\Windows\System32;C:\Windows\SysWOW64;Arm64Unused" win x86 environment.x86
Returned 1.
See //build/toolchain/win/toolchain.gni:13:1: whence //build/toolchain/win/win_toolchain_data.gni was imported.
import("//build/toolchain/win/win_toolchain_data.gni")
^----------------------------------------------------
See //build/toolchain/win/BUILD.gn:6:1: whence //build/toolchain/win/toolchain.gni was imported.
import("//build/toolchain/win/toolchain.gni")
^-------------------------------------------
See //BUILD.gn:2503:14: which caused the file to be included.
deps = [ ":torque($toolchain)" ]
^--------------------
is_clang = true
clang_use_chrome_plugins = false
dcheck_always_on = false
use_custom_libcxx = false
use_rtti = false
symbol_level = 0
strip_debug_info = true
treat_warnings_as_errors = false
v8_enable_i18n_support = false
v8_enable_test_features = false
v8_enable_gdbjit = false
v8_enable_backtrace = false
v8_enable_snapshot_compression = false
v8_enable_temporal_support = false
v8_deprecation_warnings = false
v8_imminent_deprecation_warnings = false
# --- args/windows.arm64.gn ---
target_os = "win"
target_cpu = "arm64"
v8_target_cpu = "arm64"
# --- args/profiles/pointer-compression.gn ---
# Pointer compression enabled. Callers MUST be compiled with the same flag.
v8_enable_pointer_compression = true
v8_enable_sandbox = false
# When pointer compression is on, V8 enables partition_alloc's allocator
# shim (CPPGC_POINTER_COMPRESSION), which forward-declares the global
# operator new / operator delete overloads with default visibility.
# macOS 15.5 SDK's libc++ (Xcode 16.4+) declares those same operators
# with hidden visibility, so clang errors with "visibility does not
# match previous declaration" against system libc++. Linking V8's own
# bundled libc++ here keeps the declarations consistent across all
# translation units.
#
# linux-arm64 is the exception: it builds with system gcc-14 + libstdc++
# (V8 14.9's bundled clang prebuilt has no Linux_aarch64 build, see
# args/linux.arm64.gn). The macOS visibility conflict doesn't apply
# (libstdc++, not libc++), and V8's bundled libc++ headers require
# GCC 15+ (they use __is_unbounded_array / __is_pointer / __decay /
# __add_*_reference intrinsics gcc-14 doesn't support), so flipping
# use_custom_libcxx=true there breaks the build at
# libc++abi/cxa_aux_runtime. Keep system libstdc++ on that one target.
if (target_os == "linux" && target_cpu == "arm64") {
use_custom_libcxx = false
} else {
use_custom_libcxx = true
}
�[1;34m==>�[0m gn gen /c/a/libv8/libv8/v8/out/windows-arm64.pointer-compression
Traceback (most recent call last):
File "C:\a\libv8\libv8\v8\build\toolchain\win\setup_toolchain.py", line 342, in <module>
main()
File "C:\a\libv8\libv8\v8\build\toolchain\win\setup_toolchain.py", line 277, in main
env = _LoadToolchainEnv(cpu, toolchain_root, win_sdk_path, target_store)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\a\libv8\libv8\v8\build\toolchain\win\setup_toolchain.py", line 194, in _LoadToolchainEnv
return _ExtractImportantEnvironment(variables)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\a\libv8\libv8\v8\build\toolchain\win\setup_toolchain.py", line 68, in _ExtractImportantEnvironment
raise Exception(
Exception: Path "C:\Program Files (x86)\Windows Kits\10\\include\10.0.28000.0\\um" from environment variable "include" does not exist. Make sure the necessary SDK is installed.
ERROR at //build/toolchain/win/win_toolchain_data.gni:9:7: Script returned non-zero exit code.
exec_script("//build/toolchain/win/setup_toolchain.py",
^----------
Current dir: C:/a/libv8/libv8/v8/out/windows-arm64.pointer-compression/
Command: C:/a/libv8/libv8/.depot_tools/bootstrap-2@3_11_8_chromium_35_bin/python3/bin/python3.exe C:/a/libv8/libv8/v8/build/toolchain/win/setup_toolchain.py "C:\Program Files/Microsoft Visual Studio/2022\Enterprise" "C:\Program Files (x86)\Windows Kits\10" "C:\Windows\System32;C:\Windows\SysWOW64;Arm64Unused" win x86 environment.x86
Returned 1.
See //buildtools/third_party/libc++/modules.gni:14:3: whence //build/toolchain/win/win_toolchain_data.gni was imported.
import("//build/toolchain/win/win_toolchain_data.gni")
^----------------------------------------------------
See //buildtools/third_party/libc++/BUILD.gn:8:1: whence //buildtools/third_party/libc++/modules.gni was imported.
import("//buildtools/third_party/libc++/modules.gni")
^---------------------------------------------------
See //build/config/BUILDCONFIG.gn:633:19: which caused the file to be included.
deps += [ "//buildtools/third_party/libc++:all_modules" ]
^--------------------------------------------
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.