[Bug target/68662] [6 regression] FAIL: gcc.dg/lto/20090210 c_lto_20090210_0.o-c_lto_20090210_1.o link, -O2 -flto -flto-partition=none -fuse-linker-plugin -fno-fat-lto-objects

hubicka at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jan 18 19:47:00 GMT 2016


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

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|lto                         |target

--- Comment #3 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
OK, this looks more like target issue  so I am changing component. flag_pic is
a global option and it is merged by the lto wrapper and corrected based on the
linker output. Because static executable is built, flag_pic should be 0. 

Targets must be ready for -fPIC being different at compile time and link time
and ought to honor the link time setting...


More information about the Gcc-bugs mailing list