Summary: | globbing in linker script doesn't match C++ vtable/typeinfo/etc. | ||
---|---|---|---|
Product: | binutils | Reporter: | Thiago Macieira <thiago> |
Component: | ld | Assignee: | unassigned |
Status: | NEW --- | ||
Severity: | normal | CC: | bug-binutils, pluto, vapier |
Priority: | P2 | ||
Version: | 2.19 | ||
Target Milestone: | --- | ||
See Also: | http://bugs.debian.org/236764 | ||
Host: | i586-manbo-linux-gnu | Target: | i586-manbo-linux-gnu |
Build: | i586-manbo-linux-gnu | Last reconfirmed: |
Description
Thiago Macieira
2009-06-24 13:27:54 UTC
Anything? It's nearly impossible to write proper export whitelists in C++ with this bug. I like your proposed change, but you are asking for a change to libiberty, specifically cp-demangle.c:c_print_comp. This has the potential to affect more than just ld. For instance, I know that the gcc testsuite would need adjusting if this change was made unconditionally. I suggest that you raise this issue on gcc@gcc.gnu.org, preferably supplying a libiberty patch, to gain the attention of c++ and libiberty maintainers. You're probably not going to get any traction on this problem otherwise. we've seen people ask for this in other places too (and i noticed because i wanted this behavior myself just now) http://www.cygwin.com/ml/binutils/2007-07/msg00402.html |