Patch-ID# 111713-13

NOTE:
***********************************************************************
READ THE TERMS OF THE AGREEMENT ("AGREEMENT") IN THE LEGAL_LICENSE.TXT
FILE CAREFULLY BEFORE USING THIS SOFTWARE. BY USING THE SOFTWARE, YOU
AGREE TO THE TERMS OF THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE
TERMS, PROMPTLY DESTROY THE UNUSED SOFTWARE.
***********************************************************************

Keywords: libc.so.5 libcrun.so.1 libcstd.so.1 libiostream.so.1
Synopsis: SunOS 5.9_x86: Shared library patch for C++_x86

Note: This patch available for SPARC as patches 111711 (32-Bit) and 111712 (64-Bit)

Date: Aug/07/2006


Install Requirements: NA                      
                      
Solaris Release: 9_x86

SunOS Release: 5.9_x86

Unbundled Product: libC

Unbundled Release: 4.0.1,4.1,4.2,5.0,5.1,5.2,5.3,5.4,5.5,5.6,5.7,5.8

Xref: 

Topic: 

Relevant Architectures: i386

BugId's fixed with this patch: 4302954 4678395 4698028 4699194 4704604 4708982 4745600 4747931 4749398 4749628 4750936 4756106 4794587 4797953 4806782 4820555 4825898 4828443 4853946 4856138 4859928 4861853 4864189 4876793 4884516 4886310 4894898 4918858 4919536 4945288 4949404 4951789 4953582 4953639 4957415 4962360 4965215 4967333 4980736 4997504 5001937 5019613 5019752 5032521 5034760 5037790 5039540 5041951 5109951 6242459 6244128 6244223 6244286 6253345 6274396 6283644 6300352 6304703 6319635 6326163 6339010 6393170 6406049

Changes incorporated in this version: 6393170 6406049

Patches accumulated and obsoleted by this patch: 

Patches which conflict with this patch: 

Patches required with this patch: 

Obsoleted by: 

Files included with this patch: 

/usr/include/demangle.h
/usr/lib/libC.so.5
/usr/lib/libCrun.so.1
/usr/lib/libCstd.so.1
/usr/lib/libdemangle.so.1
/usr/lib/libiostream.so.1

Problem Description:

6393170 Purify reporting "array bound writes" on deque template in libCstd
6406049 libCstd: acquiring a mutex on a deleted locale object causes core dump
 
(from 111713-12)
6244286 C++ libCstd find_last_not_of wrong result (see CR 6244128)
6274396 applying patch 108434-19 causes Star Office to dump core
6304703 sort() hang in libCstd
6326163 C++ exception propagates outside of destructor, while "stack unwinding"
6339010 SEGV during destruction of exception object containing a deque
 
(from 111713-11)
6283644 process cores when C++ library patch 111711-09 or above is installed 
6300352 <set> with +w2 generates many warnings 
6319635 void stream_rmutex::rmutex_init() should call pthread_mutexattr_destroy()
 
(from 111713-10)
6242459 gcount() does not return 0 when unformatted input fails
6244128 C++ libCstd find_last_not_of wrong result
6244223 Unreasonably amount of time spent in _memcpy
6253345 typo in error message
 
(from 111713-09)
5041951 std::string destructor abort on freeing memory in multithreaded environment
5109951 libC patches such as 108434-17 break C++ 4.2 binary exception handling
 
(from 111713-08)
4957415 Incomplete extern inline.
4678395 compiling with -p (-xpg) -xarch=v8plusa (v8plusb) gives undefined symbols
4962360 static inline functions given global linkage
4997504 Problems with istream::readsome() in libCstd
4859928 lapack++_1.1a: gcc compilers are 3-4 times faster
5019752 unsync_stdio.o not built with -xarch=v8
5032521 default libCstd library search is inconsistent with driver
5037790 Revert to old library structure.
4980736 +d2 fails to emit all functions
5034760 Compiler forces local binding for inline functions while using xldscope flags
5039540 failed to build Mico and Orbacus with with -xldscope=sympolic
5001937 dlopen/dlclose a C++ shared lib causes MT C program to SEGV
 
(from 111713-07)
5019613 ostrstream writes NULL terminator into char array
 
(from 111713-06)
4945288 Sdtimage crash when opening *.tif and *.gif file.
4967333 internal use of clog/__clog in -lC/-liostream should bind to its own copy
 
(from 111713-05)
4949404 numeric_limits doesn't understand 64 bit integers
4951789 incorrect value for numeric_limits::is_modulo
4953582 stringstream::seekg() does not set the current pointer at the designated positio
4953639 istream::getline reads upto n-2 characters where n is buffer size
4965215 cerr hanging if interupted by a signal
 
(from 111713-04)
4886310 Overloading ambiguity error with usage of template function with const vector
4884516 libCstd vector class does not pass correct size to deallocator
4894898 the fixes for bugs 4856138 and 4876793 break binary compatibility
4918858 incorrect use of "typename" in standard headers
4876793 second argument to deallocate() should be the strings capacity NOT length
4919536 libCstd does not provide enough overloads of operator>() for fpos
4864189 numeric_limits denorm_min incorrectly returns zero
 
(from 111713-03)
4825898 C++ runtime performace standard iostream is much slower than classic iostream
4828443 incorrect number of characters outputed after fix of bug 4747931
4853946 static template class variable must be __global when use -xldscope=symbolic
4856138 libCstd string class does not pass correct size to deallocator
4861853 SUNW_1.2 version in libCrun.so.1 on Solaris 2.6 is not found in newer Solaris OE
 
(from 111713-02)
4794587 ostream "internal" padding incorrect for hex
4797953 c++: -mt option causes not to catch std::bad_alloc exception.
4806782 -xport64 generates warnings from standard headers
4820555 error in InterlockedDecrement()
 
(from 111713-01)
4302954 Memory leak in stream classes
4698028 RTC reports rua error for program using deque
4699194 reverse_iterator<...>::self should be public
4704604 C++ 5.0 onwards: cin>> assignments to long long do not return error.
4708982 Patched version of libCstd.so.1 is compiled for sparcv8plus
4745600 problem with rdbuff being used to redirect stderror
4747931 deriving from std::strstreambuf yields core dump
4749398 low performance of the standard template class string.
4749628 C++ 5.3 runtime performance insertion into ostrstream is slow
4750936 basic_string assumes int converts to char_type
4756106 problem in std library with customer allocator

Patch Installation Instructions:
--------------------------------
For Solaris 8 release, refer to the man pages for instructions on
using 'patchadd' and 'patchrm' scripts provided with Solaris.
Any other special or non-generic installation instructions should be
described below as special instructions.  The following example
installs a patch to a standalone machine:
 
        example# patchadd /var/spool/patch/104945-02
 
The following example removes a patch from a standalone system:
 
        example# patchrm 104945-02
 
For additional examples please see the appropriate man pages.

Special Install Instructions:
-----------------------------
 
If you are compiling, linking or running executable images
that have been compiled using -xarch=v9 or -xarch=v9a, it
is strongly recommend that you also install the most recent
version of patch 111712, the corresponding sparcv9-S2 patch to the
one for 32-bit Solaris 9 (111711) .

README -- Last modified date:  Monday, August 7, 2006

