https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119816
Sam James <sjames at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|INVALID |--- Ever confirmed|0 |1 Last reconfirmed| |2025-04-15 Status|RESOLVED |WAITING --- Comment #3 from Sam James <sjames at gcc dot gnu.org> --- FWIW, this can often happen with e.g. ccache too. But what you're seeing is gcc trying to unpack the IR stored in one of the objects on disk and failing. It's very unexpected for that to fail for a *just-written* object. In your output, what is libfoo.a built from? Does it include some other .a?