This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [v3] patch for Missing explicit instantiations in libstdc++


> > /usr/ccs/bin/ld: Unsatisfied symbols:
> >   std::_Swap_lock_struct<0>::_S_swap_lock       (data)
> >
> > I don't have much time to look at this in the next few days but possibly
> > the test should check whether __GTHREAD_MUTEX_INIT is defined.  This build
> > was done with `Thread model: single'.
> 
> Um, I don't expect anyone to remember any particular e-mail, but this
> failure on your platform was mentioned when I checked in ext/rope.cc:

Yes, I recall your e-mail which is why I suggested disabling the test.
I was in fact think of the behavior with DCE threads under hpux 10.20.

However, this test was done with hpux 11.11.  Currently, there is no
support any thread model except SINGLE under hpux 11.11.  It appears
__GTHREAD_MUTEX_INIT should be defined in this case.  However, it wasn't.
So, there is a problem.

A brief examination this evening seems to indicate that Phil is correct
about the code being elided in globals.cc.  There definitely isn't any
thread related code in globals.o.

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


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