Hi there, 苏工 writes:
> Hi, > > I'm trying to compile the branch master under linux using gn. > centos7.6 > gcc 7.3 > The aarch64-related toolchain is available. > > The gn build command is as follows: > gn gen out/arm64 --args='is_debug=true current_os="linux" target_os="linux" > current_cpu="arm64" v8_current_cpu="arm64" v8_target_cpu="arm64" > is_clang=false use_custom_libcxx=false icu_use_data_file=false > use_sysroot=false treat_warnings_as_errors=false v8_static_library = true > symbol_level=2 ' > > The following problems occur when the Ninja is used for compilation, > # Fatal error in ../../src/heap/memory-chunk-layout.cc, line 40 > # Debug check failed: kMaxRegularHeapObjectSize <= memory (131072 vs. 65536). Ouch, that looks like a bug to me :-/. As you've already worked it out this is related to 64k pages indeed, and the fixes you've done should work as far as I know. But, as opposed to PPC64, on arm64 linux we cannot rely on the page size being fixed at compile-time. For example, I believe it's possible to have distros building nodejs or chromium packages on machines configured with 4k pages, for those to be ran on machines that the user configured with 64k pages. I'm worried that in this case we're likely to miss this assertion and cause issues later on. I've opened an issue about this with more info so we can discuss solutions, see https://bugs.chromium.org/p/v8/issues/detail?id=10808 . Thank you for bringing this up! Pierre IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. -- -- 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/878seh3zqx.fsf%40arm.com.