Build 120.0.6099.71 fails with gcc 12.2
After applying all patches for chromium 120, the build fails:
FAILED: obj/components/autofill/core/browser/browser/autofill_table.o ccache g++ -MMD -MF obj/components/autofill/core/browser/browser/autofill_table.o.d -DCHROME_VERSION_MAJOR=120 -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_56 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_56 -DBASE_USE_PERFETTO_CLIENT_LIBRARY=1 -DLIBYUV_DISABLE_NEON -DSK_ENABLE_SKSL -DSK_UNTIL_CRBUG_1187654_IS_FIXED -DSK_USER_CONFIG_HEADER="../../skia/config/SkUserConfig.h" -DSK_WIN_FONTMGR_NO_SIMULATIONS -DSK_DISABLE_LEGACY_SKSURFACE_METHODS -DSK_DISABLE_LEGACY_GRAPHITE_IMAGE_FACTORIES -DSK_DISABLE_LEGACY_GRAPHITE_IMAGE_METHODS -DSK_DISABLE_LEGACY_SKSURFACE_FACTORIES -DSK_DISABLE_LEGACY_SKSURFACE_FLUSH -DSK_DISABLE_LEGACY_SKSURFACE_AS_IMAGE -DSK_DISABLE_LEGACY_SKSURFACE_DISPLAYLIST -DSK_DISABLE_LEGACY_IMAGE_SUBSET_METHODS -DSK_DISABLE_LEGACY_IMAGE_COLORSPACE_METHODS -DSK_DISABLE_LEGACY_IMAGE_RELEASE_PROCS -DSK_DISABLE_LEGACY_GL_BACKEND_SURFACE -DSK_DISABLE_LEGACY_INIT_DECODERS -DSK_DISABLE_LEGACY_GRDIRECTCONTEXT_FLUSH -DSK_DISABLE_LEGACY_GRDIRECTCONTEXT_BOOLS -DSK_DISABLE_LEGACY_GL_GRDIRECTCONTEXT_FACTORIES -DSK_DISABLE_LEGACY_PNG_WRITEBUFFER -DSK_SLUG_DISABLE_LEGACY_DESERIALIZE -DSK_DISABLE_LEGACY_VK_GRDIRECTCONTEXT_FACTORIES -DSK_CODEC_DECODES_JPEG -DSK_ENCODE_JPEG -DSK_ENCODE_PNG -DSK_ENCODE_WEBP -DSK_GANESH -DSK_GPU_WORKAROUNDS_HEADER="gpu/config/gpu_driver_bug_workaround_autogen.h" -DSK_GL -DSK_VULKAN=1 -DSK_GRAPHITE -DVK_USE_PLATFORM_XCB_KHR -DVK_USE_PLATFORM_WAYLAND_KHR -DUSE_EGL -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0 -DHAVE_PTHREAD -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DU_IMPORT=U_EXPORT -DLEVELDB_PLATFORM_CHROMIUM=1 -DI18N_ADDRESS_VALIDATION_DATA_URL="https://chromium-i18n.appspot.com/ssl-aggregate-address/" -DEIGEN_MPL2_ONLY -DEIGEN_MAX_ALIGN_BYTES=64 -DEIGEN_HAS_TYPE_TRAITS=0 -DFLATBUFFERS_LOCALE_INDEPENDENT=0 -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0 -DWEBRTC_CHROMIUM_BUILD -DWEBRTC_POSIX -DWEBRTC_LINUX -DABSL_ALLOCATOR_NOTHROW=1 -DWEBRTC_USE_X11 -DWEBRTC_USE_PIPEWIRE -DWEBRTC_USE_GIO -DLOGGING_INSIDE_WEBRTC -DI18N_PHONENUMBERS_USE_ICU_REGEXP=1 -DI18N_PHONENUMBERS_USE_ALTERNATE_FORMATS=1 -DI18N_PHONENUMBERS_NO_THREAD_SAFETY=1 -DATK_LIB_DIR="/usr/lib" -DUSE_ATK_BRIDGE -DCRASHPAD_ZLIB_SOURCE_EXTERNAL -I../compile -Igen -I../compile/third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -Igen/shim_headers/libevent_shim -Igen/shim_headers/icui18n_shim -Igen/shim_headers/icuuc_shim -I../compile/net/third_party/quiche/overrides -I../compile/net/third_party/quiche/src/quiche/common/platform/default -I../compile/net/third_party/quiche/src -I../compile/third_party/libyuv/include -I../compile/third_party/skia -Igen/third_party/skia -I../compile/third_party/wuffs/src/release/c -I../compile/third_party/vulkan/include -I../compile/third_party/vulkan-deps/vulkan-headers/src/include -I../compile/third_party/wayland/src/src -I../compile/third_party/wayland/include/src -Igen/shim_headers/libpng_shim -Igen/shim_headers/libwebp_shim -Igen/third_party/private_membership/src -Igen/third_party/shell-encryption/src -Igen/components/policy/proto -Igen/third_party/dawn/include -I../compile/third_party/dawn/include -I../compile/third_party/khronos -I../compile/gpu -I../compile/third_party/protobuf/src -Igen/protoc_out -I../compile/base/allocator/partition_allocator/src -Igen/base/allocator/partition_allocator/src -I../compile/third_party/abseil-cpp -I../compile/third_party/boringssl/src/include -I../compile/third_party/ced/src -I../compile/third_party/ipcz/include -I../compile/third_party/leveldatabase -I../compile/third_party/leveldatabase/src -I../compile/third_party/leveldatabase/src/include -Igen/net/third_party/quiche/src -I../compile/third_party/libaddressinput/src/cpp/include -I../compile/third_party/tflite/src -I../compile/third_party/tflite/src/third_party/xla/third_party/tsl -I../compile/third_party/pthreadpool/src/include -I../compile/third_party/eigen3/src -Igen/third_party/tflite/src -I../compile/third_party/flatbuffers/src/include -I../compile/third_party/flatbuffers/src/src -I../compile/third_party/flatbuffers/src -I../compile/third_party/flatbuffers/generated -I../compile/third_party/gemmlowp/src -I../compile/third_party/tflite_support/src -I../compile/third_party/tflite_support/src/tensorflow_lite_support -I../compile/third_party/re2/src -Igen/third_party/tflite_support/src -I../compile/third_party/webrtc_overrides -I../compile/third_party/webrtc -Igen/third_party/webrtc -I../compile/third_party/zlib -I../compile/third_party/libphonenumber/dist/cpp/src -Igen/third_party/libphonenumber -I../compile/third_party/libwebm/source -I../compile/third_party/mesa_headers -I../compile/third_party/crashpad/crashpad -I../compile/third_party/crashpad/crashpad/compat/linux -I../compile/third_party/crashpad/crashpad/compat/non_win -I../compile/third_party/libaom/source/libaom -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -Wno-comments -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -fno-ident -fno-strict-aliasing -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread -fno-omit-frame-pointer -fvisibility=hidden -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/nss -I/usr/include/nspr -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -Wno-narrowing -Wno-class-memaccess -std=gnu++2a -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -c ../compile/components/autofill/core/browser/webdata/autofill_table.cc -o obj/components/autofill/core/browser/browser/autofill_table.o ../compile/components/autofill/core/browser/webdata/autofill_table.cc:352:31: error: modification of '' is not a constant expression 352 | {kNickname, "VARCHAR"}}; | ^ ../compile/components/autofill/core/browser/webdata/autofill_table.cc:367:49: error: modification of '' is not a constant expression 367 | {kUseDate, "INTEGER NOT NULL DEFAULT 0"}}; | ^ ../compile/components/autofill/core/browser/webdata/autofill_table.cc:381:43: error: modification of '' is not a constant expression 381 | {kPaymentRail, "INTEGER NOT NULL"}}; | ^ ../compile/components/autofill/core/browser/webdata/autofill_table.cc:396:44: error: modification of '' is not a constant expression 396 | {kAccountType, "INTEGER DEFAULT 0"}};