Thanks for letting us know, we indeed did not differentiate between MacOS
and iOS. I just landed a fix for this: https://crrev.com/c/3077154

The error about std::forward should be fixable by adding an
#include <utility> in include/cppgc/allocation.h. Can you try that?

On Fri, Aug 6, 2021 at 3:50 AM chao...@gmail.com <chaora...@gmail.com>
wrote:

> My OS version is macOS Big Sur 11.5.
> On Friday, August 6, 2021 at 8:06:29 AM UTC+8 chao...@gmail.com wrote:
>
>>
>> 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/b5cf66f9-95d7-4f2c-99f5-0fa655e11a56n%40googlegroups.com
> <https://groups.google.com/d/msgid/v8-users/b5cf66f9-95d7-4f2c-99f5-0fa655e11a56n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 

Clemens Backes

Software Engineer

cleme...@google.com

Google Germany GmbH

Erika-Mann-Straße 33

80636 München

Geschäftsführer: Paul Manicle, Halimah DeLaine Prado

Registergericht und -nummer: Hamburg, HRB 86891

Sitz der Gesellschaft: Hamburg

Diese E-Mail ist vertraulich. Falls sie diese fälschlicherweise erhalten
haben sollten, leiten Sie diese bitte nicht an jemand anderes weiter,
löschen Sie alle Kopien und Anhänge davon und lassen Sie mich bitte wissen,
dass die E-Mail an die falsche Person gesendet wurde.


This e-mail is confidential. If you received this communication by mistake,
please don't forward it to anyone else, please erase all copies and
attachments, and please let me know that it has gone to the wrong person.

-- 
-- 
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/CAGO%3DqhCMKwWvEQXWnQeW%3D8BDaBWzsidDGWC300972FzPAD1KPg%40mail.gmail.com.

Reply via email to