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...