bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bad mangled name in shared library


From: Jon Griffiths
Subject: Bad mangled name in shared library
Date: Wed, 30 Jun 2004 00:38:44 -0700 (PDT)

Hi,

I am having trouble with a very large shared library in C++. The
library compiles and links fine, however I cannot use my debugger on
programs linked to it due to apparent errors in the stabs (I compile
with -g -gstabs+).

I'm using:
GNU ld version 2.14.90.0.7 20031029
GNU objdump 2.14.90.0.7 20031029

However the problem manifests with ld/objdump 2.13.90.0.18 as well.
I'm running GNU/Linux Mandrake 10 community.

objdump -g on the compiled .so gives:

/usr/local/lib/libagingvisual.dll.so:     file format elf32-i386

bad mangled name `12IMessageText_ZN12IMessageText11messageFileEv'
Last stabs entries before error:
n_type n_desc n_value  string
LSYM   318    0000000000000000 PPOINTS:t(4,320)=(4,314)
LSYM   318    0000000000000000 LPPOINTS:t(4,321)=(4,314)
LSYM   322    0000000000000000
tagRECT:Tt(4,322)=s16left:(5,9),0,32;top:(5,9),32,32;right:(5,9),64,32;bottom:(5,9),96,32;operator=::(4,323)=#(4,322),(4,324)=&(4,322),(4,325)=*(4,322),(4,326)=&(4,327)=k(4,322),(0,19);:_ZN7tagRECTaSERKS_;2A.;__base_ctor::(4,328)=#(4,322),(0,19),(4,325),(4,326),(0,19);:_ZN7tagRECTC2ERKS_;2A.;__comp_ctor::(4,328):_ZN7tagRECTC1ERKS_;2A.;__base_ctor::(4,329)=#(4,322),(0,19),(4,325),(0,19);:_ZN7tagRECTC2Ev;2A.;__comp_ctor::(4,329):_ZN7tagRECTC1Ev;2A.;;
LSYM   327    0000000000000000 RECT:t(4,330)=(4,322)
LSYM   327    0000000000000000 PRECT:t(4,331)=(4,325)
LSYM   327    0000000000000000 LPRECT:t(4,332)=(4,325)
LSYM   328    0000000000000000
LPCRECT:t(4,333)=(4,334)=*(4,335)=k(4,330)
LSYM   331    0000000000000000
tagRECTL:Tt(4,336)=s16left:(5,9),0,32;top:(5,9),32,32;right:(5,9),64,32;bottom:(5,9),96,32;operator=::(4,337)=#(4,336),(4,338)=&(4,336),(4,339)=*(4,336),(4,340)=&(4,341)=k(4,336),(0,19);:_ZN8tagRECTLaSERKS_;2A.;__base_ctor::(4,342)=#(4,336),(0,19),(4,339),(4,340),(0,19);:_ZN8tagRECTLC2ERKS_;2A.;__comp_ctor::(4,342):_ZN8tagRECTLC1ERKS_;2A.;__base_ctor::(4,343)=#(4,336),(0,19),(4,339),(0,19);:_ZN8tagRECTLC2Ev;2A.;__comp_ctor::(4,343):_ZN8tagRECTLC1Ev;2A.;;
LSYM   336    0000000000000000 RECTL:t(4,344)=(4,336)
LSYM   336    0000000000000000 PRECTL:t(4,345)=(4,339)
LSYM   336    0000000000000000 LPRECTL:t(4,346)=(4,339)
LSYM   338    0000000000000000
LPCRECTL:t(4,347)=(4,348)=*(4,349)=k(4,344)
EINCL  0      0000000000000000 
BINCL  0      00000000000108eb
../../dlls/agingvisual/core/base/iexcbase.hpp
BINCL  0      000000000001415c
../../dlls/agingvisual/core/base/imsgtext.hpp
LSYM   21     0000000000000000
IMessageText:Tt(35,1)=s8iocMessageFile:/0(11,59):_ZN12IMessageText14iocMessageFileE;pClText:/0(11,59),0,32;bClSuccess:/0(0,1),32,32;messageFile::(35,2)=f(11,59):_ZN12IMessageText11messageFileEv;2A?;setMessageFile::(35,3)=f(0,19):_ZN12IMessageText14setMessageFileEPKc;2A?;__base_ctor::(35,4)=#(35,1),(0,19),(35,5)=*(35,1),(0,5),(17,10),(17,10),(17,10),(17,10),(17,10),(17,10),(17,10),(17,10),(17,10),(17,10),(0,19);:_ZN12IMessageTextC2EmPKcS1_S1_S1_S1_S1_S1_S1_S1_S1_;2A.;__comp_ctor::(35,4):_ZN12IMessageTextC1EmPKcS1_S1_S1_S1_S1_S1_S1_S1_S1_;2A.;__base_ctor::(35,6)=#(35,1),(0,19),(35,5),(35,7)=&(35,8)=k(35,1),(0,19);:_ZN12IMessageTextC2ERKS_;2A.;__comp_ctor::(35,6):_ZN12IMessageTextC1ERKS_;2A.;__base_dtor::(35,9)=#(35,1),(0,19),(35,5),(0,19);:_ZN12IMessageTextD2Ev;2A.;__comp_dtor::(35,9):_ZN12IMessageTextD1Ev;2A.;operator
1::(35,10)=#(35,1),(17,10),(35,11)=*(35,8),(0,19);:_ZNK12IMessageTextcvPKcEv;2B.;text::(35,10):_ZNK12IMessageText4textEv;2B.;setDefaultText::(35,12)=#(35,1),(35,13)=&(35,1),(35,5),(17,10),(0,19);:_ZN12IMessageText14setDefaultTextEPKc;2A.;operator=::(35,14)=#(35,1),(35,13),(35,5),(35,7),(0,19);:_ZN12IMessageTextaSERKS_;2A.;successful::(35,15)=#(35,1),(0,1),(35,11),(0,19);:_ZNK12IMessageText10successfulEv;2B.;;

Googling for the error doesn't give any real clues. Does anyone have
any idea if this is a binutils or gcc bug, and how I can go about
working around it?

Regards,
Jon


=====
"Don't wait for the seas to part, or messiahs to come;
 Don't you sit around and waste this chance..." - Live

address@hidden


                
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail




reply via email to

[Prev in Thread] Current Thread [Next in Thread]