gcc 2.95.2 solaris7: "relocation error: ... symbol __register_frame_info"

Jeff Sturm jsturm@one-point.com
Tue Nov 6 16:54:00 GMT 2001



On Sun, 18 Nov 2001, Jay F Shachter wrote:
> I am reluctant to call this a bug, perhaps I am simply doing something 
> wrong.  Some dynamically linked executables have been failing with the 
> error message
> 
>  ld.so.1: display: fatal: relocation error: file display: symbol __register_frame_info: referenced symbol not found
>  Killed

This symbol is in libgcc.  It's hard to say what's going wrong... can
you tell us how you are compiling/linking your application?  Are you using
C, C++ compilers or both?

There are some known problems with 2.95 and shared objects.  For example,
linking a DSO built with g++ to an executable _not_ built by g++ may not
work.  Also, exceptions thrown inside one DSO cannot be caught in another.
These bugs are mostly solved in 3.0.

Jeff



More information about the Gcc-bugs mailing list