From mboxrd@z Thu Jan 1 00:00:00 1970 From: "John David Anglin" To: dave@hiauly1.hia.nrc.ca (John David Anglin) Cc: jason@cygnus.com, law@cygnus.com, gcc-patches@gcc.gnu.org, egcs-bugs@egcs.cygnus.com Subject: Re: g++-mike-eh8-C test failure Date: Fri, 28 Apr 2000 13:32:00 -0000 Message-id: <200004282031.QAA15035@hiauly1.hia.nrc.ca> References: X-SW-Source: 2000-04/msg01210.html > > 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)