http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59469
Rafael Avila de Espindola <rafael.espindola at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rafael.espindola at gmail dot com --- Comment #24 from Rafael Avila de Espindola <rafael.espindola at gmail dot com> --- (In reply to Jan Hubicka from comment #22) > 00010 // This file implements the stickier parts of the > SymbolTableListTraits class, > 00011 // and is explicitly instantiated where needed to avoid defining all > this code > 00012 // in a widely used header. > > I would thus say that libLLVMAsmParser.s misses the explicit instantiation > in it? It looks like the expected/correct result is for libLLVMAsmParser.so to have an undefined reference that is satisfied by a definition in libLLVMCore.so. The definition should come from an explicit template instantiation in Function.cpp. Markus, do you see the definition in Function.o? What about libLLVMCore.so?