This is the mail archive of the
mailing list for the GCC project.
Re: [v3] patch for Missing explicit instantiations in libstdc++
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: rittle at latour dot rsch dot comm dot mot dot com (Loren James Rittle)
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sat, 8 Dec 2001 00:32:43 -0500 (EST)
- Subject: 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.
J. David Anglin firstname.lastname@example.org
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)