Closed alexmarkov closed 4 months ago
Likely caused by this commit in zlib: https://chromium-review.googlesource.com/c/chromium/src/+/3917532.
It looks like the GCC bot hasn't triggered yet since the GCC bot update, so we have to wait a bit more and see if that fixes it.
From a try job after the switch to focal:
FAILED: obj/third_party/zlib/zlib_arm_crc32.crc32_simd.o
arm-linux-gnueabihf-gcc -MMD -MF obj/third_party/zlib/zlib_arm_crc32.crc32_simd.o.d -D_FORTIFY_SOURCE=2 -DDEBUG -DZLIB_IMPLEMENTATION -DZLIB_DEBUG -DCRC32_ARMV8_CRC32 -DARMV8_OS_LINUX -I../../third_party/zlib -I../.. -Igen -march=armv7-a -mfloat-abi=hard -mtune=generic-armv7-a -fno-tree-sra -fno-caller-saves -fPIE -mfpu=neon -mthumb -Wall -Wextra -Werror -Wendif-labels -Wno-missing-field-initializers -Wno-unused-parameter -Wno-ignored-qualifiers -Wno-psabi -fdebug-prefix-map=/b/s/w/ir/cache/builder/sdk=../.. -no-canonical-prefixes -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -O2 -fdata-sections -ffunction-sections -g3 -ggdb3 -march=armv8-a+aes+crc -c ../../third_party/zlib/crc32_simd.c -o obj/third_party/zlib/zlib_arm_crc32.crc32_simd.o
arm-linux-gnueabihf-gcc: error: ‘armv8-a’ does not support feature ‘aes’
arm-linux-gnueabihf-gcc: note: valid feature names are: crc simd crypto nocrypto nofp sb predres
Now gcc bot fails with the following compile-time errors:
FAILED: obj/runtime/bin/gen_snapshot_dart_io.eventhandler.o
g++ -MMD -MF obj/runtime/bin/gen_snapshot_dart_io.eventhandler.o.d -DDART_IO_SECURE_SOCKET_DISABLED -D_FORTIFY_SOURCE=2 -DDEBUG -DSUPPORT_PERFETTO -DDART_PRECOMPILER -DTARGET_ARCH_IA32 -DDART_TARGET_OS_LINUX -I../../runtime -I../../third_party -I../.. -Igen -I../../runtime/include -I../../third_party/zlib -m32 -msse2 -mfpmath=sse -fPIE -Wall -Wextra -Werror -Wendif-labels -Wno-missing-field-initializers -Wno-unused-parameter -Wno-ignored-qualifiers -fdebug-prefix-map=/b/s/w/ir/cache/builder/sdk=../.. -no-canonical-prefixes -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -O2 -fdata-sections -ffunction-sections -g3 -ggdb3 -Wno-unused-parameter -Wno-unused-private-field -Wnon-virtual-dtor -Wvla -Woverloaded-virtual -Wno-comments -g3 -ggdb3 -fno-rtti -fno-exceptions -Wno-cast-function-type -O2 -fvisibility-inlines-hidden -fno-omit-frame-pointer -std=c++17 -fno-rtti -c ../../runtime/bin/eventhandler.cc -o obj/runtime/bin/gen_snapshot_dart_io.eventhandler.o
In file included from /usr/include/c++/9/stdlib.h:36,
from ../../runtime/bin/builtin.h:9,
from ../../runtime/bin/eventhandler.h:8,
from ../../runtime/bin/eventhandler.cc:5:
/usr/include/c++/9/cstdlib:41:10: fatal error: bits/c++config.h: No such file or directory
41 | #include <bits/c++config.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
vm-gcc-linux
bot fails when building Dart forarm
:https://logs.chromium.org/logs/dart/buildbucket/cr-buildbucket/8783504870400738449/+/u/build_dart_debug_arm/stdout
Most likely this build error is caused by the new version of zlib: bd9c7a46e2b1f89a8487c21aafe714fa004d687f.
/cc @aam @rmacnak-google