g++-mike-eh8-C test failure

John David Anglin dave@hiauly1.hia.nrc.ca
Fri Apr 28 13:32:00 GMT 2000


> > But all calls to eh_context_static should be through other functions in
> > libgcc which are not static, like __get_eh_info.  Can you do backtraces so
> > we can see where the two copies are being called from?
> 
> I added verbose output to the linker to try to find where things go wrong.
> It appears trouble starts when __main.o is loaded from libgcc.a to resolve
> __main.  This pulls in tinfo2.o, _ctors.o, _exit.o, tinfo.o, _eh.o,
> lib2funcs.o, opdel.o and exception.o from libgcc.a (see below).  __main
> is the only symbol imported in eh8.s which is not in libstdc++.sl.

Changed my mind.  The problem appears to be caused by the selection of
tinfo2.o in libgcc.a to resolve "char type_info node" (__tic).

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)


More information about the Gcc-patches mailing list