Bugzilla Automation <bugzi...@freebsd.org> has asked freebsd-chromium (Nobody)
<chrom...@freebsd.org> for maintainer-feedback:
Bug 279144: chromium-124.0.6367.207 fails to build - ld.lld error
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279144



--- Description ---
Failed to build in FreeBSD 14.0-RELEASE, latest ports. This is the log:

[ 99% 62299/62307] "python3" "../../build/toolchain/gcc_link_wrapper.py"
--output="./v8_context_snapshot_generator" -- c++ -fuse-ld=lld
-Wl,--build-id=sha1 -fPIC -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
-Wl,--icf=all -Wl,--color-diagnostics -Wl,--thinlto-cache-dir=thinlto-cache
-Wl,--thinlto-cache-policy=cache_size=10\%:cache_size_bytes=40g:cache_size_file
s=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 -m64 -no-canonical-prefixes -Wl,-O2 -Wl,--gc-sections
--unwindlib=none -nostdlib++ -Wl,--lto-O0
-Wl,-mllvm,-enable-ext-tsp-block-placement=1 -rdynamic -pie
-Wl,--disable-new-dtags -Wl,--icf=none
prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/libstd.rlib
prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/liballoc.rlib
prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/libcfg_if.rlib
prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/libcompiler_built
ins.rlib
prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/libcore.rlib
prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/libgetopts.rlib
prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/libhashbrown.rlib
prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/liblibc.rlib
prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/libpanic_abort.rl
ib
prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/libpanic_unwind.r
lib
prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/librustc_demangle
rlib
prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/libstd_detectrli
b
prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/libtest.rlib
prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/libunicode_width.
rlib
prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/libunwind.rlib
prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/libaddr2line.rlib
prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/libadler.rlib
prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/libgimli.rlib
prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/libmemchr.rlib
prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/libminiz_oxide.rl
ib
prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/libobject.rlib
-L/usr/local/lib  -Wl,--undefined-version -fstack-protector-strong
-L/usr/local/lib  -o "./v8_context_snapshot_generator" -Wl,--start-group
@"./v8_context_snapshot_generator.rsp"  -Wl,--end-group  -lpthread
-lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl -lexecinfo
-licui18n -licuuc -licudata -lnss3 -lsmime3 -lnssutil3 -lplds4 -lplc4 -lnspr4
-ldl -lkvm -lutil -levent -lgio-2.0 -ljpeg -lpng16 -lxml2 -lxslt -lexpat
-lwebpdemux -lwebpmux -lwebp -lharfbuzz-subset -lharfbuzz -lfontconfig -lopus
-lopenh264 -lm -lz -ldav1d -lX11 -lXcomposite -lXdamage -lXext -lXfixes
-lXrender -lXrandr -lXtst -lpipewire-0.3 -lgbm -lEGL -ldrm -ldbus-1
-lepoll-shim -lxcb -lxkbcommon -lXi -lGL -lpci -lffi -lpangocairo-1.0
-lpango-1.0 -lcairo -latk-bridge-2.0 -latk-1.0 -lsndio -lFLAC -latspi
obj/third_party/rust/cxx/v1/lib/libcxx_lib.rlib
obj/skia/libskia_cbridge_urust_uside.rlib
obj/third_party/rust/font_types/v0_4/lib/libfont_types_lib.rlib
obj/third_party/rust/read_fonts/v0_15/lib/libread_fonts_lib.rlib
obj/third_party/rust/skrifa/v0_15/lib/libskrifa_lib.rlib
obj/build/rust/chromium_prelude/libchromium.rlib
obj/third_party/blink/common/rust_crash/libthird_uparty_sblink_scommon_srust_uc
rash_crs.rlib
FAILED: v8_context_snapshot_generator
"python3" "../../build/toolchain/gcc_link_wrapper.py"
--output="./v8_context_snapshot_generator" -- c++ -fuse-ld=lld
-Wl,--build-id=sha1 -fPIC -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
-Wl,--icf=all -Wl,--color-diagnostics -Wl,--thinlto-cache-dir=thinlto-cache
-Wl,--thinlto-cache-policy=cache_size=10\%:cache_size_bytes=40g:cache_size_file
s=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 -m64 -no-canonical-prefixes -Wl,-O2 -Wl,--gc-sections
--unwindlib=none -nostdlib++ -Wl,--lto-O0
-Wl,-mllvm,-enable-ext-tsp-block-placement=1 -rdynamic -pie
-Wl,--disable-new-dtags -Wl,--icf=none
prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/libstd.rlib
prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/liballoc.rlib
prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/libcfg_if.rlib
prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/libcompiler_built
ins.rlib
prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/libcore.rlib
prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/libgetopts.rlib
prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/libhashbrown.rlib
prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/liblibc.rlib
prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/libpanic_abort.rl
ib
prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/libpanic_unwind.r
lib
prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/librustc_demangle
rlib
prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/libstd_detectrli
b
prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/libtest.rlib
prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/libunicode_width.
rlib
prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/libunwind.rlib
prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/libaddr2line.rlib
prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/libadler.rlib
prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/libgimli.rlib
prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/libmemchr.rlib
prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/libminiz_oxide.rl
ib
prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/libobject.rlib
-L/usr/local/lib  -Wl,--undefined-version -fstack-protector-strong
-L/usr/local/lib  -o "./v8_context_snapshot_generator" -Wl,--start-group
@"./v8_context_snapshot_generator.rsp"  -Wl,--end-group  -lpthread
-lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl -lexecinfo
-licui18n -licuuc -licudata -lnss3 -lsmime3 -lnssutil3 -lplds4 -lplc4 -lnspr4
-ldl -lkvm -lutil -levent -lgio-2.0 -ljpeg -lpng16 -lxml2 -lxslt -lexpat
-lwebpdemux -lwebpmux -lwebp -lharfbuzz-subset -lharfbuzz -lfontconfig -lopus
-lopenh264 -lm -lz -ldav1d -lX11 -lXcomposite -lXdamage -lXext -lXfixes
-lXrender -lXrandr -lXtst -lpipewire-0.3 -lgbm -lEGL -ldrm -ldbus-1
-lepoll-shim -lxcb -lxkbcommon -lXi -lGL -lpci -lffi -lpangocairo-1.0
-lpango-1.0 -lcairo -latk-bridge-2.0 -latk-1.0 -lsndio -lFLAC -latspi
obj/third_party/rust/cxx/v1/lib/libcxx_lib.rlib
obj/skia/libskia_cbridge_urust_uside.rlib
obj/third_party/rust/font_types/v0_4/lib/libfont_types_lib.rlib
obj/third_party/rust/read_fonts/v0_15/lib/libread_fonts_lib.rlib
obj/third_party/rust/skrifa/v0_15/lib/libskrifa_lib.rlib
obj/build/rust/chromium_prelude/libchromium.rlib
obj/third_party/blink/common/rust_crash/libthird_uparty_sblink_scommon_srust_uc
rash_crs.rlib
clang++: warning: argument unused during compilation: '--unwindlib=none'
[-Wunused-command-line-argument]
ld.lld: error: Invalid record (Producer: 'LLVM18.1.2-rust-1.78.0-stable'
Reader: 'LLVM 17.0.6')
ld.lld: error: Invalid record (Producer: 'LLVM18.1.2-rust-1.78.0-stable'
Reader: 'LLVM 17.0.6')
ld.lld: error: Invalid record (Producer: 'LLVM18.1.2-rust-1.78.0-stable'
Reader: 'LLVM 17.0.6')
ld.lld: error: Invalid record (Producer: 'LLVM18.1.2-rust-1.78.0-stable'
Reader: 'LLVM 17.0.6')
ld.lld: error: Invalid record (Producer: 'LLVM18.1.2-rust-1.78.0-stable'
Reader: 'LLVM 17.0.6')
clang++: error: linker command failed with exit code 1 (use -v to see
invocation)
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
make: stopped in /usr/ports/www/chromium
[ 99% 62296/62307] rm -f obj/components/webapps/renderer/librenderer.a && "ar"
-T -r -c -s -D obj/components/webapps/renderer/librenderer.a
@"obj/components/webapps/renderer/librenderer.a.rsp"
[ 99% 62297/62307] touch obj/extensions/renderer/renderer.stamp
[ 99% 62298/62307] touch
obj/chrome/renderer/controlled_frame/controlled_frame.stamp
[ 99% 62296/62307] rm -f obj/components/webapps/renderer/librenderer.a && "ar"
-T -r -c -s -D obj/components/webapps/renderer/librenderer.a
@"obj/components/webapps/renderer/librenderer.a.rsp"
[ 99% 62297/62307] touch obj/extensions/renderer/renderer.stamp
[ 99% 62298/62307] touch
obj/chrome/renderer/controlled_frame/controlled_frame.stamp
clang++: warning: argument unused during compilation: '--unwindlib=none'
[-Wunused-command-line-argument]
ld.lld: error: Invalid record (Producer: 'LLVM18.1.2-rust-1.78.0-stable'
Reader: 'LLVM 17.0.6')
ld.lld: error: Invalid record (Producer: 'LLVM18.1.2-rust-1.78.0-stable'
Reader: 'LLVM 17.0.6')
ld.lld: error: Invalid record (Producer: 'LLVM18.1.2-rust-1.78.0-stable'
Reader: 'LLVM 17.0.6')
ld.lld: error: Invalid record (Producer: 'LLVM18.1.2-rust-1.78.0-stable'
Reader: 'LLVM 17.0.6')
ld.lld: error: Invalid record (Producer: 'LLVM18.1.2-rust-1.78.0-stable'
Reader: 'LLVM 17.0.6')
clang++: error: linker command failed with exit code 1 (use -v to see
invocation)
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
make: stopped in /usr/ports/www/chromium
=>> Cleaning up wrkdir
===>  Cleaning for chromium-124.0.6367.207
build of www/chromium | chromium-124.0.6367.207 ended at Sat May 18 17:21:11
-04 2024
build time: 03:09:30
!!! build failure encountered !!!

Reply via email to