OSSystems / meta-browser

OpenEmbedded/Yocto BSP layer for Web Browsers
MIT License
186 stars 195 forks source link

chromium-x11-95.0.4638.69-r0 build failed at Yocto dunfell, at ARMv7l #594

Open imortkz opened 2 years ago

imortkz commented 2 years ago

Tried and got same issue with the last master branch:

Layers configuration

Build Configuration:
BB_VERSION           = "1.46.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "arm-poky-linux-gnueabi"
MACHINE              = "rockchip-rk3288-evb"
DISTRO               = "poky"
DISTRO_VERSION       = "3.1.12"
TUNE_FEATURES        = "arm armv7ve vfp thumb neon callconvention-hard"
TARGET_FPU           = "hard"
meta
meta-poky
meta-yocto-bsp       = "dunfell:cf5a00721f721d5077c73d1f4e812e5c79833fba"
meta-intel           = "dunfell:625da85e7b01b71cc310267b0ba7119eb139e9f7"
meta-intercom        = "dunfell:cf5a00721f721d5077c73d1f4e812e5c79833fba"
meta-rockchip        = "yocto-next:25834c31b8981ce7c0239696912836da3bae2c0a"
meta-mender-core     = "dunfell:045cfcfc3649b0505cee0b56af8946ef692cd67d"
meta-oe              = "dunfell:69f94af4d91215e7d4e225bab54bf3bcfee42f1c"
meta-lxde            = "master:4c1a4585df9316ed40a5dad16292dd9ecbcc92c4"
meta-gnome
meta-python
meta-multimedia
meta-networking
meta-xfce            = "dunfell:69f94af4d91215e7d4e225bab54bf3bcfee42f1c"
meta-chromium        = "HEAD:03a2663504116860c21fcd13054b88cf1783372c"
meta-clang           = "dunfell-clang12:ff35d6bf07886476faf61c7ab0dd71b24809f406"
meta-python2         = "dunfell:b901080cf57d9a7f5476ab4d96e56c30db8170a8"

Output:

