https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96882
Richard Earnshaw <rearnsha at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW --- Comment #3 from Richard Earnshaw <rearnsha at gcc dot gnu.org> --- LTO seems to be getting confused as to the ABI. Investigating... In the mean time, the only work-around I can think of is to remove -flto from your build.