[Bug c++/22592] -fvisibility-inlines-hidden broken differently
-- What|Removed |Added CC||trapni at gentoo dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22592
[Bug c++/16625] Discarded Linkonce sections in .rodata
--- 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
[Bug c++/16625] Discarded Linkonce sections in .rodata
--- Additional Comments From trapni at gentoo dot org 2004-11-24 02:59 --- As a workaround, I just created a MyLibrary_all.cpp that #include'd all the .cpp files existing in this lib. this obviousely linked and I could work as usual (nearly).. However, I'm testing 2.15.94.0.1 now :) maybe thix fixes it. thanks, Christian Parpart. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16625
[Bug c++/16625] Discarded Linkonce sections in .rodata
--- 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
[Bug c++/16625] Discarded Linkonce sections in .rodata
--- Additional Comments From trapni at gentoo dot org 2004-11-24 07:35 --- Yeah, but I really do not know how to reproduce this bug, as the source code is really too much to say, line X is guilty. well, but what's sel-contained? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16625