Question about gcc/STL/Solaris 2.6

Jeff LeBlanc jleblanc@elronsw.com
Wed Jan 10 14:06:00 GMT 2001


Hello all,

We are currently trying to compile and run a multi-threaded application
using STL, under Solaris.  More specifically, we are getting corrupt
memory problems with items stored in vectors, after we've done deletions
in the vector.  We are getting a run-time SEGV, either in the STL
library or in our code that uses the item that are stored in the
vector.  Some of the combinations of library, compiler, and OS we
compiled under are:

STL 2.8.0, gcc 2.8.0, compile on Solaris 2.6:  segv
STL 2.8.1, gcc 2.8.1, compile on Solaris 2.6:  segv
STL 2.10 (latest?), gcc 2.95.2, compile on Solaris 2.6:  segv
STL 2.8.1, gcc 2.8.1, compile on Solaris 2.6, but run on 2.7:  works
fine

Are they any known problems with these versions of STL under that rev of
Solaris, or with that compiler?  I'm mainly looking for known problems I
should be aware of using STL on Solaris or obvious patches I should have
installed.

Thanks in advance,

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
= Jeff LeBlanc                Snailnet: 7 New England Executive Park  =
= Senior Software Engineer              Burlington, MA, 01803         =
= Elron Software Inc.         Internet: jleblanc@elronsw.com          =
=                             Yellnet:  +1 781 993 6000 x5412         =
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=




More information about the Libstdc++ mailing list