[Bug c/100150] ice in bp_unpack_string

krzysztof.a.nowicki+gcc at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Aug 10 07:01:10 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100150

Krzysztof Nowicki <krzysztof.a.nowicki+gcc at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |krzysztof.a.nowicki+gcc@gma
                   |                            |il.com

--- Comment #14 from Krzysztof Nowicki <krzysztof.a.nowicki+gcc at gmail dot com> ---
I'm seeing this very often now on my Gentoo system after upgrading from GCC
11.1 to 11.2. The cause of this ICE is well understood - the LTO bitstream is
incompatible. I however see this as a regression, as in previous GCC upgrades
the LTO linker always explicitly complained that a static library or object has
incompatible LTO data due to being built with an earlier compiler. With the
11.1 to 11.2 transition no such error happens, but the linker ICEs.

I suspect that this has happened due to introduction of an incompatible change
in the LTO bitstream without bumping the bitstream version.

This is very annoying, as previously - with the error message - it was
immediately clear which static library or object was at fault. Now with the ICE
I need to take a guess, which of one of the many libraries on the linker
command line is the problem.


More information about the Gcc-bugs mailing list