Patch-ID# 108434-22

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.8: 32-Bit Shared library patch for C++

Note: 108435-22 is the corresponding 64-bit patch

Date: Aug/01/2006


Install Requirements: NA                      
                      
Solaris Release: 8

SunOS Release: 5.8

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: sparc

BugId's fixed with this patch: 4199587 4205763 4271402 4285270 4302954 4318566 4338406 4347621 4351467 4353299 4358182 4368974 4375346 4380359 4381048 4383064 4384942 4386796 4388216 4391089 4398422 4409167 4413674 4418755 4423447 4432338 4448928 4462258 4466915 4467478 4485163 4486320 4493832 4496576 4496848 4518910 4520126 4522461 4528281 4531069 4589227 4614582 4618537 4619221 4619891 4624113 4627871 4641533 4660290 4668167 4678395 4679619 4680478 4686364 4698028 4699194 4704604 4708982 4709155 4710815 4745600 4747931 4749398 4749628 4750936 4756106 4794587 4797953 4806782 4820555 4825898 4828443 4851358 4853946 4856138 4859928 4861853 4886310 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 6304703 6319635 6326163 6339010 6393170 6406049 6421790

Changes incorporated in this version: 6319635 6393170 6406049 6421790

Patches accumulated and obsoleted by this patch: 

Patches which conflict with this patch: 

Patches required with this patch: 109147-07 (or greater)

Obsoleted by: 

Files included with this patch: 

/usr/include/demangle.h
/usr/lib/cpu/sparcv8plus/libCstd_isa.so.1
/usr/lib/libC.so.5
/usr/lib/libCrun.so.1
/usr/lib/libCstd.so.1
/usr/lib/libExbridge.so
/usr/lib/libExbridge.so.1
/usr/lib/libdemangle.so.1
/usr/lib/libiostream.so.1

Problem Description:

6319635 void stream_rmutex::rmutex_init() should call pthread_mutexattr_destroy()
6393170 Purify reporting "array bound writes" on deque template in libCstd
6406049 libCstd: acquiring a mutex on a deleted locale object causes core dump
6421790 Throwing an exception causing SIGABRT on Solaris 8 with patch 108434-20/108435-20
 
(from 108434-21)
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 108434-20)
6242459 gcount() does not return 0 when unformatted input fails
6244128 C++ libCstd find_last_not_of wrong result
6253345 typo in error message
 
(from 108434-19)
6244223 Unreasonably amount of time spent in _memcpy
 
(from 108434-18)
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 108434-17)
4886310 Overloading ambiguity error with usage of template function with const vector
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 108434-16)
5019613 ostrstream writes NULL terminator into char array
 
(from 108434-15)
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 108434-14)
4918858 incorrect use of "typename" in standard headers
4919536 libCstd does not provide enough overloads of operator>() for fpos
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 108434-13)
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
nobugid Defend against tail-call optimization.
 
(from 108434-12)
4851358 C++ 5.0 binaries fail after installing 108434-11
 
(from 108434-11)
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 108434-10)
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
 
(from 108434-09)
4619221 New C++ apps and/or libs won't run properly with legacy libs
4709155 MT program crashes in insertion operator
4710815 nm(1) crashes trying to demangle C++ symbol names
 
(from 108434-08)
4660290 ostringstream produces incorrect results with C++ Compiler 5.3
4668167 ofstream on dup'd fd doesn't produce output
4679619 cast fails when program is compiled using Forte 6u2
4680478 C++ compiler generates Warning: The else-branch should return a Value
4686364 ofstream::flush() stopped working
 
(from 108434-07)
4618537 STL vector::resize Read from unallocated
nobugid fix for mt string class performance
nobugid fix initialization of libCstd
 
(from 108434-06)
4271402 typeid() leaks memory
4518910 need to add FD exp message for serial number expiration
4522461 g++ compiled code runs faster than f6u1 & 2
4528281 ofstream destructor closes file descriptor it did not open
4589227 phys. read()  is suboptimal in ifstream::getline()/libC
4619891 __rwstd::InterlockedIncrement() broken in generic libCstd.a
4624113 C++ 5.3: std::list::splice memory management bug
4627871 libCstd: code using unique_copy doesn't compile
4641533 missing exported functions in libCstd.so
nobugid Removed references to __threaded
 
(from 108434-05)
4520126 C++ 5.3 standard string class causes memory leak
4531069 Memory leak in += operator in std:string
4614582 basic_ios::operator=() is invalid
 
(from 108434-04)
4199587 fstream.h generates warnings with "+w"
4391089 Compiler features available in G++, MS VC++, and HP-UX aCC but not in F6U1
4462258 Performance issue with Forte6 Update 1 ostringstream
4467478 Floating exception (core dumped)
4485163 C++ standard iostreams: seekg() clears eof bit
4486320 stable_sort() leaks memory
4493832 Forte 6 compiled code with nested dlopen/dlclose fails unexpectedly on 2.6 & 2.7
4496576 missing extern C++ overloads of bsearch() and qsort()
4496848 lib/cpu/sparcv8plus/libCstd.so.1 needs $ORIGIN/../.. in RPATH
nobugid Fixes to <limits>
 
(from 108434-03)
4423447 poor performance of malloc causes application to run 50% slower than egcs
4466915 istream::read() reads the first input character twice
 
(from 108434-02)
4205763 intel: abi1: c++/dbx throw object type not found
4285270 C++ 5.0, EOF not recognized when whitespace skipping is enabled
4338406 C++: Test gives incorrect results when compiled with -xO4
4347621 I/O is slow in standard iostreams
4351467 Non-member bitset operators are giving illegal operation error in STL.
4353299 Unable to output 'wchar_t' into 'wfstream'
4358182 C++ code compiled w/ -PIC fails to link due to libCstd.a compiled w/ -K pic
4368974 string assignment after update gives wrong answer
4375346 c++ std. library performs poorly for multi-threaded apps. with large no. of stri
4380359 STL std::find algorithm requires != operator
4381048 mutual exclusion not enforced in get_thr_data()
4383064 STL vector::resize returns uninitialized memory
4384942 string::npos missing from libCstd
4386796 STL vectors have high memory overhead
4388216 libiostream.a in 5.2 Compiler needs to be compiled with -KPIC or without -Kpic
4398422 Classic iostream: new[] deleted with delete instead of delete[]
4409167 CC 5.2 performance is poor compared to CC 4.2
4413674 JNI has problems with libCstd
4418755 Changes in mapping of ex_throw/__exdbg* entries breaks debugging of exceptions
4432338 /opt/SUNWspro/WS6/include/CC/Cstd/stdcomp.h conflicts with tools.h++&threads.h++
nobugid Fixed problem with list<>::merge()
nobugid	Add versions of libCstd.so.1 and libiostream.so.1 to package
4448928 multi-thread test program failed for Intel OS 5.8 and 5.9 only
 
(from 108434-01)
 
4318566 cpu2000 fails on 581

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 108435, the corresponding sparcv9-S2 patch to the
one for 32-bit Solaris 8 (108434) .

README -- Last modified date:  Tuesday, August 1, 2006

