Bug#1015431: js8call: ftbfs with LTO (link time optimization) enabled
On Tue, Jul 19, 2022 at 04:53:01PM +0000, Matthias Klose wrote:
> Package: src:js8call
> Version: 2.2.0+ds-2
> Severity: minor
> Tags: sid bookworm
> User: debian-gcc@lists.debian.org
> Usertags: ftbfs-lto
This appears to be of the type documented as a known issue in the wiki:
> C++ symbols files differ, usually because some symbols for template
> instantiations are optimized out.
The template destructor for ~pimpl() is being optimized away. I have
forwarded it to upstream as a bug.
For the time-being, I am explicitly adding `optimize=-lto` to
debian/rules.
Reply to: