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

Bug#141213: g++-3.0: coredump with dynamic_cast



On Fri, Apr 05, 2002 at 09:18:47AM +0100, Philip Blundell wrote:
> On Fri, 2002-04-05 at 08:16, Zdenek Kabelac wrote:
> > Hmm looks like it - but there are two interesting points however
> > - somehow I've not noticed this report while using reportbug
> > - I do not link  libGLU to avifile - but as it's linked with libSDL
> >   libGL seems to be linked with the program - but no libGLU is shown
> >   with ldd (here is the output:
> > 
> 
> Can you inspect libGL (with objdump --dynamic-syms or something) to find
> out whether it also exports symbols that it shouldn't?

Hmm - I'm using just standard unstable Debian - so you should be able
to see which symbols are present there (unless you do not have libGL installed)

I do not know which symbols shouldn't be exported by libGL - but
dynamic_cast is definitely not in them - moreover it's not present 
in any other library linked with avifile except
/usr/lib/libstdc++-libc6.2-2.so.3  

As I said I've currently removed the need of this in my avifile project
however my second project is quite based on the proper functionality
of this casting - as it's using it for object identification
(thus saving one member value for typeof)

-- 
  .''`.  Which fundamental human right do you want to give up today?
 : :' :      Debian GNU/Linux maintainer - www.debian.{org,cz}
 `. `'  Zdenek Kabelac  kabi@{debian.org, users.sf.net, fi.muni.cz}
   `-              When in doubt, just blame the Euro. :)


-- 
To UNSUBSCRIBE, email to debian-gcc-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: