Date: Sat, 18 May 2024 21:33:59 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 279144] chromium-124.0.6367.207 fails to build - ld.lld error Message-ID: <bug-279144-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279144 Bug ID: 279144 Summary: chromium-124.0.6367.207 fails to build - ld.lld error Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: chromium@FreeBSD.org Reporter: makoto90@pm.me Assignee: chromium@FreeBSD.org Flags: maintainer-feedback?(chromium@FreeBSD.org) 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=3D"./v8_context_snapshot_generator" -- c++ -fuse-ld=3Dlld -Wl,--build-id=3Dsha1 -fPIC -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--icf=3Dall -Wl,--color-diagnostics -Wl,--thinlto-cache-dir=3Dthinlto-c= ache -Wl,--thinlto-cache-policy=3Dcache_size=3D10\%:cache_size_bytes=3D40g:cache= _size_files=3D100000 -flto=3Dthin -Wl,--thinlto-jobs=3Dall -Wl,-mllvm,-import-instr-limit=3D30 -Wl,-mllvm,-disable-auto-upgrade-debug-info -fwhole-program-vtables -Wl,--undefined-version -m64 -no-canonical-prefixes -Wl,-O2 -Wl,--gc-sectio= ns --unwindlib=3Dnone -nostdlib++ -Wl,--lto-O0 -Wl,-mllvm,-enable-ext-tsp-block-placement=3D1 -rdynamic -pie -Wl,--disable-new-dtags -Wl,--icf=3Dnone 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_b= uiltins.rlib prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/libcore.rlib prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/libgetopts.rl= ib 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_abor= t.rlib prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/libpanic_unwi= nd.rlib prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/librustc_dema= ngle.rlib prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/libstd_detect= .rlib prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/libtest.rlib prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/libunicode_wi= dth.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_oxid= e.rlib 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 -lnsp= r4 -ldl -lkvm -lutil -levent -lgio-2.0 -ljpeg -lpng16 -lxml2 -lxslt -lexpat -lwebpdemux -lwebpmux -lwebp -lharfbuzz-subset -lharfbuzz -lfontconfig -lop= us -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_srus= t_ucrash_crs.rlib FAILED: v8_context_snapshot_generator "python3" "../../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,--icf=3Dall -Wl,--color-diagnostics -Wl,--thinlto-cache-dir=3Dthinlto-c= ache -Wl,--thinlto-cache-policy=3Dcache_size=3D10\%:cache_size_bytes=3D40g:cache= _size_files=3D100000 -flto=3Dthin -Wl,--thinlto-jobs=3Dall -Wl,-mllvm,-import-instr-limit=3D30 -Wl,-mllvm,-disable-auto-upgrade-debug-info -fwhole-program-vtables -Wl,--undefined-version -m64 -no-canonical-prefixes -Wl,-O2 -Wl,--gc-sectio= ns --unwindlib=3Dnone -nostdlib++ -Wl,--lto-O0 -Wl,-mllvm,-enable-ext-tsp-block-placement=3D1 -rdynamic -pie -Wl,--disable-new-dtags -Wl,--icf=3Dnone 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_b= uiltins.rlib prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/libcore.rlib prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/libgetopts.rl= ib 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_abor= t.rlib prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/libpanic_unwi= nd.rlib prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/librustc_dema= ngle.rlib prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/libstd_detect= .rlib prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/libtest.rlib prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-freebsd/lib/libunicode_wi= dth.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_oxid= e.rlib 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 -lnsp= r4 -ldl -lkvm -lutil -levent -lgio-2.0 -ljpeg -lpng16 -lxml2 -lxslt -lexpat -lwebpdemux -lwebpmux -lwebp -lharfbuzz-subset -lharfbuzz -lfontconfig -lop= us -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_srus= t_ucrash_crs.rlib clang++: warning: argument unused during compilation: '--unwindlib=3Dnone' [-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=3Dnone' [-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 =3D>> Cleaning up wrkdir =3D=3D=3D> 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 !!! --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-279144-7788>