https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87698
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |lto CC| |rguenth at gcc dot gnu.org --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- Aren't you comparing apples and oranges? A shared library build with -flto -ffat-lto-objects but linked with -fno-lto will produce a shared library as built _without_ -flto but with LTO bytecode sections. A shared library build with -flto -fno-fat-lto-objects will be a shared library as built with -flto. So of course the actual shared library .text will differ?