This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/33871] New: typeinfo name referenced in ... defined in discarded section
- From: "bero at arklinux dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Oct 2007 17:10:41 -0000
- Subject: [Bug c++/33871] New: typeinfo name referenced in ... defined in discarded section
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Compiling id3lib 3.8.3 (http://id3lib.sf.net/) with gcc 4.3 fails with
`typeinfo name for (anonymous namespace)::ConstIteratorImpl' referenced in
section `.data.rel.ro' of .libs/tag.o: defined in discarded section
`.rodata._ZTSN12_GLOBAL__N_117ConstIteratorImplE[typeinfo name for (anonymous
namespace)::ConstIteratorImpl]' of .libs/tag.o
`typeinfo name for (anonymous namespace)::IteratorImpl' referenced in section
`.data.rel.ro' of .libs/tag.o: defined in discarded section
`.rodata._ZTSN12_GLOBAL__N_112IteratorImplE[typeinfo name for (anonymous
namespace)::IteratorImpl]' of .libs/tag.o
during the final link. [Sorry, no reduced testcase yet]
--
Summary: typeinfo name referenced in ... defined in discarded
section
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bero at arklinux dot org
GCC build triplet: i586-pc-linux-gnu
GCC host triplet: i586-pc-linux-gnu
GCC target triplet: i586-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33871