Undefined symbol: vtable error with 3.2.2/3.3 on AIX 5.1

Joerg.Richter@pdv-FS.de Joerg.Richter@pdv-FS.de
Thu Jun 5 14:42:00 GMT 2003


Hi Albert,

I got the same problem 2 days ago. Look at my post in the gcc-help mailing
list.

I came to the conclusion, that AIX-ld with option -bexpall does not export
all symbols as it should. The missing symbols are always one of typeinfo,
typename or vtable. I dont know why. Perhaps G++ marks them somewhat wrong.

I use now the workaround that i simulate the -bexpall option by wrapping the
linker call to g++. This wrapper creates an export file with all global
symbols. This export file is then an additional parameter to the AIX linker.

This helps with linking. But i still have problems running the executables
in case of exceptions. It seems like they don't get catched when thrown over
shared library borders. But i can't reproduce it in a small testcase.


Bye

  Jörg Richter 



More information about the Gcc mailing list