The macros in lto-elf.c with diagnostics fatal_error ("elf"#BITS"_getshdr() failed: %s", elf_errmsg (-1));\
fatal_error ("elf"#BITS"_newehdr() failed: %s", elf_errmsg (-1));\ are not i18n-friendly; only the "elf" bit gets extracted for translation to gcc.pot. The code should explicitly say something like if (BITS == 32) fatal_error (...); else fatal_error (...); so that both messages are explicitly in the source and can be extracted for gcc.pot and translated. -- Summary: lto-elf.c i18n problems Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jsm28 at gcc dot gnu dot org OtherBugsDependingO 40883 nThis: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41636