Re: RPi4, www/chromium, FAILED: v8_context_snapshot_generator

From: Mark Millard via freebsd-ports <>
Date: Fri, 16 Jul 2021 18:31:31 UTC
On 2021-Jul-16, at 11:11, Mark Millard <marklmi at> wrote:

> From: bob prohaska <> wrote on
> Date: Fri, 16 Jul 2021 08:40:24 -0700 :
>> While compiling www/chromium on an 8GB RPI4 poudriere stopped with
>> FAILED: v8_context_snapshot_generator
>> Does anybody recognize this error? If it helps I can put the 
>> machine on the net via http so folks can browse relevant parts
>> of the filesystem. Ports were last updated July 12.
> "v8_context_snapshot_generator" is not a FreeBSD message but a
> program in chromium's source code, for example:
> Its comments before in main (int argc, cha** argv) { . . . } are:
> // This program takes a snapshot of V8 contexts and writes it out as a file.
> // The snapshot file is consumed by Blink.
> //
> // Usage:
> // % v8_context_snapshot_generator --output_file=<filename>
> My guess is that any actual error report but what happened to
> v8_context_snapshot_generator is earlier and that "FAILED:
> v8_context_snapshot_generator" is a later consequence of
> earlier activity.
> You may need to expose the log file.

It may be that some or all relevant text is after that line,
unlike my guess. I found on the web:

FAILED: v8_context_snapshot_generator 
../../third_party/llvm-build/Release+Asserts/bin/clang++ -Wl,--fatal-warnings -Wl,--build-id=sha1 -fPIC -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,-z,defs -Wl,--as-needed -fuse-ld=lld -Wl,--icf=all -Wl,--color-diagnostics -flto=thin 
-Wl,--thinlto-jobs=8 -Wl,--thinlto-cache-dir=thinlto-cache -Wl,--thinlto-cache-policy,cache_size=10\%:cache_size_bytes=10g:cache_size_files=100000 -Wl,--lto-O0 -fwhole-program-vtables -m64 -Werror -Wl,-O2 -Wl,--gc-sections -Wl,--gdb-inde
x -rdynamic -nostdlib++ --sysroot=../../build/linux/debian_sid_amd64-sysroot -L../../build/linux/debian_sid_amd64-sysroot/usr/local/lib/x86_64-linux-gnu -L../../build/linux/debian_sid_amd64-sysroot/lib/x86_64-linux-gnu -L../../build/linu
x/debian_sid_amd64-sysroot/usr/lib/x86_64-linux-gnu -fsanitize=cfi-vcall -fsanitize=cfi-icall -pie -Wl,--disable-new-dtags -Wl,--icf=none -L../../build/linux/debian_sid_amd64-sysroot/usr/lib/x86_64-linux-gnu -o "./v8_context_snapshot_gen
erator" -Wl,--start-group @"./v8_context_snapshot_generator.rsp"  -Wl,--end-group   -ldl -lpthread -lrt -lgmodule-2.0 -lglib-2.0 -lgobject-2.0 -lgthread-2.0 -lnss3 -lnssutil3 -lsmime3 -lplds4 -lplc4 -lnspr4 -lresolv -lgio-2.0 -lexpat -lu
uid -lX11 -lX11-xcb -lxcb -lXcomposite -lXcursor -lXdamage -lXext -lXfixes -lXi -lXrender -lXtst -lXrandr -lpci -lXss -ldbus-1 -lasound -lm -lz 
clang: error: unable to execute command: Killed
clang: error: linker command failed due to signal (use -v to see invocation)
ninja: build stopped: subcommand failed.
. . . (more not shown) . . .

It seems to put related material after the line.

Mark Millard
marklmi at
( went
away in early 2018-Mar)