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

Re: egcs package + need help



Philip Blundell <philb@gnu.org> writes:

> >I can't even figure out where that symbol is coming from.  I can't see
> >an "exception virtual table" symbol in
> >/usr/lib/gcc-lib/arm-linux/egcs-2.91.60/libstdc++.so.
> 
> Did you use the --demangle option when you looked at the symbols?  In my 
> libstdc++.so I have:
> 
> 00035464 g    DO .data  00000010 exception virtual table
> 00034758 g    DO .data  00000010 logic_error virtual table
> 00034718 g    DO .data  00000010 out_of_range virtual table
> 00030560 g    DF .text  0000002c __eh_alloc

Here, I've got:

00000000      D  *UND*  00000000 exception virtual table
0004a678 g    DO .data  00000018 exception virtual table
00040e58 g    DO .rodata        00000010 logic_error virtual table
00040e18 g    DO .rodata        00000010 out_of_range virtual table
00039bc8 g    DF .text  00000014 __eh_alloc

It seems weird to have "exception virtual table" showing up as being
both defined and undefined.

I can redo the link - and I get the same thing:

riley:~/src/egcs/egcs-1.1.1/builddir/arm-linux/libstdc++$ /home/jim/src/egcs/egcs-1.1.1/builddir/gcc/xgcc -B/home/jim/src/egcs/egcs-1.1.1/builddir/gcc/ -g -O2 -fvtable-thunks -D_GNU_SOURCE -fno-implicit-templates -Wl,-soname,libstdc++-libc6.1-1.so.2 -shared -o libstdc++-2-libc6.1-1-2.9.0.so `cat piclist` -lm

riley:~/src/egcs/egcs-1.1.1/builddir/arm-linux/libstdc++$ objdump --dynamic-syms --demangle libstdc++.so | grep 'exception virtual table'
00000000      D  *UND*  00000000 exception virtual table
0004a760 g    DO .data  00000018 exception virtual table
0004a748 g    DO .data  00000018 bad_exception virtual table

I'm using binutils 2.9.1.0.19a.

I tried downgrading to binutils 2.9.1.0.15 (from Corel), and I get the
exact same results.

Cheers,

 - Jim


Reply to: