Bug#978354: mozjs78: FTBFS: dwz: debian/libmozjs-78-0/usr/lib/x86_64-linux-gnu/libmozjs-78.so.78.4.0: Couldn't find DIE referenced by DW_AT_abstract_origin

Simon McVittie smcv at debian.org
Sun Dec 27 13:00:14 GMT 2020


Control: forwarded -1 https://github.com/rust-lang/rust/issues/66118
Control: clone -1 -2
Control: retitle -2 rustc: generates invalid DWARF with LTO enabled (dwz: Couldn't find DIE referenced by DW_AT_abstract_origin)
Control: severity -2 important
Control: reassign -2 rustc 1.48.0+dfsg1-2

On Sat, 26 Dec 2020 at 23:04:06 +0100, Lucas Nussbaum wrote:
> >    dh_dwz -a -O--sourcedirectory=/<<PKGBUILDDIR>>/js/src -O--builddirectory=/<<PKGBUILDDIR>>/debian/build
> > dwz: debian/libmozjs-78-0/usr/lib/x86_64-linux-gnu/libmozjs-78.so.78.4.0: Couldn't find DIE referenced by DW_AT_abstract_origin
> > dh_dwz: error: dwz -- debian/libmozjs-78-0/usr/lib/x86_64-linux-gnu/libmozjs-78.so.78.4.0 returned exit code 1

I can reproduce this. It looks like the same issue that is already worked
around on riscv64 by using -Clto=thin, but now it's on amd64 too.

I'll try to work around it by using -Clto=thin on all architectures. If
that doesn't work, we can try disabling dwz entirely.

    smcv



More information about the pkg-gnome-maintainers mailing list