| DEBUG: Executing shell function do_compile
| [1/307] python3 ../../tools/generate_shim_headers/generate_shim_headers.py --generate --headers-root /poky/intercom-v3/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/chromium-x11/95.0.4638.69-r0/chromium-95.0.4638.69/third_party/flac/include --output-directory /poky/intercom-v3/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/chromium-x11/95.0.4638.69-r0/chromium-95.0.4638.69/out/Release/gen/shim_headers/flac_shim FLAC/all.h FLAC/assert.h FLAC/callback.h FLAC/export.h FLAC/format.h FLAC/metadata.h FLAC/ordinals.h FLAC/stream_decoder.h FLAC/stream_encoder.h
| [2/95] arm-poky-linux-gnueabi-clang++ -target arm-poky-linux-gnueabi  -march=armv7ve  -mfpu=neon -mfloat-abi=hard -rtlib=compiler-rt --unwindlib=libgcc -stdlib=libc++ -mlittle-endian -Qunused-arguments -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/poky/intercom-v3/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/chromium-x11/95.0.4638.69-r0/recipe-sysroot -MMD -MF obj/ui/views/views/ink_drop_animation_ended_reason.o.d -DVIEWS_IMPLEMENTATION -DDCHECK_ALWAYS_ON=1 -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DUSE_X11=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DATK_LIB_DIR=\"/usr/lib\" -DUSE_ATK_BRIDGE -DTOOLKIT_VIEWS=1 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_40 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_40 -DWEBP_EXTERN=extern -DGL_GLEXT_PROTOTYPES -DUSE_GLX -DUSE_EGL -DVK_USE_PLATFORM_XCB_KHR -DSK_UNTIL_CRBUG_1187654_IS_FIXED -DSK_CODEC_DECODES_PNG -DSK_CODEC_DECODES_WEBP -DSK_ENCODE_PNG -DSK_ENCODE_WEBP -DSK_ENABLE_SKSL -DSK_USER_CONFIG_HEADER=\"../../skia/config/SkUserConfig.h\" -DSK_GL -DSK_CODEC_DECODES_JPEG -DSK_ENCODE_JPEG -DSK_HAS_WUFFS_LIBRARY -DSK_VULKAN_HEADER=\"../../skia/config/SkVulkanConfig.h\" -DSK_VULKAN=1 -DSK_SUPPORT_GPU=1 -DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\" -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 -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DHAVE_PTHREAD -DVK_NO_PROTOTYPES -DUSE_VULKAN_XCB -I../.. -Igen -I../../third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -I../../third_party/libwebp/src -I../../third_party/vulkan-deps/vulkan-headers/src/include -Igen/third_party/dawn/src/include -I../../third_party/dawn/src/include -I../../third_party/khronos -I../../gpu -I../../third_party/libyuv/include -I../../third_party/jsoncpp/source/include -I../../third_party/abseil-cpp -I../../third_party/boringssl/src/include -I../../third_party/protobuf/src -Igen/protoc_out -I../../third_party/skia -I../../third_party/wuffs/src/release/c -I../../third_party/vulkan/include -I../../third_party/icu/source/common -I../../third_party/icu/source/i18n -I../../third_party/ced/src -I../../third_party/mesa_headers -fno-delete-null-pointer-checks -fno-ident -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -funwind-tables -fPIC -pthread -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 -ffp-contract=off -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -Xclang -fdebug-compilation-dir -Xclang . -mfpu=neon -mthumb -Wall -Wextra -Wimplicit-fallthrough -Wunreachable-code-aggressive -Wthread-safety -Wextra-semi -Wno-missing-field-initializers -Wno-unused-parameter -Wloop-analysis -Wno-unneeded-internal-declaration -Wenum-compare-conditional -Wno-unknown-warning-option -Wno-psabi -Wno-ignored-pragma-optimize -Wno-builtin-assume-aligned-alignment -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -O2 -fdata-sections -ffunction-sections -fno-unique-section-names -fno-omit-frame-pointer -g0 -ftrivial-auto-var-init=pattern -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wshadow -I/poky/intercom-v3/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/chromium-x11/95.0.4638.69-r0/recipe-sysroot/usr/include/atk-1.0 -I/poky/intercom-v3/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/chromium-x11/95.0.4638.69-r0/recipe-sysroot/usr/include/at-spi2-atk/2.0 -I/poky/intercom-v3/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/chromium-x11/95.0.4638.69-r0/recipe-sysroot/usr/include/at-spi-2.0 -I/poky/intercom-v3/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/chromium-x11/95.0.4638.69-r0/recipe-sysroot/usr/include/dbus-1.0 -I/poky/intercom-v3/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/chromium-x11/95.0.4638.69-r0/recipe-sysroot/usr/lib/dbus-1.0/include -I/poky/intercom-v3/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/chromium-x11/95.0.4638.69-r0/recipe-sysroot/usr/include/glib-2.0 -I/poky/intercom-v3/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/chromium-x11/95.0.4638.69-r0/recipe-sysroot/usr/lib/glib-2.0/include -I/poky/intercom-v3/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/chromium-x11/95.0.4638.69-r0/recipe-sysroot/usr/include/glib-2.0 -I/poky/intercom-v3/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/chromium-x11/95.0.4638.69-r0/recipe-sysroot/usr/lib/glib-2.0/include -DPROTOBUF_ALLOW_DEPRECATED=1 -std=c++14 -fno-trigraphs -Wno-trigraphs -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -Wno-deprecated-declarations  -O2 -pipe  -feliminate-unused-debug-types -fmacro-prefix-map=/poky/intercom-v3/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/chromium-x11/95.0.4638.69-r0=/usr/src/debug/chromium-x11/95.0.4638.69-r0                      -fdebug-prefix-map=/poky/intercom-v3/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/chromium-x11/95.0.4638.69-r0=/usr/src/debug/chromium-x11/95.0.4638.69-r0                      -fdebug-prefix-map=/poky/intercom-v3/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/chromium-x11/95.0.4638.69-r0/recipe-sysroot=
         -fdebug-prefix-map=/poky/intercom-v3/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/chromium-x11/95.0.4638.69-r0/recipe-sysroot-native= -g1 -stdlib=libc++ -fvisibility-inlines-hidden -c ../../ui/views/animation/ink_drop_animation_ended_reason.cc -o obj/ui/views/views/ink_drop_animation_ended_reason.o
