http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59469
--- Comment #42 from Markus Trippelsdorf <trippels at gcc dot gnu.org> --- Ah, I see what's wrong. The following patch fixes the issue: diff --git a/gcc/lto/lto-partition.c b/gcc/lto/lto-partition.c index 6b2d488ed090..bc192d0467b3 100644 --- a/gcc/lto/lto-partition.c +++ b/gcc/lto/lto-partition.c @@ -98,6 +98,7 @@ get_symbol_class (symtab_node *node) Those do not need duplication. */ if (DECL_COMDAT (node->decl) && !node->force_output + && !node->forced_by_abi && !symtab_used_from_object_file_p (node)) return SYMBOL_DUPLICATE;