Bug#1017979: mozjs91: FTBFS on armel with gcc 12: multiple definition of `__sync_fetch_and_add_4' etc.

Simon McVittie smcv at debian.org
Tue Aug 23 21:39:50 BST 2022


Control: forwarded -1 https://bugzilla.mozilla.org/show_bug.cgi?id=1786623
Control: affects -1 + src:mozjs102

On Tue, 23 Aug 2022 at 13:23:30 +0100, Simon McVittie wrote:
> The final link fails with multiple definitions of the various atomic
> builtins:
> 
> > (.text+0x0): multiple definition of `__sync_fetch_and_add_4'; /home/smcv/mozjs91-armel/debian/build/armv5te-unknown-linux-gnueabi/release/libjsrust.a(compiler_builtins-23c2fc8f8ef06d87.compiler_builtins.bdb7b41d-cgu.153.rcgu.o):/usr/src/rustc-1.59.0/vendor/compiler_builtins/src/arm_linux.rs:94: first defined here

Reported upstream as https://bugzilla.mozilla.org/show_bug.cgi?id=1786623

> (For completeness: 91.10.0-1 and 91.12.0-1 have an additional failure
> reason involving undefined references to
> std::type_info::operator==(std::type_info const&) const, but I believe
> that was fixed in 91.12.0-2 by removing an obsolete patch.)

Correction, it was fixed by a patch removing an obsolete workaround.
Reported as https://bugzilla.mozilla.org/show_bug.cgi?id=1786621 (but we
already have a patch for this, so it's an upstream bug but not a Debian bug)

    smcv



More information about the pkg-gnome-maintainers mailing list