| [3/95] python3 ../../build/gn_run_binary.py ./v8-qemu-wrapper.sh ./v8_context_snapshot_generator --output_file=v8_context_snapshot.bin
| FAILED: v8_context_snapshot.bin
| python3 ../../build/gn_run_binary.py ./v8-qemu-wrapper.sh ./v8_context_snapshot_generator --output_file=v8_context_snapshot.bin
| [1215/134718.210354:FATAL:cpu.cc(186)] Check failed: false.
| #0 0x0000fd36fda4 <unknown>
| #1 0x0000fd30062c <unknown>
| #2 0x0000fd307e8a <unknown>
| #3 0x0000fd308628 <unknown>
| #4 0x0000fd2fe0ea <unknown>
| #5 0x0000fd3001a8 <unknown>
| #6 0x0000fd3004a4 <unknown>
| #7 0x0000fd391c4c <unknown>
| #8 0x0000fd3902fe <unknown>
| #9 0x0000fd3779a4 <unknown>
|
| qemu: uncaught target signal 6 (Aborted) - core dumped
| Aborted (core dumped)
| ./v8-qemu-wrapper.sh failed with exit code 134

Have no idea what could be wrong, the same configuration builds OK for x86_64

rakuco commented 2 years ago

This reminds me of #581. Do you have any custom GN_ARGS by any chance?

imortkz commented 2 years ago

This reminds me of #581. Do you have any custom GN_ARGS by any chance?

Yep, I've seen that issue and double check it first before adding the issue. Tried to build v93 to v96, no luck. No custom GN_ARGS was added:

poky@build:/poky/build-v3$ bitbake -e chromium-x11 | grep ^GN_ARGS=
GN_ARGS="use_cups=false
    ffmpeg_branding=\"Chrome\"
    proprietary_codecs=true 
    use_v4l2_codec=true 
    use_v4lplugin=true 
    use_linux_v4l2_only=true 
    use_vaapi=false         
    is_component_build=false         
    use_gnome_keyring=false         
    use_kerberos=false         
    use_pulseaudio=true         
    use_system_freetype=true         
    use_system_libjpeg=true  
    enable_js_type_check=false 
    host_pkg_config=\"pkg-config-native\" 
    is_debug=false 
    is_official_build=true 
    use_custom_libcxx=false 
    use_lld=true 
    use_gold=false 
    symbol_level=0 
    enable_remoting=false 
    enable_nacl=false 
    use_sysroot=false 
    treat_warnings_as_errors=false 
    is_cfi=false 
    fieldtrial_testing_like_official_build=true 
    chrome_pgo_phase=0          
    google_api_key=\"invalid-api-key\"         
    google_default_client_id=\"invalid-client-id\"         
    google_default_client_secret=\"invalid-client-secret\"           
    custom_toolchain=\"//build/toolchain/yocto:yocto_target\"         
    gold_path=\"\"         
    host_toolchain=\"//build/toolchain/yocto:yocto_native\"         
    is_clang=true         
    clang_base_path=\"/poky/build-v3/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/chromium-x11/92.0.4515.159-r0/recipe-sysroot-native/usr/bin\"
    clang_use_chrome_plugins=false         
    target_cpu=\"arm\"         
    v8_snapshot_toolchain=\"//build/toolchain/yocto:yocto_target\"  
    max_jobs_per_link=\"4\" 
    use_ozone=false 
    use_lld=true 
    use_gold=false 
    is_debug=false 
    is_official_build=false 
    fatal_linker_warnings=false         
    arm_float_abi=\"hard\"         
    arm_fpu=\"neon\"         
    arm_tune=\"\"         
    arm_version=7 "