https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65539
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- /var/tmp/portage/sys-devel/gcc-4.10.0_pre20150322/ Perhaps time to change the version number you're using? 4.10.0 is dead, long live 5.0. Anyway, guess it is much easier for the non-LTO case, just build both with 4.9.x and 5.0, and attach 5.0 produced preprocessed source + command line options for: 1) one object where in 4.9.x it used to contain undefined reference to it and does so still in 5.0 2) another object where in 4.9.x it provided the symbol definition, but doesn't anymore