thread safe exception handling patch -- help needed.
Sundar Narasimhan
sundar@ascent.com
Thu Jan 15 16:30:00 GMT 1998
Hi, I have been unsuccessful in getting the thread safe exception
handling patch working here. I noticed that frame.c was modified by
this patch, and just for the heck of it, nm'ed the frame.o in libgcc.a
(in the threaded directory) and was quite surprised to see that it
didn't have things like object_mutex defined.. even though the code
had it as clear as can be.
I then searched the log file and verified that it was being compiled
with something like the line shown below..
./xgcc -B./ -O2 -DIN_GCC -g -I./include -g1 -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -fexceptions -I. -I. -I./config -c frame.c
Unfortunately, it would appear that a lot of the symbols I need (such
as __gthread_mutex_t etc.) are not really defined. The above xgcc
command just aborts without giving any sort of error -- and the .o
that gets written out and silently included into ligcc.a does not have
the symbols I would expect. (Where are the __gthread_* symbols defined
-- is there some gnu threads library I should be using? I've searched
things like the ChangeLog and info files -- and there's NO info on any
of this).
What's going on here? How is this stuff intended to work, if such
errors are not reported?
ps. please send me email directly -- I've removed myself from this
list, and am one step away from doing rm -rf egcs*. Sigh, a great
promise, but pretty pathetic execution.
More information about the Gcc
mailing list