There are some warnings when enable_ios_bitcode = true

31 views
Skip to first unread message

许超前

unread,
Jun 7, 2020, 11:25:05 PM6/7/20
to v8-users
I got some warnings, report them here:

  ../../../third_party/inspector_protocol/crdtp/json.cc:290:18: warning: implicit conversion from 'std::__1::numeric_limits<long long>::type' (aka 'long long') to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
      if (value <= std::numeric_limits<int64_t>::max() &&
  
  
  ../../../src/common/ptr-compr-inl.h:43:44: warning: requested alignment must be 536870912 bytes or smaller; maximum alignment assumed [-Wbuiltin-assume-aligned-alignment]
    isolate_root = reinterpret_cast<Address>(V8_ASSUME_ALIGNED(
../../../src/codegen/tnode.h:352:9: warning: definition of implicit copy constructor for 'TNode<v8::internal::Name>' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy]
  


I compiled v8(branch 8.5.131) using clang(version 11.0.3) on macOS catalina(version 10.15.5), with the following gn args: 

  enable_ios_bitcode = true

  ios_deployment_target = 12
  ios_app_bundle_id_prefix = "..."  // replace to your own prefix
  ios_code_signing_identity = "..." // replace to your own identity

  is_component_build = false
  is_debug = false

  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_i18n_support = false        # Produces a smaller binary.
  v8_monolithic = true                  # Enable the v8_monolith target.
  v8_use_external_startup_data = false  # The snaphot is included in the binary.


Reply all
Reply to author
Forward
0 new messages