Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jul 2021 12:30:48 -0700
From:      bob prohaska <fbsd@www.zefox.net>
To:        Mark Millard <marklmi@yahoo.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: RPi4, www/chromium, FAILED: v8_context_snapshot_generator
Message-ID:  <20210716193048.GB56755@www.zefox.net>
In-Reply-To: <8DE1F845-BF32-4D51-AD97-1361554B5160@yahoo.com>
References:  <C618910F-6B53-449A-92AC-47E0D429921D@yahoo.com> <8DE1F845-BF32-4D51-AD97-1361554B5160@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jul 16, 2021 at 11:31:31AM -0700, Mark Millard wrote:
> On 2021-Jul-16, at 11:11, Mark Millard <marklmi at yahoo.com> wrote:
>=20
>=20
> It may be that some or all relevant text is after that line,
> unlike my guess. I found on the web:
>=20
> FAILED: v8_context_snapshot_generator=20
> ../../third_party/llvm-build/Release+Asserts/bin/clang++ -Wl,--fatal-warn=
ings -Wl,--build-id=3Dsha1 -fPIC -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now=
 -Wl,-z,defs -Wl,--as-needed -fuse-ld=3Dlld -Wl,--icf=3Dall -Wl,--color-dia=
gnostics -flto=3Dthin=20
> -Wl,--thinlto-jobs=3D8 -Wl,--thinlto-cache-dir=3Dthinlto-cache -Wl,--thin=
lto-cache-policy,cache_size=3D10\%:cache_size_bytes=3D10g:cache_size_files=
=3D100000 -Wl,--lto-O0 -fwhole-program-vtables -m64 -Werror -Wl,-O2 -Wl,--g=
c-sections -Wl,--gdb-inde
> x -rdynamic -nostdlib++ --sysroot=3D../../build/linux/debian_sid_amd64-sy=
sroot -L../../build/linux/debian_sid_amd64-sysroot/usr/local/lib/x86_64-lin=
ux-gnu -L../../build/linux/debian_sid_amd64-sysroot/lib/x86_64-linux-gnu -L=
=2E./../build/linu
> x/debian_sid_amd64-sysroot/usr/lib/x86_64-linux-gnu -fsanitize=3Dcfi-vcal=
l -fsanitize=3Dcfi-icall -pie -Wl,--disable-new-dtags -Wl,--icf=3Dnone -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,--e=
nd-group   -ldl -lpthread -lrt -lgmodule-2.0 -lglib-2.0 -lgobject-2.0 -lgth=
read-2.0 -lnss3 -lnssutil3 -lsmime3 -lplds4 -lplc4 -lnspr4 -lresolv -lgio-2=
=2E0 -lexpat -lu
> uid -lX11 -lX11-xcb -lxcb -lXcomposite -lXcursor -lXdamage -lXext -lXfixe=
s -lXi -lXrender -lXtst -lXrandr -lpci -lXss -ldbus-1 -lasound -lm -lz=20
> clang: error: unable to execute command: Killed
> clang: error: linker command failed due to signal (use -v to see invocati=
on)
> ninja: build stopped: subcommand failed.
> . . . (more not shown) . . .
>=20
> It seems to put related material after the line.
>=20

Here's all I get:

FAILED: v8_context_snapshot_generator=20
python "../../build/toolchain/gcc_link_wrapper.py" --output=3D"./v8_context=
_snapshot_generator" -- c++ -fuse-ld=3Dlld -Wl,--build-id=3Dsha1 -fPIC -Wl,=
-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,-z,max-page-size=3D4096 -Wl,--ic=
f=3Dall -Wl,--color-diagnostics -flto=3Dthin -Wl,--thinlto-jobs=3D2 -Wl,--t=
hinlto-cache-dir=3Dthinlto-cache -Wl,--thinlto-cache-policy,cache_size=3D10=
\%:cache_size_bytes=3D40g:cache_size_files=3D100000 -Wl,-mllvm,-import-inst=
r-limit=3D5 -fwhole-program-vtables -Wl,-O2 -Wl,--gc-sections -rdynamic -Wl=
,--lto-O0 -pie -Wl,--disable-new-dtags -Wl,--icf=3Dnone -L/usr/local/lib  -=
fstack-protector-strong -L/usr/local/lib  -o "./v8_context_snapshot_generat=
or" -Wl,--start-group @"./v8_context_snapshot_generator.rsp"  -Wl,--end-gro=
up  -lpthread -lgmodule-2.0 -lglib-2.0 -lgobject-2.0 -lgthread-2.0 -lintl -=
lnss3 -lsmime3 -lnssutil3 -lplds4 -lplc4 -lnspr4 -ldl -lexecinfo -lkvm -lut=
il -lrt -ljpeg -lpng16 -lz -lxml2 -lxslt -llzma -lm -lgio-2.0 -lwebpdemux -=
lwebpmux -lwebp -lfreetype -lexpat -lfontconfig -lharfbuzz-subset -lharfbuz=
z -lopus -lavcodec -lavformat -lavutil -lopenh264 -lX11 -lXcomposite -lXdam=
age -lXext -lXfixes -lXrender -lXrandr -lXtst -lxcb -ldrm -lxkbcommon -lgbm=
 -latk-1.0 -latk-bridge-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgtk-3 -l=
gdk-3 -lcairo-gobject -lgdk_pixbuf-2.0 -lXi -lGL -lpci -lsndio -lsnappy -lc=
ups -latspi -ldbus-1
ld.lld: error: undefined symbol: dav1d_get_cpu_flags_arm
>>> referenced by cpu.c
>>>               thinlto-cache/Thin-922af5.tmp.o:(dav1d_init_cpu)
c++: error: linker command failed with exit code 1 (use -v to see invocatio=
n)
ninja: build stopped: subcommand failed.
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure =
to

I'll start preparing to put the machine on a public network, though it soun=
ds
like this is a chromium problem, unrelated to FreeBSD.....

Thanks for writing,=20

bob prohaska



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210716193048.GB56755>