https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94342
--- Comment #10 from Anton <bikineev at google dot com> --- I think there are two ways to handle the problem for targets that don't support COMDAT: 1) issue a diagnostic that the section attribute will be ignored (because it'll go to .gnu.linkone.*); 2) fallback to weak symbols (which IIUC would be not space efficient).