This is the mail archive of the egcs@egcs.cygnus.com mailing list for the EGCS project. See the EGCS home page for more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: __eh_pc undefined is very painful!


> But this is so painful!!  What does __eh_pc do?

__eh_pc is a global variable used for exception handling. Because it
is a global variable, it is not thread-safe. It has been superceded by
a number of functions starting with __eh.

> Can't you stub it?  Or something?

I don't think so. egcs 1.0 (i.e. gcc 2.8) and egcs 1.1 are not binary
compatible. You need to recompile everything, or you must not use egcs
1.1. You can find the relevant code in libgcc2.c, if you come up with
a solution that satisfies you, please let us know.

> At least this should be in the FAQ...

This isn't such a frequent question ... people typically recompile
everything, and don't see the problem. Or they do, and recompile
without asking. Anyway, an entry to the FAQ is also appreciated.

Regards,
Martin