This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16625] Discarded Linkonce sections in .rodata
- From: "trapni at gentoo dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Nov 2004 09:19:20 -0000
- Subject: [Bug c++/16625] Discarded Linkonce sections in .rodata
- References: <20040719105906.16625.wenzel@tu-harburg.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From trapni at gentoo dot org 2004-11-23 09:19 -------
I'm having the (NEARLY?) same problem, using gcc 3.4.3
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld:
`typeinfo for CodeDOM::TAttribute'referenced in section
`.gnu.linkonce.d._ZTVN7CodeDOM10TAttributeE' of .libs/TAttribute.o: defined in
discarded section `.gnu.linkonce.d._ZTIN7CodeDOM10TAttributeE'
of .libs/TAttribute.o
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld:
`typeinfo for CodeDOM::TAttribute'referenced in section
`.gnu.linkonce.d._ZTVN7CodeDOM10TAttributeE' of .libs/TAttribute.o: defined in
discarded section `.gnu.linkonce.d._ZTIN7CodeDOM10TAttributeE'
of .libs/TAttribute.o
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld:
`typeinfo for CodeDOM::TAttribute'referenced in section
`.gnu.linkonce.d._ZTVN7CodeDOM10TAttributeE' of .libs/TAttribute.o: defined in
discarded section `.gnu.linkonce.d._ZTIN7CodeDOM10TAttributeE'
of .libs/TAttribute.o
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld:
`typeinfo for CodeDOM::TParamSym' referenced in section
`.gnu.linkonce.d._ZTIPN7CodeDOM9TParamSymE' of .libs/TCastDef.o: defined in
discarded section `.gnu.linkonce.d._ZTIN7CodeDOM9TParamSymE'
of .libs/TParamSym.o
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld:
`typeinfo for CodeDOM::TClassDef' referenced in section `.text'
of .libs/TClassName.o: defined in discarded section
`.gnu.linkonce.d._ZTIN7CodeDOM9TClassDefE' of .libs/TClassDef.o
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: BFD
2.15.92.0.2 20040927 internal error, aborting at elf32-i386.c line 2224 in
elf_i386_relocate_section
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld:
Please report this bug.
I first thought it would be a bug in binutils (ld), because he complained
about.
Is there any wayt to code around this bug? I'm forced to stop coding until this
is fixed :(((
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |trapni at gentoo dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16625