Skip to content

dart->engine roll failed on arm64 compilation error #59624

@aam

Description

@aam

from log

[6451/6632] CXX clang_x64/obj/flutter/third_party/dart/runtime/vm/libdart_vm_precompiler.simulator_arm64.o
FAILED: clang_x64/obj/flutter/third_party/dart/runtime/vm/libdart_vm_precompiler.simulator_arm64.o 
/Volumes/Work/s/w/ir/cache/builder/src/flutter/buildtools/mac-arm64/reclient/rewrapper --cfg=/Volumes/Work/s/w/ir/cache/builder/src/flutter/build/rbe/rewrapper-mac-arm64.cfg --exec_root=/Volumes/Work/s/w/ir/cache/builder/src/ --server_address=unix:///Volumes/Work/s/w/ir/x/w/rc/rbeckzly_i9/reproxy.sock --exec_strategy=remote_local_fallback --remote_wrapper=../../flutter/build/rbe/remote_wrapper.sh --local_wrapper=../../flutter/build/rbe/local_wrapper.sh --labels=type=compile,compiler=clang,lang=cpp ../../flutter/buildtools/mac-arm64/clang/bin/clang++ -MMD -MF clang_x64/obj/flutter/third_party/dart/runtime/vm/libdart_vm_precompiler.simulator_arm64.o.d -DUSE_OPENSSL=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -D_LIBCPP_DISABLE_AVAILABILITY=1 -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DTARGET_ARCH_ARM64 -DSUPPORT_PERFETTO -DDART_TARGET_OS_MACOS -DDART_TARGET_OS_MACOS_IOS -DDART_PRECOMPILER -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DUSE_CHROMIUM_ICU=1 -DU_ENABLE_TRACING=1 -DU_ENABLE_RESOURCE_TRACING=0 -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -I../../flutter/third_party/dart/runtime -I../.. -Iclang_x64/gen -I../../flutter/third_party/libcxx/include -I../../flutter/third_party/libcxxabi/include -I../../flutter/build/secondary/flutter/third_party/libcxx/config -I../../flutter/third_party/dart/runtime/include -I../../flutter/third_party/icu/source/common -I../../flutter/third_party/icu/source/i18n -I../../flutter/third_party/perfetto/include -Iclang_x64/gen/flutter/third_party/perfetto/build_config -fno-strict-aliasing -fstack-protector-all --target=x86_64-apple-macos -arch x86_64 -fcolor-diagnostics -Wall -Wextra -Wendif-labels -Werror -Wno-missing-field-initializers -Wno-unused-parameter -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -Wno-implicit-int-float-conversion -Wno-deprecated-copy -Wno-psabi -Wno-deprecated-literal-operator -Wno-unqualified-std-cast-call -Wno-non-c-typedef-for-linkage -Wno-range-loop-construct -Wunguarded-availability -Wno-deprecated-declarations -no-canonical-prefixes -fvisibility=hidden -Wstring-conversion -Wnewline-eof -O2 -fno-ident -fdata-sections -ffunction-sections -g2 -Wno-unused-parameter -Wno-unused-private-field -Wnon-virtual-dtor -Wvla -Woverloaded-virtual -Wno-comments -g3 -ggdb3 -fno-rtti -fno-exceptions -Wimplicit-fallthrough -fno-strict-vtable-pointers -O2 -fno-omit-frame-pointer -fvisibility-inlines-hidden -std=c++17 -fno-rtti -nostdinc++ -nostdinc++ -fvisibility=hidden -fno-exceptions -stdlib=libc++ -isysroot ../../flutter/prebuilts/SDKs/MacOSX14.0.sdk -mmacosx-version-min=10.14.0  -c ../../flutter/third_party/dart/runtime/vm/simulator_arm64.cc -o clang_x64/obj/flutter/third_party/dart/runtime/vm/libdart_vm_precompiler.simulator_arm64.o
../../flutter/third_party/dart/runtime/vm/simulator_arm64.cc:1224:15: error: no matching member function for call to 'CompareExchange'
 1224 |   if (memory_.CompareExchange(addr, old_value, value,
      |       ~~~~~~~~^~~~~~~~~~~~~~~
../../flutter/third_party/dart/runtime/vm/simulator_memory.h:226:8: note: candidate template ignored: deduced conflicting types for parameter 'T' ('int64_t' (aka 'long long') vs. 'intptr_t' (aka 'long'))
  226 |   bool CompareExchange(uword addr,
      |        ^
1 error generated.

due to e2b7ec2

cc @rmacnak-google

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.gardening

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions