-
Notifications
You must be signed in to change notification settings - Fork 29k
Closed
Labels
r: timeoutIssue is closed due to author not providing the requested details in timeIssue is closed due to author not providing the requested details in time
Description
Steps to reproduce
Three "new" x64 build failure cases present in 3.32.2. See Log section for build failures.
Expected results
no failures
Actual results
Various Build errors compiling x64 Release. Not consistent repro across multiple machines that have built many many flutter engines over the years.
All failure cases use the included Fuchsia tool chain.
Code sample
Code sample
[Paste your code here]
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Example build failures
| [7969/9648] CXX clang_x64/obj/flutter/third_party/dart/runtime/vm/compiler/frontend/libdart_compiler_precompiler.kernel_binary_flowgraph.o
| FAILED: clang_x64/obj/flutter/third_party/dart/runtime/vm/compiler/frontend/libdart_compiler_precompiler.kernel_binary_flowgraph.o
| ../../flutter/buildtools/linux-x64/clang/bin/clang++ -MMD -MFclang_x64/obj/flutter/third_party/dart/runtime/vm/compiler/frontend/libdart_compiler_precompiler.kernel_binary_flowgraph.o.d -DUSE_OPENSSL=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_LIBCPP_DISABLE_AVAILABILITY=1 -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DTARGET_ARCH_X64 -DSUPPORT_PERFETTO -DDART_TARGET_OS_LINUX -DDART_PRECOMPILER -DPRODUCT -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/perfetto/include -Iclang_x64/gen/flutter/third_party/perfetto/build_config -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=8 -m64 -march=x86-64 -fPIC -pipe -pthread -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 -fdebug-prefix-map=/__w/meta-flutter/scarthgap-linux-dummy/build/tmp/work/core2-64-poky-linux/flutter-engine/3.32.2/gn/engine/src/= -no-canonical-prefixes -fvisibility=hidden -Wstring-conversion -Wnewline-eof -O2 -fno-ident -fdata-sections -ffunction-sections -g0 -Wno-unused-parameter -Wno-unused-private-field -Wnon-virtual-dtor -Wvla -Woverloaded-virtual -Wno-comments -g3 -ggdb3 -fno-rtti -fno-exceptions -Wnewline-eof -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 -c ../../flutter/third_party/dart/runtime/vm/compiler/frontend/kernel_binary_flowgraph.cc -o clang_x64/obj/flutter/third_party/dart/runtime/vm/compiler/frontend/libdart_compiler_precompiler.kernel_binary_flowgraph.o
| clang++: error: clang frontend command failed with exit code 139 (use -v to see invocation)
| Fuchsia clang version 18.0.0 (https://llvm.googlesource.com/llvm-project 725656bdd885483c39f482a01ea25d67acf39c46)
| Target: x86_64-unknown-linux-gnu
| Thread model: posix
| InstalledDir: ../../flutter/buildtools/linux-x64/clang/bin
| clang++: note: diagnostic msg:
| ********************
|
| PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
| Preprocessed source(s) and associated run script(s) are located at:
| clang++: note: diagnostic msg: /tmp/kernel_binary_flowgraph-82c5a8.cpp
| clang++: note: diagnostic msg: /tmp/kernel_binary_flowgraph-82c5a8.sh
| clang++: note: diagnostic msg:
|
| ********************
/mnt/raid10/github-ci/_work/flutter-engine/flutter-engine/flutter/engine/src/./flutter/buildtools/linux-x64/clang/bin/clang++ -MD -MF obj/flutter/third_party/vulkan-deps/spirv-tools/src/source/val/libspvtools_val.validate_ray_tracing_reorder.o.d --target=aarch64-unknown-linux-gnu --sysroot /mnt/raid10/github-ci/_work/flutter-engine/flutter-engine/flutter/engine/src/build/linux/debian_sid_arm64-sysroot -DUSE_OPENSSL=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_LIBCPP_DISABLE_AVAILABILITY=1 -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -I../.. -Igen -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/vulkan-deps/spirv-tools/src -I../../flutter/third_party/vulkan-deps/spirv-headers/src/include -I../../flutter/third_party/vulkan-deps/spirv-tools/src/include -Igen/flutter/third_party/vulkan-deps/spirv-tools/src -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=8 -fPIC -pipe -pthread --target=aarch64-linux-gnu -DBORINGSSL_CLANG_SUPPORTS_DOT_ARCH -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 -fdebug-prefix-map=/mnt/raid10/github-ci/_work/flutter-engine/flutter-engine/flutter/engine/src/= -no-canonical-prefixes -fvisibility=hidden --sysroot=/mnt/raid10/github-ci/_work/flutter-engine/flutter-engine/flutter/engine/src/build/linux/debian_sid_arm64-sysroot -Wstring-conversion -Wnewline-eof -O2 -fno-ident -fdata-sections -ffunction-sections -g0 -Wno-implicit-fallthrough -Wno-newline-eof -Wno-unreachable-code-break -Wno-unreachable-code-return -std=c++17 -fvisibility-inlines-hidden -std=c++17 -fno-rtti -nostdinc++ -nostdinc++ -fvisibility=hidden -fno-exceptions -c ../../flutter/third_party/vulkan-deps/spirv-tools/src/source/val/validate_ray_tracing_reorder.cpp -o obj/flutter/third_party/vulkan-deps/spirv-tools/src/source/val/libspvtools_val.validate_ray_tracing_reorder.o
clang++: error: clang frontend command failed with exit code 139 (use -v to see invocation)
Fuchsia clang version 18.0.0 (https://llvm.googlesource.com/llvm-project 725656bdd885483c39f482a01ea25d67acf39c46)
Target: aarch64-unknown-linux-gnu
Thread model: posix
InstalledDir: /mnt/raid10/github-ci/_work/flutter-engine/flutter-engine/flutter/engine/src/./flutter/buildtools/linux-x64/clang/bin
clang++: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang++: note: diagnostic msg: /tmp/validate_ray_tracing_reorder-cb40bd.cpp
clang++: note: diagnostic msg: /tmp/validate_ray_tracing_reorder-cb40bd.sh
clang++: note: diagnostic msg:
********************
| FAILED: clang_x64/obj/flutter/third_party/dart/runtime/vm/libdart_vm_precompiler_product.kernel_loader.o
| ../../flutter/buildtools/linux-x64/clang/bin/clang++ -MMD -MFclang_x64/obj/flutter/third_party/dart/runtime/vm/libdart_vm_precompiler_product.kernel_loader.o.d -DUSE_OPENSSL=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_LIBCPP_DISABLE_AVAILABILITY=1 -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DTARGET_ARCH_X64 -DSUPPORT_PERFETTO -DDART_TARGET_OS_LINUX -DDART_PRECOMPILER -DPRODUCT -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 -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=8 -m64 -march=x86-64 -fPIC -pipe -pthread -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 -fdebug-prefix-map=/__w/meta-flutter/kirkstone-linux-dummy/build/tmp/work/core2-64-poky-linux/flutter-engine/3.32.2-r0/gn/engine/src/= -no-canonical-prefixes -fvisibility=hidden -Wstring-conversion -Wnewline-eof -O2 -fno-ident -fdata-sections -ffunction-sections -g0 -Wno-unused-parameter -Wno-unused-private-field -Wnon-virtual-dtor -Wvla -Woverloaded-virtual -Wno-comments -g3 -ggdb3 -fno-rtti -fno-exceptions -Wnewline-eof -Wimplicit-fallthrough -fno-strict-vtable-pointers -O2 -fno-omit-frame-pointer -fvisibility=hidden -fvisibility-inlines-hidden -std=c++17 -fno-rtti -nostdinc++ -nostdinc++ -fvisibility=hidden -fno-exceptions -c ../../flutter/third_party/dart/runtime/vm/kernel_loader.cc -o clang_x64/obj/flutter/third_party/dart/runtime/vm/libdart_vm_precompiler_product.kernel_loader.o
| clang++: error: clang frontend command failed with exit code 139 (use -v to see invocation)
| Fuchsia clang version 18.0.0 (https://llvm.googlesource.com/llvm-project 725656bdd885483c39f482a01ea25d67acf39c46)
| Target: x86_64-unknown-linux-gnu
| Thread model: posix
| InstalledDir: ../../flutter/buildtools/linux-x64/clang/bin
| clang++: note: diagnostic msg:
| ********************
|
| PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
| Preprocessed source(s) and associated run script(s) are located at:
| clang++: note: diagnostic msg: /tmp/kernel_loader-27ec02.cpp
| clang++: note: diagnostic msg: /tmp/kernel_loader-27ec02.sh
| clang++: note: diagnostic msg:
|
| ********************
Flutter Doctor output
Doctor output Machine 1
$ flutter doctor -v
[!] Flutter (Channel [user-branch], 3.32.2, on Red Hat Enterprise Linux 9.5 (Plow) 5.14.0-503.34.1.el9_5.x86_64, locale en_US.UTF-8) [36ms]
! Flutter version 3.32.2 on channel [user-branch] at /mnt/raid10/workspace-automation/flutter
Currently on an unknown channel. Run `flutter channel` to switch to an official channel.
If that doesn't fix the issue, reinstall Flutter by following instructions at https://flutter.dev/setup.
! Upstream repository unknown source is not a standard remote.
Set environment variable "FLUTTER_GIT_URL" to unknown source to dismiss this error.
• Framework revision 8defaa71a7 (6 days ago), 2025-06-04 11:02:51 -0700
• Engine revision 1091508939
• Dart version 3.8.1
• DevTools version 2.45.1
• If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.
[✓] Linux toolchain - develop for Linux desktop [157ms]
• clang version 18.1.8 (Red Hat, Inc. 18.1.8-3.el9)
• cmake version 3.26.5
• ninja version 1.10.2
• pkg-config version 1.7.3
! Unable to access driver information using 'eglinfo'.
It is likely available from your distribution (e.g.: apt install mesa-utils)
[✓] VS Code (version unknown) [16ms]
• VS Code at /usr/share/code
• Flutter extension can be installed from:
🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
✗ Unable to determine VS Code version.
[✓] Connected device (1 available) [40ms]
• Linux (desktop) • linux • linux-x64 • Red Hat Enterprise Linux 9.5 (Plow) 5.14.0-503.34.1.el9_5.x86_64
[✓] Network resources [211ms]
• All expected network resources are available.
! Doctor found issues in 1 category.
Doctor output Machine 2
$ flutter doctor -v
[!] Flutter (Channel [user-branch], 3.32.2, on Fedora Linux 42 (Workstation Edition) 6.14.9-300.fc42.x86_64, locale en_US.UTF-8) [20ms]
! Flutter version 3.32.2 on channel [user-branch] at /mnt/raid10/workspace-automation/flutter
Currently on an unknown channel. Run `flutter channel` to switch to an official channel.
If that doesn't fix the issue, reinstall Flutter by following instructions at https://flutter.dev/setup.
! Upstream repository unknown source is not a standard remote.
Set environment variable "FLUTTER_GIT_URL" to unknown source to dismiss this error.
• Framework revision 8defaa71a7 (6 days ago), 2025-06-04 11:02:51 -0700
• Engine revision 1091508939
• Dart version 3.8.1
• DevTools version 2.45.1
• If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.
[✓] Linux toolchain - develop for Linux desktop [253ms]
• clang version 20.1.6 (Fedora 20.1.6-1.fc42)
• cmake version 3.31.6
• ninja version 1.12.1
• pkg-config version 2.3.0
• OpenGL core renderer: AMD Radeon Graphics (radeonsi, raphael_mendocino, LLVM 20.1.6, DRM 3.61, 6.14.9-300.fc42.x86_64)
• OpenGL core version: 4.6 (Core Profile) Mesa 25.0.7
• OpenGL core shading language version: 4.60
• OpenGL ES renderer: AMD Radeon Graphics (radeonsi, raphael_mendocino, LLVM 20.1.6, DRM 3.61, 6.14.9-300.fc42.x86_64)
• OpenGL ES version: OpenGL ES 3.2 Mesa 25.0.7
• OpenGL ES shading language version: OpenGL ES GLSL ES 3.20
• GL_EXT_framebuffer_blit: yes
• GL_EXT_texture_format_BGRA8888: yes
[✓] VS Code (version unknown) [10ms]
• VS Code at /usr/share/code
• Flutter extension version 3.113.20250603
✗ Unable to determine VS Code version.
[✓] Connected device (2 available) [37ms]
• Linux (desktop) • linux • linux-x64 • Fedora Linux 42 (Workstation Edition) 6.14.9-300.fc42.x86_64
• Toyota homescreen (mobile) • desktop-homescreen • linux-x64 • homescreen x86_64
[✓] Network resources [169ms]
• All expected network resources are available.
! Doctor found issues in 1 category.
Metadata
Metadata
Assignees
Labels
r: timeoutIssue is closed due to author not providing the requested details in timeIssue is closed due to author not providing the requested details in time