mirror of
https://github.com/openai/codex.git
synced 2026-11-29 00:00:54 +00:00
code-mode: v8 build to 14.8.178.14
This commit is contained in:
+4
-4
@@ -395,18 +395,18 @@ crate.annotation(
|
||||
|
||||
inject_repo(crate, "alsa_lib")
|
||||
|
||||
bazel_dep(name = "v8", version = "14.6.202.9")
|
||||
bazel_dep(name = "v8", version = "14.8.178.14")
|
||||
archive_override(
|
||||
module_name = "v8",
|
||||
integrity = "sha256-JphDwLAzsd9KvgRZ7eQvNtPU6qGd3XjFt/a/1QITAJU=",
|
||||
integrity = "sha256-t5nzIiIA1cq3OuzEy0fk5fU+6GeVkrxV8sPH7rmb3TY=",
|
||||
patch_strip = 3,
|
||||
patches = [
|
||||
"//patches:v8_module_deps.patch",
|
||||
"//patches:v8_bazel_rules.patch",
|
||||
"//patches:v8_source_portability.patch",
|
||||
],
|
||||
strip_prefix = "v8-14.6.202.9",
|
||||
urls = ["https://github.com/v8/v8/archive/refs/tags/14.6.202.9.tar.gz"],
|
||||
strip_prefix = "v8-14.8.178.14",
|
||||
urls = ["https://github.com/v8/v8/archive/refs/tags/14.8.178.14.tar.gz"],
|
||||
)
|
||||
|
||||
http_archive(
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
# Scope: Bazel BUILD/defs/BUILD.icu integration only, including dependency
|
||||
# wiring, generated sources, and visibility; no standalone V8 source patching.
|
||||
|
||||
diff --git a/orig/v8-14.6.202.11/bazel/defs.bzl b/mod/v8-14.6.202.11/bazel/defs.bzl
|
||||
diff --git a/orig/v8-14.8.178.14/bazel/defs.bzl b/mod/v8-14.8.178.14/bazel/defs.bzl
|
||||
index 9648e4a..88efd41 100644
|
||||
--- a/orig/v8-14.6.202.11/bazel/defs.bzl
|
||||
+++ b/mod/v8-14.6.202.11/bazel/defs.bzl
|
||||
--- a/orig/v8-14.8.178.14/bazel/defs.bzl
|
||||
+++ b/mod/v8-14.8.178.14/bazel/defs.bzl
|
||||
@@ -97,7 +97,7 @@ v8_config = rule(
|
||||
|
||||
def _default_args():
|
||||
@@ -64,10 +64,10 @@ index 9648e4a..88efd41 100644
|
||||
}) + select({
|
||||
":should_add_rdynamic": ["-rdynamic"],
|
||||
"//conditions:default": [],
|
||||
diff --git a/orig/v8-14.6.202.11/BUILD.bazel b/mod/v8-14.6.202.11/BUILD.bazel
|
||||
diff --git a/orig/v8-14.8.178.14/BUILD.bazel b/mod/v8-14.8.178.14/BUILD.bazel
|
||||
index 85f31b7..7314584 100644
|
||||
--- a/orig/v8-14.6.202.11/BUILD.bazel
|
||||
+++ b/mod/v8-14.6.202.11/BUILD.bazel
|
||||
--- a/orig/v8-14.8.178.14/BUILD.bazel
|
||||
+++ b/mod/v8-14.8.178.14/BUILD.bazel
|
||||
@@ -303,7 +303,7 @@ v8_int(
|
||||
# If no explicit value for v8_enable_pointer_compression, we set it to 'none'.
|
||||
v8_string(
|
||||
@@ -226,10 +226,10 @@ index 85f31b7..7314584 100644
|
||||
],
|
||||
)
|
||||
|
||||
diff --git a/orig/v8-14.6.202.11/bazel/BUILD.icu b/mod/v8-14.6.202.11/bazel/BUILD.icu
|
||||
diff --git a/orig/v8-14.8.178.14/bazel/BUILD.icu b/mod/v8-14.8.178.14/bazel/BUILD.icu
|
||||
index 5fda2f4..381386c 100644
|
||||
--- a/orig/v8-14.6.202.11/bazel/BUILD.icu
|
||||
+++ b/mod/v8-14.6.202.11/bazel/BUILD.icu
|
||||
--- a/orig/v8-14.8.178.14/bazel/BUILD.icu
|
||||
+++ b/mod/v8-14.8.178.14/bazel/BUILD.icu
|
||||
@@ -1,3 +1,5 @@
|
||||
+load("@rules_cc//cc:defs.bzl", "cc_library")
|
||||
+
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
# Scope: upstream MODULE.bazel only; affects external repo resolution and Bazel
|
||||
# module wiring, not V8 source files.
|
||||
|
||||
diff --git a/orig/v8-14.6.202.11/MODULE.bazel b/mod/v8-14.6.202.11/MODULE.bazel
|
||||
--- a/orig/v8-14.6.202.11/MODULE.bazel
|
||||
+++ b/mod/v8-14.6.202.11/MODULE.bazel
|
||||
diff --git a/orig/v8-14.8.178.14/MODULE.bazel b/mod/v8-14.8.178.14/MODULE.bazel
|
||||
--- a/orig/v8-14.8.178.14/MODULE.bazel
|
||||
+++ b/mod/v8-14.8.178.14/MODULE.bazel
|
||||
@@ -8,7 +8,65 @@
|
||||
bazel_dep(name = "rules_python", version = "1.0.0")
|
||||
bazel_dep(name = "platforms", version = "1.0.0")
|
||||
@@ -238,10 +238,10 @@ diff --git a/orig/v8-14.6.202.11/MODULE.bazel b/mod/v8-14.6.202.11/MODULE.bazel
|
||||
-libcxx_repository(
|
||||
- name = "libcxx",
|
||||
-)
|
||||
diff --git a/orig/v8-14.6.202.11/bazel/highway.patch b/mod/v8-14.6.202.11/bazel/highway.patch
|
||||
diff --git a/orig/v8-14.8.178.14/bazel/highway.patch b/mod/v8-14.8.178.14/bazel/highway.patch
|
||||
new file mode 100644
|
||||
--- /dev/null
|
||||
+++ b/mod/v8-14.6.202.11/bazel/highway.patch
|
||||
+++ b/mod/v8-14.8.178.14/bazel/highway.patch
|
||||
@@ -0,0 +1,25 @@
|
||||
+diff --git a/BUILD b/BUILD
|
||||
+--- a/BUILD
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
# Scope: minimal source-level portability fixes only, such as libexecinfo guards,
|
||||
# weak glibc symbol handling, and warning annotations; no dependency
|
||||
# include-path rewrites or intentional V8 feature changes.
|
||||
diff --git a/orig/v8-14.6.202.11/src/base/bits.h b/mod/v8-14.6.202.11/src/base/bits.h
|
||||
diff --git a/orig/v8-14.8.178.14/src/base/bits.h b/mod/v8-14.8.178.14/src/base/bits.h
|
||||
index 179a10f..4791e96 100644
|
||||
--- a/orig/v8-14.6.202.11/src/base/bits.h
|
||||
+++ b/mod/v8-14.6.202.11/src/base/bits.h
|
||||
--- a/orig/v8-14.8.178.14/src/base/bits.h
|
||||
+++ b/mod/v8-14.8.178.14/src/base/bits.h
|
||||
@@ -270,11 +270,17 @@ inline constexpr uint32_t RoundDownToPowerOfTwo32(uint32_t value) {
|
||||
}
|
||||
|
||||
@@ -24,10 +24,10 @@ index 179a10f..4791e96 100644
|
||||
inline constexpr uint32_t RotateLeft32(uint32_t value, uint32_t shift) {
|
||||
return (value << shift) | (value >> ((32 - shift) & 31));
|
||||
}
|
||||
diff --git a/orig/v8-14.6.202.11/src/base/debug/stack_trace_posix.cc b/mod/v8-14.6.202.11/src/base/debug/stack_trace_posix.cc
|
||||
diff --git a/orig/v8-14.8.178.14/src/base/debug/stack_trace_posix.cc b/mod/v8-14.8.178.14/src/base/debug/stack_trace_posix.cc
|
||||
index 6176ed4..a02043d 100644
|
||||
--- a/orig/v8-14.6.202.11/src/base/debug/stack_trace_posix.cc
|
||||
+++ b/mod/v8-14.6.202.11/src/base/debug/stack_trace_posix.cc
|
||||
--- a/orig/v8-14.8.178.14/src/base/debug/stack_trace_posix.cc
|
||||
+++ b/mod/v8-14.8.178.14/src/base/debug/stack_trace_posix.cc
|
||||
@@ -64,6 +64,7 @@ namespace {
|
||||
volatile sig_atomic_t in_signal_handler = 0;
|
||||
bool dump_stack_in_signal_handler = true;
|
||||
@@ -44,10 +44,10 @@ index 6176ed4..a02043d 100644
|
||||
// Demangles C++ symbols in the given text. Example:
|
||||
//
|
||||
// "out/Debug/base_unittests(_ZN10StackTraceC1Ev+0x20) [0x817778c]"
|
||||
diff --git a/orig/v8-14.6.202.11/src/base/export-template.h b/mod/v8-14.6.202.11/src/base/export-template.h
|
||||
diff --git a/orig/v8-14.8.178.14/src/base/export-template.h b/mod/v8-14.8.178.14/src/base/export-template.h
|
||||
index 861cfe4..1e73954 100644
|
||||
--- a/orig/v8-14.6.202.11/src/base/export-template.h
|
||||
+++ b/mod/v8-14.6.202.11/src/base/export-template.h
|
||||
--- a/orig/v8-14.8.178.14/src/base/export-template.h
|
||||
+++ b/mod/v8-14.8.178.14/src/base/export-template.h
|
||||
@@ -153,8 +153,10 @@
|
||||
|
||||
EXPORT_TEMPLATE_TEST(DEFAULT, );
|
||||
@@ -59,10 +59,10 @@ index 861cfe4..1e73954 100644
|
||||
|
||||
#undef EXPORT_TEMPLATE_TEST
|
||||
#undef EXPORT_TEMPLATE_TEST_DEFAULT_DEFAULT
|
||||
diff --git a/orig/v8-14.6.202.11/src/base/platform/platform-posix.cc b/mod/v8-14.6.202.11/src/base/platform/platform-posix.cc
|
||||
diff --git a/orig/v8-14.8.178.14/src/base/platform/platform-posix.cc b/mod/v8-14.8.178.14/src/base/platform/platform-posix.cc
|
||||
index 420df0b..6f47969 100644
|
||||
--- a/orig/v8-14.6.202.11/src/base/platform/platform-posix.cc
|
||||
+++ b/mod/v8-14.6.202.11/src/base/platform/platform-posix.cc
|
||||
--- a/orig/v8-14.8.178.14/src/base/platform/platform-posix.cc
|
||||
+++ b/mod/v8-14.8.178.14/src/base/platform/platform-posix.cc
|
||||
@@ -95,7 +95,7 @@ extern int madvise(caddr_t, size_t, int);
|
||||
#endif
|
||||
|
||||
@@ -82,10 +82,10 @@ index 420df0b..6f47969 100644
|
||||
DCHECK(MainThreadIsCurrentThread());
|
||||
return __libc_stack_end;
|
||||
}
|
||||
diff --git a/orig/v8-14.6.202.11/src/base/platform/platform-win32.cc b/mod/v8-14.6.202.11/src/base/platform/platform-win32.cc
|
||||
diff --git a/orig/v8-14.8.178.14/src/base/platform/platform-win32.cc b/mod/v8-14.8.178.14/src/base/platform/platform-win32.cc
|
||||
index f5d9ddc..542ea1a 100644
|
||||
--- a/orig/v8-14.6.202.11/src/base/platform/platform-win32.cc
|
||||
+++ b/mod/v8-14.6.202.11/src/base/platform/platform-win32.cc
|
||||
--- a/orig/v8-14.8.178.14/src/base/platform/platform-win32.cc
|
||||
+++ b/mod/v8-14.8.178.14/src/base/platform/platform-win32.cc
|
||||
@@ -69,9 +69,7 @@ static_assert(offsetof(V8_CRITICAL_SECTION, SpinCount) ==
|
||||
// Extra functions for MinGW. Most of these are the _s functions which are in
|
||||
// the Microsoft Visual Studio C++ CRT.
|
||||
@@ -132,10 +132,10 @@ index f5d9ddc..542ea1a 100644
|
||||
} // namespace base
|
||||
} // namespace v8
|
||||
+
|
||||
diff --git a/orig/v8-14.6.202.11/src/base/platform/time.cc b/mod/v8-14.6.202.11/src/base/platform/time.cc
|
||||
diff --git a/orig/v8-14.8.178.14/src/base/platform/time.cc b/mod/v8-14.8.178.14/src/base/platform/time.cc
|
||||
index 8390288..cba6cd5 100644
|
||||
--- a/orig/v8-14.6.202.11/src/base/platform/time.cc
|
||||
+++ b/mod/v8-14.6.202.11/src/base/platform/time.cc
|
||||
--- a/orig/v8-14.8.178.14/src/base/platform/time.cc
|
||||
+++ b/mod/v8-14.8.178.14/src/base/platform/time.cc
|
||||
@@ -782,12 +782,12 @@ bool ThreadTicks::IsSupported() {
|
||||
#elif defined(__PASE__)
|
||||
// Thread CPU time accounting is unavailable in PASE
|
||||
@@ -167,10 +167,10 @@ index 8390288..cba6cd5 100644
|
||||
#else
|
||||
UNREACHABLE();
|
||||
#endif
|
||||
diff --git a/orig/v8-14.6.202.11/src/heap/base/asm/x64/push_registers_masm.asm b/mod/v8-14.6.202.11/src/heap/base/asm/x64/push_registers_masm.asm
|
||||
diff --git a/orig/v8-14.8.178.14/src/heap/base/asm/x64/push_registers_masm.asm b/mod/v8-14.8.178.14/src/heap/base/asm/x64/push_registers_masm.asm
|
||||
index d0d0563..72e230b 100644
|
||||
--- a/orig/v8-14.6.202.11/src/heap/base/asm/x64/push_registers_masm.asm
|
||||
+++ b/mod/v8-14.6.202.11/src/heap/base/asm/x64/push_registers_masm.asm
|
||||
--- a/orig/v8-14.8.178.14/src/heap/base/asm/x64/push_registers_masm.asm
|
||||
+++ b/mod/v8-14.8.178.14/src/heap/base/asm/x64/push_registers_masm.asm
|
||||
@@ -1,70 +1,30 @@
|
||||
-;; Copyright 2020 the V8 project authors. All rights reserved.
|
||||
-;; Use of this source code is governed by a BSD-style license that can be
|
||||
@@ -289,10 +289,10 @@ index d0d0563..72e230b 100644
|
||||
+ pop %rbp
|
||||
+ ret
|
||||
+.seh_endproc
|
||||
diff --git a/orig/v8-14.6.202.11/src/libplatform/default-thread-isolated-allocator.cc b/mod/v8-14.6.202.11/src/libplatform/default-thread-isolated-allocator.cc
|
||||
diff --git a/orig/v8-14.8.178.14/src/libplatform/default-thread-isolated-allocator.cc b/mod/v8-14.8.178.14/src/libplatform/default-thread-isolated-allocator.cc
|
||||
index bda0e43..b44f1d9 100644
|
||||
--- a/orig/v8-14.6.202.11/src/libplatform/default-thread-isolated-allocator.cc
|
||||
+++ b/mod/v8-14.6.202.11/src/libplatform/default-thread-isolated-allocator.cc
|
||||
--- a/orig/v8-14.8.178.14/src/libplatform/default-thread-isolated-allocator.cc
|
||||
+++ b/mod/v8-14.8.178.14/src/libplatform/default-thread-isolated-allocator.cc
|
||||
@@ -23,7 +23,7 @@ extern int pkey_free(int pkey) V8_WEAK;
|
||||
|
||||
namespace {
|
||||
@@ -302,10 +302,10 @@ index bda0e43..b44f1d9 100644
|
||||
// PKU was broken on Linux kernels before 5.13 (see
|
||||
// https://lore.kernel.org/all/20210623121456.399107624@linutronix.de/).
|
||||
// A fix is also included in the 5.4.182 and 5.10.103 versions ("x86/fpu:
|
||||
diff --git a/orig/v8-14.6.202.11/src/profiler/heap-snapshot-generator.cc b/mod/v8-14.6.202.11/src/profiler/heap-snapshot-generator.cc
|
||||
diff --git a/orig/v8-14.8.178.14/src/profiler/heap-snapshot-generator.cc b/mod/v8-14.8.178.14/src/profiler/heap-snapshot-generator.cc
|
||||
index 27e748f..cbf886c 100644
|
||||
--- a/orig/v8-14.6.202.11/src/profiler/heap-snapshot-generator.cc
|
||||
+++ b/mod/v8-14.6.202.11/src/profiler/heap-snapshot-generator.cc
|
||||
--- a/orig/v8-14.8.178.14/src/profiler/heap-snapshot-generator.cc
|
||||
+++ b/mod/v8-14.8.178.14/src/profiler/heap-snapshot-generator.cc
|
||||
@@ -429,11 +429,11 @@ HeapSnapshot::HeapSnapshot(HeapProfiler* profiler,
|
||||
static_assert(kSystemPointerSize != 4 || sizeof(HeapGraphEdge) == 12);
|
||||
static_assert(kSystemPointerSize != 8 || sizeof(HeapGraphEdge) == 24);
|
||||
|
||||
Vendored
+1
-1
@@ -14,7 +14,7 @@ select source-built local archives for its consumer builds.
|
||||
Current pinned versions:
|
||||
|
||||
- Rust crate: `v8 = =146.4.0`
|
||||
- Embedded upstream V8 source for musl release builds: `14.6.202.9`
|
||||
- Embedded upstream V8 source for musl release builds: `14.8.178.14`
|
||||
|
||||
When bumping the Rust crate version, keep the checked-in checksum manifest and
|
||||
`MODULE.bazel` in sync:
|
||||
|
||||
Reference in New Issue
Block a user