It shows another error when I Use Xcode's libcxx and Use Xcode's clang... 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 = false # Use Xcode's libcxx. use_xcode_clang = true 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: ************************************************* ../../include/cppgc/allocation.h:168:39: error: no member named 'forward' in namespace 'std' T* object = ::new (memory) T(std::forward<Args>(args)...); ~~~~~^ ../../include/cppgc/allocation.h:168:47: error: 'Args' does not refer to a value T* object = ::new (memory) T(std::forward<Args>(args)...); ^ ../../include/cppgc/allocation.h:164:25: note: declared here template <typename... Args> 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/60e319f3-cb3e-4b92-a78c-190527cd820fn%40googlegroups.com.