__eh_pc problem with SCO_SV

Robert Lipe robertl@dgii.com
Sat Oct 3 20:52:00 GMT 1998


Ruslan Shevchenko wrote:
> egcs-1.1 release on SCO Open Server.
> 
> when I tried to compile and link some programms (not all) 
> I receive linker_eror about undefined_symbol __eh_pc.
> ...
>    1. is this known problem ?

Lots of other peple are successfully using EGCS 1.1 on OpenServer.
It passes most of the testsuite and I haven't heard from others with
similar problems.

>    2. what is  __eh_pc itself ?

A distant memory.  According to gcc/ChangeLog, eh_pc was deleted from
libgcc2 on Dec 11, 1997.

>    3. how to debug this situation ?

My guess is that you're mixing new compilers and old libraries.  You
probably have an old libgcc.a somewhere that it's finding.  Use gcc -v
to see the exact linker line generated so you can see the search paths.

If you really that you're not chasing an installation error, submit a
testcase.  There are several OpenServer users on this list.  One or more
of us can check your testcase against our 1.1 installations.





More information about the Gcc mailing list