https://sourceware.org/bugzilla/show_bug.cgi?id=28973
Alan Modra <amodra at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |NOTABUG --- Comment #1 from Alan Modra <amodra at gmail dot com> --- The related gcc "bug" has been around since 2009, and no one wanting an improvement in the error message has been bothered enough to write a patch. Anyone hitting the error does a web search and quickly finds what "vtable for" means. That indicates to me that this linker bug will sit here forever too. I am not going to write a patch, but if someone did want to emit a slightly better message, you'd need to look at ldmain.c:undefined_symbol and match symbols starting with "_ZTV" to emit a slightly better message mentioning "the first non-pure non-inline virtual member function" of the type. I don't know how the linker can know the key function B::foo in the example. -- You are receiving this mail because: You are on the CC list for the bug.