Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
aam opened this issue Nov 27, 2024 · 0 comments
Open

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

aam opened this issue Nov 27, 2024 · 0 comments
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. gardening

Comments

@aam
Copy link
Contributor

aam commented Nov 27, 2024

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

@aam aam added area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. gardening labels Nov 27, 2024
copybara-service bot pushed a commit that referenced this issue Nov 27, 2024
BUG=#59624
TEST=ci, manually on flutter

Change-Id: I40c2c2cc477f44ea508bf486a3fa23768b4caeef
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/397940
Commit-Queue: Alexander Aprelev <[email protected]>
Reviewed-by: Ryan Macnak <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. gardening
Projects
None yet
Development

No branches or pull requests

1 participant