Skip to content

Scarthgap Chromium build failure in bytecode_builtins_list_generator #890

@justingrant

Description

@justingrant

Our Yocto Scarthgap build is failing while building Chromium. Below are the lines at the end of the log where the failures started. Does this problem look familiar?

I'm running the build on a linux/amd64 Docker container on a MacOS ARM host, and targeting MACHINE ?= "genericx86-64" in our distro's local.conf. Let me know if there's other info about my build config or environment that could be helpful to diagnose this.

I found this post that seems like it could be related. NixOS/nixpkgs#142651 might also be related.

| [23756/65466] python3 ../../v8/tools/run.py ./v8-qemu-wrapper.sh ./bytecode_builtins_list_generator gen/v8/builtins-generated/bytecodes-builtins-list.h
| FAILED: gen/v8/builtins-generated/bytecodes-builtins-list.h
| python3 ../../v8/tools/run.py ./v8-qemu-wrapper.sh ./bytecode_builtins_list_generator gen/v8/builtins-generated/bytecodes-builtins-list.h
| Usage: gen/v8/builtins-generated/bytecodes-builtins-list.h <output filename>
| Return code is 1
| [23757/65466] "python3" "../../build/toolchain/gcc_link_wrapper.py" --output="./gen-regexp-special-case" -- x86_64-oe-linux-clang++ -target x86_64-oe-linux  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian --dyld-prefix=/usr -Qunused-arguments --sysroot=/tmp/yocto-glibc/work/core2-64-oe-linux/chromium-x11/125.0.6422.141/recipe-sysroot -pie -fuse-ld=lld -Wl,--fatal-warnings -Wl,--build-id=sha1 -fPIC -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--icf=all -Wl,--color-diagnostics -Wl,-mllvm,-instcombine-lower-dbg-declare=0 -Wl,--thinlto-cache-dir=thinlto-cache -Wl,--thinlto-cache-policy=cache_size=10\%:cache_size_bytes=40g:cache_size_files=100000 -flto=thin -Wl,--thinlto-jobs=all -Wl,-mllvm,-import-instr-limit=30 -Wl,-mllvm,-disable-auto-upgrade-debug-info -fwhole-program-vtables -Wl,--undefined-version -Wl,--no-call-graph-profile-sort -m64 -Wl,-z,defs -Wl,--as-needed -Wl,--lto-O0 -rdynamic -pie -Wl,--disable-new-dtags -Wl,-O2 -Wl,--gc-sections -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed   -fmacro-prefix-map=/tmp/yocto-glibc/work/core2-64-oe-linux/chromium-x11/125.0.6422.141/chromium-125.0.6422.141=/usr/src/debug/chromium-x11/125.0.6422.141  -fdebug-prefix-map=/tmp/yocto-glibc/work/core2-64-oe-linux/chromium-x11/125.0.6422.141/chromium-125.0.6422.141=/usr/src/debug/chromium-x11/125.0.6422.141  -fmacro-prefix-map=/tmp/yocto-glibc/work/core2-64-oe-linux/chromium-x11/125.0.6422.141/chromium-125.0.6422.141/out/Release=/usr/src/debug/chromium-x11/125.0.6422.141  -fdebug-prefix-map=/tmp/yocto-glibc/work/core2-64-oe-linux/chromium-x11/125.0.6422.141/chromium-125.0.6422.141/out/Release=/usr/src/debug/chromium-x11/125.0.6422.141  -fdebug-prefix-map=/tmp/yocto-glibc/work/core2-64-oe-linux/chromium-x11/125.0.6422.141/recipe-sysroot=  -fmacro-prefix-map=/tmp/yocto-glibc/work/core2-64-oe-linux/chromium-x11/125.0.6422.141/recipe-sysroot=  -fdebug-prefix-map=/tmp/yocto-glibc/work/core2-64-oe-linux/chromium-x11/125.0.6422.141/recipe-sysroot-native=   -stdlib=libc++ -o "./gen-regexp-special-case" -Wl,--start-group @"./gen-regexp-special-case.rsp"  -Wl,--end-group  /tmp/yocto-glibc/work/core2-64-oe-linux/chromium-x11/125.0.6422.141/recipe-sysroot-native/usr/lib/clang/latest/lib/linux/libclang_rt.builtins-x86_64.a -latomic -ldl -lpthread -lrt
| ninja: build stopped: subcommand failed.
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/builder/build/../layers/meta-browser/meta-chromium/recipes-browser/chromium/chromium-x11_125.0.6422.141.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 8142 tasks of which 3749 didn't need to be rerun and 2 failed.

Summary: 2 tasks failed:
  /home/builder/build/../layers/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs_20.12.2.bb:do_compile
  /home/builder/build/../layers/meta-browser/meta-chromium/recipes-browser/chromium/chromium-x11_125.0.6422.141.bb:do_compile
Summary: There was 1 WARNING message.
Summary: There were 3 ERROR messages, returning a non-zero exit code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions