[v8-users] Heads-up: Upcoming removal of non-shared pointer compression cage mode

2023-03-02 Thread 'Igor Sheludko' via v8-users
Hello V8 Users, TL;DR;: in order to reduce the number of supported modes and code complexity we are planning to remove support for per-Isolate pointer compression cages in the near future. Shared pointer compression cage mode has been shipping on x64 and arm64 since May 2021 and it's a strong req

Re: [v8-users] how do i get depot_tools on Windows?

2023-03-20 Thread 'Igor Sheludko' via v8-users
Hello, If you are talking about this section https://chromium.googlesource.com/chromium/src/+/master/docs/windows_build_instructions.md#visual-studio then PATH_TO_INSTALLER.EXE is the path to the Visual Studio installer. The link to the depot_tools binaries can be found here: https://chromium.goo

Re: [v8-users] Linker errors with newly created v8_libplatform.lib file

2024-04-30 Thread 'Igor Sheludko' via v8-users
Hello Ramesh, There might be a bit of confusion going on here. You are building V8 using `is_component_build = true` but would like to use `v8_libplatform.lib` as a static library. Note that V8 can be built either in component or in non-component mode but not in both modes. IIUC the error comes f

Re: [v8-users] Re: check failed on EscapableHandleScope::Escape on v8 12.3.219

2024-05-03 Thread 'Igor Sheludko' via v8-users
Hello, I tried to build both the original HelloWorld and the one with your modifications on Linux and on MacOS. No crashes. Something must be wrong with your build environment. Maybe try to clean the build dir and start from scratch using a more standard set of gn args: `tools/dev/gm.py x64.optdeb

Re: [v8-users] Re: check failed on EscapableHandleScope::Escape on v8 12.3.219

2024-05-03 Thread 'Igor Sheludko' via v8-users
I tried exactly the V8 version you mentioned (12.3.219) and I tried it with your GN args too. All good. On Fri, May 3, 2024 at 5:34 PM dong tommy wrote: > Hi ish..., may I know which version of v8 you are using? > > 在2024年5月3日星期五 UTC+8 23:14:05 写道: > >> Hello, >> >> I tried to build both the ori

Re: [v8-users] Re: check failed on EscapableHandleScope::Escape on v8 12.3.219

2024-05-08 Thread 'Igor Sheludko' via v8-users
Hello, Compilation errors are totally not expected and `treat_warnings_as_errors=false` shouldn't be necessary. Did you run `gclient sync`? > I also noticed that the v8_monolithic is only in the release configuration. Does that mean the debug build of v8_monolithic is not supported well? The file

Re: [v8-users] V8 on linux, v8::FunctionCallbackInfo const& info GetReturnValue().SetNull() does not work

2025-02-03 Thread 'Igor Sheludko' via v8-users
Hello! Such a difference between Linux and Windows is totally unexpected. Could you please file a bug at http://crbug.com/new?component=1456124&template=1943595 and provide instructions for reproducing the issue on our side? Regards, Igor On Sat, Feb 1, 2025 at 6:13 PM Pradish wrote: > V8 Vers

Re: [v8-users] Statically Linking V8 libraray causes relocation R_X86_64_TPOFF32 against symbol g_current_local_heap

2025-03-22 Thread 'Igor Sheludko' via v8-users
Hello! Could you please try to apply this patch https://crrev.com/c/6375266 and add v8_monolithic_for_shared_library=true to your GN args? On Thu, Mar 20, 2025 at 7:06 AM Pradish wrote: > I am able to build V8 as a static library using the following args.gn > > *V8 Version: 13.4.114.19, *but wh

Re: [v8-users] Problem with ScopeInfo when used codeCache

2025-04-09 Thread 'Igor Sheludko' via v8-users
Hello! Could you please file a bug report about this issue: https://issues.chromium.org/issues/new Thank you! On Wed, Apr 9, 2025 at 6:15 AM alex...@gmail.com wrote: > Hey folks, > > I have a class with many private functions/properties (77 in the most > recent incarnation). When I get a stack