[Bug lto/87698] [lto] Shared library build with -ffat-lto-objects generates extra global absolute symbol relocations

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Oct 23 07:19:00 GMT 2018


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?


More information about the Gcc-bugs mailing list