public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Problem with static link with gcc-3.4.2 : typeinfo for ...:  discarded in section .gnu.linkonce.r._
@ 2004-12-02  9:17 Evgenia Abramov
  0 siblings, 0 replies; only message in thread
From: Evgenia Abramov @ 2004-12-02  9:17 UTC (permalink / raw)
  To: gcc-help

Hi,

I use compiler gcc-3.4.2 on EM64T machine.

One of my static compilation ( shared link passed OK) I receive several errors like the following:

typeinfo for UcmNetOcc: discarded in section `.gnu.linkonce.r._ZTI9my_symbol' from /tmp/outdir/libXX.a(X.o)

Where the library /tmp/outdir/libXX.a and also the object X.o contain the following reference to my_symbol:
> nm /tmp/outdir/libXX.a | grep ZTI9my_symbol | c++filt
0000000000000000 V typeinfo for my_symbol

Does anybody know what is wrong here? What does this error message mean?

Additional data on my build environment:
> g++ --version
g++ (GCC) 3.4.2
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

>ld --version
GNU ld version 2.15.90.0.1.1 20040303 (SuSE Linux)
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.

> uname -a
Linux itstl904 2.6.5-7.108lxset1-smp #1 SMP Wed Aug 25 13:34:40 UTC 2004 x86_64 x86_64 x86_64 GNU/Linux

Thanks,
Genia

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-12-02  9:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-02  9:17 Problem with static link with gcc-3.4.2 : typeinfo for ...: discarded in section .gnu.linkonce.r._ Evgenia Abramov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).