[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/568] typeinfo for MYTYPE referenced in section FOO of myfile.o:
From: |
trapni at gentoo dot org |
Subject: |
[Bug ld/568] typeinfo for MYTYPE referenced in section FOO of myfile.o: defined in discarded section BAR of foo2.o |
Date: |
23 Nov 2004 07:26:26 -0000 |
------- Additional Comments From trapni at gentoo dot org 2004-11-23 07:26
-------
I now tested it with sys-devel/binutils-2.14.90.0.8-r1; and get the same error;
just the output slightly different formatted.
However, when I exclude the .o modules he complains about, it finds others, if
I remove *all* .o modules he complains about, it really links.
but now, my library is disfunctional.
the output for given binutils version:
typeinfo for CodeDOM::TAttribute: discarded in section
`.gnu.linkonce.d._ZTIN7CodeDOM10TAttributeE' from .libs/TAttribute.o
typeinfo for CodeDOM::TParamSym: discarded in section
`.gnu.linkonce.d._ZTIN7CodeDOM9TParamSymE' from .libs/TParamSym.o
typeinfo for CodeDOM::TClassDef: discarded in section
`.gnu.linkonce.d._ZTIN7CodeDOM9TClassDefE' from .libs/TClassDef.o
typeinfo for CodeDOM::TLocalSym: discarded in section
`.gnu.linkonce.d._ZTIN7CodeDOM9TLocalSymE' from .libs/TLocalSym.o
collect2: ld returned 1 exit status
$ gcc -v
Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/specs
Configured with: /var/tmp/portage/gcc-3.4.3/work/gcc-3.4.3/configure
--enable-version-specific-runtime-libs --prefix=/usr
--bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.4
--includedir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4/info
--with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include/g++-v3
--host=i686-pc-linux-gnu --disable-altivec --enable-nls
--without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu
--enable-shared --with-system-zlib --disable-checking
--disable-werror--disable-libunwind-exceptions --enable-threads=posix
--disable-multilib --disable-libgcj --enable-languages=c,c++,f77
Thread model: posix
gcc version 3.4.3 (Gentoo Linux 3.4.3, ssp-3.4.3-0, pie-8.7.6.6)
regards,
Christian Parpart.
--
http://sources.redhat.com/bugzilla/show_bug.cgi?id=568
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.