maintainer-feedback requested: [Bug 257468] www/chromium does not compile on a Pi4, stopping with FAILED: v8_context_snapshot_generator

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 28 Jul 2021 02:53:15 +0000
Bugzilla Automation <bugzilla_at_FreeBSD.org> has asked freebsd-chromium (Nobody)
<chromium_at_FreeBSD.org> for maintainer-feedback:
Bug 257468: www/chromium does not compile on a Pi4, stopping with FAILED:
v8_context_snapshot_generator
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257468



--- Description ---
While trying to compile www/chromium using poudriere on a Pi4 running

FreeBSD nemesis.zefox.com 14.0-CURRENT FreeBSD 14.0-CURRENT #3 main-d72d5ced80:
Sun Jul 18 22:25:27 PDT 2021 

the build process stopped with
FAILED: v8_context_snapshot_generator .

The text following the error was 
python "../../build/toolchain/gcc_link_wrapper.py"
--output="./v8_context_snapsh
ot_generator" -- c++ -fuse-ld=lld -Wl,--build-id=sha1 -fPIC -Wl,-z,noexecstack
-
Wl,-z,relro -Wl,-z,now -Wl,-z,max-page-size=4096 -Wl,--icf=all
-Wl,--color-diagn
ostics -flto=thin -Wl,--thinlto-jobs=2 -Wl,--thinlto-cache-dir=thinlto-cache
-Wl
,--thinlto-cache-policy,cache_size=10\%:cache_size_bytes=40g:cache_size_files=1
00000
-Wl,-mllvm,-import-instr-limit=5 -fwhole-program-vtables -Wl,-O2
-Wl,--gc-sections -rdynamic -Wl,--lto-O0 -pie -Wl,--disable-new-dtags
-Wl,--icf=none -L/usr/local/lib  -fstack-protector-strong -L/usr/local/lib  -o
"./v8_context_snapshot_generator" -Wl,--start-group
_at_"./v8_context_snapshot_generator.rsp"	-Wl,--end-group  -lpthread
-lgmodule-2.0 -lglib-2.0 -lgobject-2.0 -lgthread-2.0 -lintl -lnss3 -lsmime3
-lnssutil3 -lplds4 -lplc4 -lnspr4 -ldl -lexecinfo -lkvm -lutil -lrt -ljpeg
-lpng16 -lz -lxml2 -lxslt -llzma -lm -lgio-2.0 -lwebpdemux -lwebpmux -lwebp
-lfreetype -lexpat -lfontconfig -lharfbuzz-subset -lharfbuzz -lopus -lavcodec
-lavformat -lavutil -lopenh264 -lX11 -lXcomposite -lXdamage -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 -lgdk-3
-lcairo-gobject -lgdk_pixbuf-2.0 -lXi -lGL -lpci -lsndio -lsnappy -lcups
-latspi -ldbus-1
ld.lld: error: undefined symbol: dav1d_get_cpu_flags_arm
>>> referenced by cpu.c
>>>		  thinlto-cache/Thin-e24afd.tmp.o:(dav1d_init_cpu)
c++: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/www/chromium
=>> Cleaning up wrkdir
===>  Cleaning for chromium-91.0.4472.164
build of www/chromium | chromium-91.0.4472.164 ended at Fri Jul 23 10:58:54 PDT
2021
Received on Wed Jul 28 2021 - 02:53:15 UTC

Original text of this message