Closed Bug 1850427 Opened 1 year ago Closed 1 year ago

Perma [tier 2] MinGW-clang-build | ld.lld: error: duplicate symbol: .weak.__ZN5rlbox24rlbox_wasm2c_initializedE.default.__ZNK7mozilla11StyleStrongINS_13ComputedStyleEEeqERKS2_

Categories

(Core :: Audio/Video, defect, P5)

defect

Tracking

()

RESOLVED FIXED
119 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox-esr115 --- unaffected
firefox117 --- unaffected
firefox118 --- unaffected
firefox119 --- fixed

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Filed by: smolnar [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=427297457&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Bvk53wTiT9mAvXRFDQIBCg/runs/0/artifacts/public/logs/live_backing.log


gmake[4]: Entering directory '/builds/worker/workspace/obj-build/toolkit/library/gtest'
[task 2023-08-28T21:14:25.222Z] 21:14:25     INFO -  /builds/worker/fetches/sccache/sccache /builds/worker/fetches/clang/bin/i686-w64-mingw32-clang++ -shared -Wl,--out-implib -Wl,libxul.a -Wl,-pdb,xul.pdb -o xul.dll @/builds/worker/workspace/obj-build/toolkit/library/gtest/xul_dll.list xul.dll.res  -Wl,--no-insert-timestamp -Wl,--large-address-aware -Wl,--icf=safe -fstack-protector-strong -Wl,--dynamicbase -Wl,-Xlink=-DELAYLOAD:avrt.dll -Wl,-Xlink=-DELAYLOAD:comdlg32.dll -Wl,-Xlink=-DELAYLOAD:credui.dll -Wl,-Xlink=-DELAYLOAD:d3d11.dll -Wl,-Xlink=-DELAYLOAD:D3DCompiler_47.dll -Wl,-Xlink=-DELAYLOAD:dhcpcsvc.dll -Wl,-Xlink=-DELAYLOAD:dnsapi.dll -Wl,-Xlink=-DELAYLOAD:dwmapi.dll -Wl,-Xlink=-DELAYLOAD:dxgi.dll -Wl,-Xlink=-DELAYLOAD:gdi32.dll -Wl,-Xlink=-DELAYLOAD:hid.dll -Wl,-Xlink=-DELAYLOAD:imm32.dll -Wl,-Xlink=-DELAYLOAD:iphlpapi.dll -Wl,-Xlink=-DELAYLOAD:msi.dll -Wl,-Xlink=-DELAYLOAD:msimg32.dll -Wl,-Xlink=-DELAYLOAD:netapi32.dll -Wl,-Xlink=-DELAYLOAD:ole32.dll -Wl,-Xlink=-DELAYLOAD:oleaut32.dll -Wl,-Xlink=-DELAYLOAD:secur32.dll -Wl,-Xlink=-DELAYLOAD:setupapi.dll -Wl,-Xlink=-DELAYLOAD:shell32.dll -Wl,-Xlink=-DELAYLOAD:shlwapi.dll -Wl,-Xlink=-DELAYLOAD:urlmon.dll -Wl,-Xlink=-DELAYLOAD:user32.dll -Wl,-Xlink=-DELAYLOAD:userenv.dll -Wl,-Xlink=-DELAYLOAD:usp10.dll -Wl,-Xlink=-DELAYLOAD:uxtheme.dll -Wl,-Xlink=-DELAYLOAD:wininet.dll -Wl,-Xlink=-DELAYLOAD:winmm.dll -Wl,-Xlink=-DELAYLOAD:winspool.drv -Wl,-Xlink=-DELAYLOAD:wtsapi32.dll -Wl,-Xlink=-DELAYLOAD:oleacc.dll -Wl,-Xlink=-DELAYLOAD:api-ms-win-core-winrt-l1-1-0.dll -Wl,-Xlink=-DELAYLOAD:api-ms-win-core-winrt-string-l1-1-0.dll  ../../../js/src/build/libjs_static.a ../../../build/pure_virtual/libpure_virtual.a /builds/worker/workspace/obj-build/i686-pc-windows-gnu/debug/libgkrust_gtest.a ../../../security/libnss3.a ../../../config/external/gkcodecs/libgkcodecs.a ../../../config/external/lgpllibs/liblgpllibs.a ../../../mozglue/build/libmozglue.a   -lavrt -lksuser -lole32 -lshell32 -ldbghelp -lmpr -ladvapi32 -lkernel32 -lhid -lktmw32 -lrpcrt4 -lurlmon -lusp10 -lmsimg32 -lwinmm -lntdll -lcredui -lmsi -lbcrypt -lcrypt32 -lpropsys -lmfuuid -lwmcodecdspuuid -lstrmiids -lgdi32 -lversion -lwinspool -luserenv -luuid -lcomdlg32 -limm32 -lnetapi32 -lshlwapi -lws2_32 -ldnsapi -ldwmapi -liphlpapi -luxtheme -lsetupapi -lsecur32 -lsensorsapi -lportabledeviceguids -lwininet -lwintrust -lwtsapi32 -llocationapi -lsapi -ldxguid -ldhcpcsvc -ld3dcompiler -loleacc -loleaut32 -ldelayimp
[task 2023-08-28T21:14:25.222Z] 21:14:25    ERROR -  ld.lld: error: duplicate symbol: .weak.__ZN5rlbox24rlbox_wasm2c_initializedE.default.__ZNK7mozilla11StyleStrongINS_13ComputedStyleEEeqERKS2_
[task 2023-08-28T21:14:25.222Z] 21:14:25     INFO -  >>> defined at ../../../gfx/thebes/Unified_cpp_gfx_thebes0.o
[task 2023-08-28T21:14:25.222Z] 21:14:25     INFO -  >>> defined at ../../../dom/media/Unified_cpp_dom_media3.o
[task 2023-08-28T21:14:25.222Z] 21:14:25    ERROR -  clang-16: error: linker command failed with exit code 1 (use -v to see invocation)
[task 2023-08-28T21:14:25.222Z] 21:14:25    ERROR -  gmake[4]: *** [/builds/worker/checkouts/gecko/config/rules.mk:526: xul.dll] Error 1
[task 2023-08-28T21:14:25.223Z] 21:14:25     INFO -  gmake[4]: Leaving directory '/builds/worker/workspace/obj-build/toolkit/library/gtest'
[task 2023-08-28T21:14:25.223Z] 21:14:25     INFO -  gmake[4]: Target 'target' not remade because of errors.
[task 2023-08-28T21:14:25.223Z] 21:14:25     INFO -  gmake[4]: Target 'target' not remade because of errors.
[task 2023-08-28T21:14:25.223Z] 21:14:25    ERROR -  gmake[3]: *** [/builds/worker/checkouts/gecko/config/recurse.mk:72: toolkit/library/gtest/target] Error 2
[task 2023-08-28T21:14:31.376Z] 21:14:31     INFO -  gmake[4]: Entering directory '/builds/worker/workspace/obj-build/toolkit/library/rust'
[task 2023-08-28T21:14:31.376Z] 21:14:31     INFO -  toolkit/library/rust/force-cargo-library-build
[task 2023-08-28T21:14:31.377Z] 21:14:31     INFO -  /builds/worker/fetches/rustc/bin/cargo rustc  --frozen --manifest-path /builds/worker/checkouts/gecko/toolkit/library/rust/Cargo.toml -vv    --lib --target=i686-pc-windows-gnu --features 'gkrust-shared/gecko_debug gkrust-shared/gecko_refcount_logging gkrust-shared/simd-accel gkrust-shared/cubeb-remoting gkrust-shared/moz_memory gkrust-shared/moz_places gkrust-shared/gecko_profiler gkrust-shared/bitsdownload gkrust-shared/glean_with_gecko gkrust-shared/glean_disable_upload gkrust-shared/glean_million_queue gkrust-shared/crashreporter gkrust-shared/webmidi_midir_impl gkrust-shared/icu4x mozilla-central-workspace-hack' --
[task 2023-08-28T21:14:31.377Z] 21:14:31     INFO -         Fresh unicode-ident v1.0.6
[task 2023-08-28T21:14:31.377Z] 21:14:31     INFO -         Fresh autocfg v1.1.0 (/builds/worker/checkouts/gecko/third_party/rust/autocfg)
[task 2023-08-28T21:14:31.377Z] 21:14:31     INFO -         Fresh version_check v0.9.4
[task 2023-08-28T21:14:31.377Z] 21:14:31     INFO -         Fresh cfg-if v1.0.0
[task 2023-08-28T21:14:31.377Z] 21:14:31     INFO -         Fresh minimal-lexical v0.2.1
[task 2023-08-28T21:14:31.377Z] 21:14:31     INFO -         Fresh proc-macro2 v1.0.66
[task 2023-08-28T21:14:31.377Z] 21:14:31     INFO -         Fresh getrandom v0.2.9
[task 2023-08-28T21:14:31.377Z] 21:14:31     INFO -         Fresh glob v0.3.1
[task 2023-08-28T21:14:31.377Z] 21:14:31     INFO -         Fresh quote v1.0.28
[task 2023-08-28T21:14:31.377Z] 21:14:31     INFO -         Fresh libm v0.2.6
[task 2023-08-28T21:14:31.378Z] 21:14:31     INFO -         Fresh winapi-i686-pc-windows-gnu v0.4.0
[task 2023-08-28T21:14:31.378Z] 21:14:31     INFO -         Fresh cc v1.0.73
[task 2023-08-28T21:14:31.378Z] 21:14:31     INFO -         Fresh syn v2.0.18
[task 2023-08-28T21:14:31.378Z] 21:14:31     INFO -         Fresh num-traits v0.2.15
[task 2023-08-28T21:14:31.378Z] 21:14:31     INFO -         Fresh nom v7.1.3
[task 2023-08-28T21:14:31.378Z] 21:14:31     INFO -         Fresh winapi v0.3.9
[task 2023-08-28T21:14:31.378Z] 21:14:31     INFO -  warning: 3rd rule of macro `FN` is never used
[task 2023-08-28T21:14:31.378Z] 21:14:31     INFO -     --> /builds/worker/checkouts/gecko/third_party/rust/winapi/src/macros.rs:414:5
[task 2023-08-28T21:14:31.378Z] 21:14:31     INFO -      |
[task 2023-08-28T21:14:31.378Z] 21:14:31     INFO -  414 |     (cdecl $func:ident($($t:ty,)*) -> $ret:ty) => (
[task 2023-08-28T21:14:31.378Z] 21:14:31     INFO -      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[task 2023-08-28T21:14:31.379Z] 21:14:31     INFO -      |
[task 2023-08-28T21:14:31.379Z] 21:14:31     INFO -  note: the lint level is defined here
[task 2023-08-28T21:14:31.379Z] 21:14:31     INFO -     --> /builds/worker/checkouts/gecko/third_party/rust/winapi/src/lib.rs:7:9
[task 2023-08-28T21:14:31.379Z] 21:14:31     INFO -      |
[task 2023-08-28T21:14:31.379Z] 21:14:31     INFO -  7   | #![deny(unused, unused_qualifications)]
[task 2023-08-28T21:14:31.379Z] 21:14:31     INFO -      |         ^^^^^^
[task 2023-08-28T21:14:31.379Z] 21:14:31     INFO -      = note: `#[warn(unused_macro_rules)]` implied by `#[warn(unused)]`
INFO -  warning: 4th rule of macro `FN` is never used
[task 2023-08-28T21:14:31.379Z] 21:14:31     INFO -     --> /builds/worker/checkouts/gecko/third_party/rust/winapi/src/macros.rs:417:5
[task 2023-08-28T21:14:31.379Z] 21:14:31     INFO -      |
[task 2023-08-28T21:14:31.380Z] 21:14:31     INFO -  417 |     (cdecl $func:ident($($p:ident: $t:ty,)*) -> $ret:ty) => (
[task 2023-08-28T21:14:31.380Z] 21:14:31     INFO -      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[task 2023-08-28T21:14:31.380Z] 21:14:31     INFO -  warning: the type `D2D_SIZE_F` does not permit being left uninitialized
[task 2023-08-28T21:14:31.380Z] 21:14:31     INFO -     --> /builds/worker/checkouts/gecko/third_party/rust/winapi/src/macros.rs:222:27
[task 2023-08-28T21:14:31.380Z] 21:14:31     INFO -      |
[task 2023-08-28T21:14:31.380Z] 21:14:31     INFO -  222 |               let mut ret = $crate::_core::mem::uninitialized();
[task 2023-08-28T21:14:31.380Z] 21:14:31     INFO -      |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[task 2023-08-28T21:14:31.380Z] 21:14:31     INFO -      |                             |
[task 2023-08-28T21:14:31.380Z] 21:14:31     INFO -      |                             this code causes undefined behavior when executed
[task 2023-08-28T21:14:31.381Z] 21:14:31     INFO -      |                             help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[task 2023-08-28T21:14:31.381Z] 21:14:31     INFO -      |
[task 2023-08-28T21:14:31.381Z] 21:14:31     INFO -     ::: /builds/worker/checkouts/gecko/third_party/rust/winapi/src/um/d2d1.rs:295:1
[task 2023-08-28T21:14:31.381Z] 21:14:31     INFO -      |
[task 2023-08-28T21:14:31.381Z] 21:14:31     INFO -  295 | / RIDL!{#[uuid(0xa2296057, 0xea42, 0x4099, 0x98, 0x3b, 0x53, 0x9f, 0xb6, 0x50, 0x54, 0x26)]
[task 2023-08-28T21:14:31.381Z] 21:14:31     INFO -  296 | | interface ID2D1Bitmap(ID2D1BitmapVtbl): ID2D1Image(ID2D1ImageVtbl) {
[task 2023-08-28T21:14:31.381Z] 21:14:31     INFO -  297 | |     #[fixme] fn GetSize() -> D2D1_SIZE_F,
[task 2023-08-28T21:14:31.381Z] 21:14:31     INFO -  298 | |     #[fixme] fn GetPixelSize() -> D2D1_SIZE_U,
[task 2023-08-28T21:14:31.381Z] 21:14:31     INFO -  ...   |
[task 2023-08-28T21:14:31.381Z] 21:14:31     INFO -  318 | |     ) -> HRESULT,
[task 2023-08-28T21:14:31.381Z] 21:14:31     INFO -  319 | | }}
[task 2023-08-28T21:14:31.382Z] 21:14:31     INFO -      | |__- in this macro invocation
[task 2023-08-28T21:14:31.382Z] 21:14:31     INFO -      |
[task 2023-08-28T21:14:31.382Z] 21:14:31     INFO -  note: floats must be initialized (in this struct field)
[task 2023-08-28T21:14:31.382Z] 21:14:31     INFO -     --> /builds/worker/checkouts/gecko/third_party/rust/winapi/src/macros.rs:391:15
[task 2023-08-28T21:14:31.382Z] 21:14:31     INFO -      |
[task 2023-08-28T21:14:31.382Z] 21:14:31     INFO -  391 |               $(pub $field: $ftype,)+
[task 2023-08-28T21:14:31.382Z] 21:14:31     INFO -      |                 ^^^^^^^^^^^^^^^^^^
[task 2023-08-28T21:14:31.382Z] 21:14:31     INFO -      |
[task 2023-08-28T21:14:31.382Z] 21:14:31     INFO -     ::: /builds/worker/checkouts/gecko/third_party/rust/winapi/src/um/dcommon.rs:86:1
[task 2023-08-28T21:14:31.382Z] 21:14:31     INFO -      |
[task 2023-08-28T21:14:31.382Z] 21:14:31     INFO -  86  | / STRUCT!{struct D2D_SIZE_F {
<...>
Summary: Perma [tier 2] ld.lld: error: duplicate symbol: .weak.__ZN5rlbox24rlbox_wasm2c_initializedE.default.__ZNK7mozilla11StyleStrongINS_13ComputedStyleEEeqERKS2_ → Perma [tier 2] MinGW-clang-build | ld.lld: error: duplicate symbol: .weak.__ZN5rlbox24rlbox_wasm2c_initializedE.default.__ZNK7mozilla11StyleStrongINS_13ComputedStyleEEeqERKS2_
Flags: needinfo?(mh+mozilla)

Fixed by backing out bug 1673285

Status: NEW → RESOLVED
Closed: 1 year ago
Flags: needinfo?(mh+mozilla)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.