This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug sanitizer/64670] New: -fsanitize=vptr leads to "undefined reference to `typeinfo for class'"
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 19 Jan 2015 15:32:03 +0000
- Subject: [Bug sanitizer/64670] New: -fsanitize=vptr leads to "undefined reference to `typeinfo for class'"
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64670
Bug ID: 64670
Summary: -fsanitize=vptr leads to "undefined reference to
`typeinfo for class'"
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Keywords: wrong-code
Severity: normal
Priority: P3
Component: sanitizer
Assignee: unassigned at gcc dot gnu.org
Reporter: burnus at gcc dot gnu.org
CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
jakub at gcc dot gnu.org, kcc at gcc dot gnu.org
I have a class of the form
class name {
virtual ~name() {};
virtual void func() = 0;
};
Using -fsanitize=vptr leads to an "undefined reference to `typeinfo for name'".
I'll try to come up with a test case.