Try turning off pointer compression:
https://source.chromium.org/chromium/chromium/src/+/main:v8/BUILD.gn;l=121;drc=f98f496f9e5e9faea58e1de737d9d46e2248b337

Let us know if it works, we should update the iOS instructions page if so.

On Mon, May 3, 2021 at 2:20 PM Richard <richard.j.d.hug...@gmail.com> wrote:

> I'm getting this error when building for iOS:
>
> In file included from
> ../../v8/v8/src/builtins/builtins-async-iterator-gen.cc:11:
> In file included from ../../v8/v8/src/execution/frames-inl.h:13:
> In file included from ../../v8/v8/src/objects/objects-inl.h:21:
> In file included from ../../v8/v8/src/heap/heap-write-barrier-inl.h:15:
> In file included from ../../v8/v8/src/objects/compressed-slots-inl.h:10:
> ../../v8/v8/src/common/ptr-compr-inl.h:25:35: error: requested alignment
> must be 536870912 bytes or smaller; maximum alignment assumed
> [-Werror,-Wbuiltin-assume-aligned-alignment]
>   ret = reinterpret_cast<Address>(V8_ASSUME_ALIGNED(
>                                   ^~~~~~~~~~~~~~~~~~
> ../../v8/v8/include/v8config.h:388:3: note: expanded from macro
> 'V8_ASSUME_ALIGNED'
>   __builtin_assume_aligned((ptr), (alignment))
>   ^                               ~~~~~~~~~~~
> 1 error generated.
>
> My build settings are:
>
> enable_ios_bitcode = true
> ios_deployment_target = 10
> is_component_build = false
> is_debug = false
> target_cpu = "arm64"
> target_os = "ios"
> use_custom_libcxx = false
> use_xcode_clang = true
> v8_enable_i18n_support = false
> v8_monolithic = true
> v8_use_external_startup_data = false
>
> Any ideas how to fix this?
>
> --
> --
> 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/07a36602-b2f1-4771-a061-5ef359d3a16dn%40googlegroups.com
> <https://groups.google.com/d/msgid/v8-users/07a36602-b2f1-4771-a061-5ef359d3a16dn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
-- 
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/CAH3p7oPOEE_whBAnriaf_eXi5JnjkR%3DYZ1AxWSFPn9wd5QJpiQ%40mail.gmail.com.

Reply via email to