https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50199
--- Comment #24 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Another option is to silently force -flto-partition=none (or would -flto-partition=1to1 work too?) if !flag_merge_constants or HAVE_GAS_SHF_MERGE is not defined. Or silently turn on flag_merge_constants (set to 1 if 0) in lto compilation, and/or force -flto-partition=none (or 1to1) if HAVE_GAS_SHF_MERGE is not defined. Honza/Richard, what do you prefer here?