Re: [v8-users] Re: Failed to compile on macOS for iOS: 'pthread_jit_write_protect_np' is unavailable: not available on iOS

2021-08-07 Thread chao...@gmail.com
If I switch to tag 8.5.188, everything works fine. On Sunday, August 8, 2021 at 12:51:05 PM UTC+8 chao...@gmail.com wrote: > > * > gn args as following: > * > > enable_ios_bitcode = true > > ios_deploy

Re: [v8-users] Re: Failed to compile on macOS for iOS: 'pthread_jit_write_protect_np' is unavailable: not available on iOS

2021-08-07 Thread chao...@gmail.com
* gn args as following: * enable_ios_bitcode = true ios_deployment_target = 10 is_component_build = false is_debug = false is_official_build = true symbol_level = 1 target_cpu = "arm64" target_os =

Re: [v8-users] Re: Failed to compile on macOS for iOS: 'pthread_jit_write_protect_np' is unavailable: not available on iOS

2021-08-07 Thread chao...@gmail.com
Thanks for your quick response! Compiled successfully when I switched to tag 9.4.116 and added an #include in include/cppgc/allocation.h. But it shows error during the link stage: Undefined symbols for architecture arm64: "v8::internal::trap_handler::RegisterD

Re: [v8-users] Re: Failed to compile on macOS for iOS: 'pthread_jit_write_protect_np' is unavailable: not available on iOS

2021-08-07 Thread 许超前
Thanks for your quick response! Compiled successfully when I switched to tag 9.4.116 and added an #include in include/cppgc/allocation.h. But it shows error during the link stage: Undefined symbols for architecture arm64: "v8::internal::trap_handler::RegisterDefaultTrapHandler

Re: [v8-users] Re: Failed to compile on macOS for iOS: 'pthread_jit_write_protect_np' is unavailable: not available on iOS

2021-08-07 Thread 许超前
Thanks for your quick response! Compiled successfully when I switched to tag 9.4.116 and added an #include in include/cppgc/allocation.h. But it shows error during the link stage: Undefined symbols for architecture arm64: "v8::internal::trap_handler::RegisterDefaultTrapHandle

Re: [v8-users] How can I delete an old v8::Context?

2021-08-07 Thread Ben Noordhuis
On Fri, Aug 6, 2021 at 2:41 PM J wrote: > > Using embedded v8, I'm trying to clear the current variables and functions. > > I've found that in order to save having to recreate the isolate, which can be > quite slow, I can just create a new context from the isolate. However, the > old context sti