Oh, I forgot to mention the version. I am trying to compile V8 v9.4.113. On Thursday, August 5, 2021 at 11:10:14 PM UTC+8 chao...@gmail.com wrote:
> 1. > ************************************************* > 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 = 0 > > target_cpu = "arm64" # "x64" for a simulator build. > target_os = "ios" > > treat_warnings_as_errors = false > > use_custom_libcxx = true # Use Xcode's libcxx. > use_xcode_clang = false > > v8_target_cpu = "arm64" > v8_enable_debugging_features = false > v8_enable_i18n_support = false # Produces a smaller binary. > v8_enable_pointer_compression = false > v8_enable_v8_checks = false > v8_monolithic = true # Enable the v8_monolith target. > v8_use_external_startup_data = false # The snaphot is included in the > binary. > > > 2. > ************************************************* > error msg as following: > ************************************************* > > ../../src/wasm/code-space-access.cc:40:3: error: > 'pthread_jit_write_protect_np' is unavailable: not available on iOS > pthread_jit_write_protect_np(0); > ^ > /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.5.sdk/usr/include/pthread.h:561:6: > > note: 'pthread_jit_write_protect_np' has been explicitly marked unavailable > here > void pthread_jit_write_protect_np(int enabled); > ^ > ../../src/wasm/code-space-access.cc:44:3: error: > 'pthread_jit_write_protect_np' is unavailable: not available on iOS > pthread_jit_write_protect_np(1); > -- -- 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/b98451c9-d0ff-4755-a8e5-218b0789e6d1n%40googlegroups.com.