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: 24 Nov 2004 03:19:18 -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-24 03:19 -------
Well, no. it doesn't work with that binutils:
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld:
`typeinfo for CodeDOM::TClassDef' referenced in section
`.gnu.linkonce.t._ZNK6System13Serialization18TSerializationInfo15getStrictObjectIN7CodeDOM9TClassDefEEEPT_RKNS_11TStringBaseIcEE'
of .libs/TAttribute.o: defined in discarded section
`.gnu.linkonce.d._ZTIN7CodeDOM9TClassDefE'
of ./.libs/libCodeDOM_def.a(TClassDef.o)
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: BFD
2.15.94.0.1 20041121 internal error, aborting
at /var/tmp/portage/binutils-2.15.94.0.1/work/binutils-2.15.94.0.1/bfd/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.
collect2: ld returned 1 exit status
I would like to reproduce this within a little 2-file demo
if would just know WTF this bug raises.
I guess, giving you my sources doesn't help, does it? in
order to find the bug, I mean.
Greets,
Christian Parpart.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16625