MT-safe exceptions?

Teemu Torma tot@trema.com
Tue Sep 9 00:30:00 GMT 1997


    From:  mrs@wrs.com (Mike Stump)
    Date:  Mon, 8 Sep 1997 11:20:45 -0700

    > Since it would require special libgcc,
    
    Don't think of it as a special libgcc.  It will be the normal one,
    it's just that the normal one might need some more support code in it
    for EH.
    
Well, a libgcc compiled with threading enabled. 

This actually leads to another problem I ran a couple of days ago.
Now there is C++ code in libgcc, and because gcc has many options
that lead to binary incompability in C++ modules 
(vtable-thunks at least), it is not practical to use other than 
default options.  Other libraries like libstdc++ are easy to recompile 
with desired options, but libgcc is not.

One might think using multilibs for this purpose, but the number
of permutations will be quite high when combined to target
specific multilibs.

Teemu





More information about the Gcc mailing list