http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51333
David Kastrup <dak at gnu dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work|4.5.2 | --- Comment #2 from David Kastrup <dak at gnu dot org> 2011-11-28 15:25:03 UTC --- I am more surprised that actual demangling applications work without -lsupc++ as long as -fkeep-inline-functions is not used. It is good to have a solution (even if its necessity depends on the compilation options in a non-obvious way), but the actual error message certainly does not particularly help in figuring out the problem. I have to take back "works with 4.5.2" since I forgot that I used -fkeep-inline-functions only once I needed to work around a 4.6.1 bug. So I actually have no data point when this option would have worked with the given test file. Probably that renders this particular report "invalid", but somebody really should try making the link error message more intelligible.