OBSOLETE Patch-ID# 145730-15


Download this patch from My Oracle Support

Your use of the firmware, software and any other materials contained in this update is subject to My Oracle Support Terms of Use, which may be viewed at My Oracle Support.
For further information on patching best practices and resources, please see the following links:
Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.

Keywords: c++ compiler oracle solaris studio 12.2 cc sunwlibc auto_ptr backend binding boost coredump deadlock failure footprint header iostreams locale memory mt multithread mutex overloading performance prefix stlport4 stringstream template
Synopsis: Obsoleted by: 145730-16 Oracle Solaris Studio 12.2: Patch for C++ Compiler
Date: Nov/01/2014


Install Requirements: NA

Solaris Release: 10

SunOS Release: 5.10

Unbundled Product: Oracle Solaris Studio 12.2 C++ Compiler

Unbundled Release: 5.11

Xref:

Topic:

Relevant Architectures: sparc

Bugs fixed with this patch:

Sun CR # Bug #
680597715542359
701509215693784
703211315705869
704279715714120
705248415720680
15838799
16050336
16242714
16283514
16319016
16682153
16869329
16881368
16892797
17375485
17485910
17489471
17719611
19359261
19530952
672840115496009
673592915500649
677491715524718
681089615545130
683812215561125
685272515570560
692689515623090
693543915630037
694073415634200
694929515640665
694984615641084
694998415641207
695223815642978
695352615644023
695559915645669
695821015647557
695836515647674
695889115648072
695894515648109
696137915649971
696234515650767
696254715650922
696953015656343
696996715656708
697038015657081
697091315657441
697135415657787
697360915659892
697364315659922
697451415660576
698043315665405
698310815667620
698401815668373
698689015670727
698984115673146
699000515673255
699176615674709
700958215689346
701902615696632
702291415699544
703700515709650
704766915717588
705023115719256
706536015727537
708120215736725
708727715739818
709336815743200
709356515743350
709623815744868
709828115746417
709843715746566
709905215747114
710249615749245
710854615753013
711089915754505
712998815766399
714461815772312
714798815774743
716468615788170
716795515790989
716846715791405
717669915797950
718110015801524
718721215806421
719662115814431


Changes incorporated in this version: 17485910 17489471 17719611 19359261 19530952

Patches accumulated and obsoleted by this patch:

Patches which conflict with this patch:

Patches required with this patch: 145728-10 146791-02 (or greater)

Obsoleted by:

Files included with this patch:

<install_dir>/solstudio12.2/prod/bin/CC
<install_dir>/solstudio12.2/prod/bin/ccfe
<install_dir>/solstudio12.2/prod/include/CC/Cstd/deque
<install_dir>/solstudio12.2/prod/include/CC/Cstd/fstream.cc
<install_dir>/solstudio12.2/prod/include/CC/Cstd/ios
<install_dir>/solstudio12.2/prod/include/CC/Cstd/ios.cc
<install_dir>/solstudio12.2/prod/include/CC/Cstd/iosfwd
<install_dir>/solstudio12.2/prod/include/CC/Cstd/istream
<install_dir>/solstudio12.2/prod/include/CC/Cstd/limits
<install_dir>/solstudio12.2/prod/include/CC/Cstd/memory
<install_dir>/solstudio12.2/prod/include/CC/Cstd/rw/iosbase
<install_dir>/solstudio12.2/prod/include/CC/Cstd/rw/numbrw.cc
<install_dir>/solstudio12.2/prod/include/CC/Cstd/stdcomp.h
<install_dir>/solstudio12.2/prod/include/CC/stlport4/stl/_istream.c
<install_dir>/solstudio12.2/prod/include/CC/stlport4/stl/_locale.h
<install_dir>/solstudio12.2/prod/lib/libCstd.a
<install_dir>/solstudio12.2/prod/lib/libdemangle.a
<install_dir>/solstudio12.2/prod/lib/libiostream.a
<install_dir>/solstudio12.2/prod/lib/libp/libCstd.a
<install_dir>/solstudio12.2/prod/lib/libp/libdemangle.a
<install_dir>/solstudio12.2/prod/lib/libp/libiostream.a
<install_dir>/solstudio12.2/prod/lib/stlport4/libp/libstlport.a
<install_dir>/solstudio12.2/prod/lib/stlport4/libstlport.a
<install_dir>/solstudio12.2/prod/lib/stlport4/libstlport.so.1
<install_dir>/solstudio12.2/prod/lib/stlport4/libstlport_dbg.a
<install_dir>/solstudio12.2/prod/lib/stlport4/v9/libp/libstlport.a
<install_dir>/solstudio12.2/prod/lib/stlport4/v9/libstlport.a
<install_dir>/solstudio12.2/prod/lib/stlport4/v9/libstlport.so.1
<install_dir>/solstudio12.2/prod/lib/stlport4/v9/libstlport_dbg.a
<install_dir>/solstudio12.2/prod/lib/v8plus/libCstd.a
<install_dir>/solstudio12.2/prod/lib/v8plus/libp/libCstd.a
<install_dir>/solstudio12.2/prod/lib/v9/libCstd.a
<install_dir>/solstudio12.2/prod/lib/v9/libdemangle.a
<install_dir>/solstudio12.2/prod/lib/v9/libiostream.a
<install_dir>/solstudio12.2/prod/lib/v9/libp/libCstd.a
<install_dir>/solstudio12.2/prod/lib/v9/libp/libdemangle.a
<install_dir>/solstudio12.2/prod/lib/v9/libp/libiostream.a

Problem Description:

17485910 compiler doesn't properly hide private class member
17489471 C++ compilers on sparc & x86 call a volatile object's dtor twice
17719611 sizeof not working properly for 8-byte types compiled in 32-bit
19359261 test program diff.i only compiles, when -g is used AND no -xO flag
19530952 bypasspkg.i only compiles, with -g is used AND no -xO flag, add +d after optimiz
 
(from 145730-14)
15542359 ccfe: Bus Error After SS12U1 C++ Patch 128228-23 Applied
15693784 SUNBT7015092 Support aligned attribute for automatics
15714120 SUNBT7042797 spica iropt -O4 dumps core, using new cafe PIA build
16319016 cplus_demangle in libdemangle.so exits instead of returning
16682153 Bad implementation of digit_reader_base::to_ulong_ulong in stl/locale/vendor.cpp
16869329 incorrect accessiblility error, nested templates inside namespace
16881368 fail to deduce template arguments in certain cases, requiring full specification
16892797 New anachronism warning errtags for linkage mismatches only
17375485 Memory leak in include/CC/Cstd/fstream.cc
 
(from 145730-13)
16242714 Regression in Studio 12u1-Could not find a match
16283514 generate wrong code for +=, op int() and pointer math
 
(from 145730-12)
15705869 (SUNBT7032113) C++ ignores important non-compliant programming
15720680 (SUNBT7052484) gtar from /set/sstrunk/tools crashes on Solaris10u10
16050336 CC erroneously accepts template function with bad signature
 
(from 145730-11)
7196621 base class member access modifiers are not handled properly in child classes
15838799 Modena6.3 Tests N1150104 And N1150112 Fail After Bugfix For 15814660
 
(from 145730-10)
7187212 SS12U1 CC regression: fails to deduce template arguments
 
(from 145730-09)
6935439 Declaration order matters for overloaded static member functions
7164686 libdbxdemangle.so & c++filt on SS12U1 segfault for a certain mangled symbol
7168467 Problem with partial specialization and assert_if
7176699 Function definition is bound to wrong declaration
7181100 function-try-block scope handling is incorrect
 
(from 145730-08)
7167955 crash using stringstream (basic_string) after setting locale
 
(from 145730-07)
6852725 C++ false error message when assigning a string literal to a char *
7129988 given a choice between two overloaded routines,cc compiler chooses the MORE complicated conversion
 
(from 145730-06)
6774917 basic_istream<>::sentry::operator bool () should be const qualified.
7019026 Use of auto_ptr causes program to crash
7050231 Illegal suffix when source file provided for output file
7081202 problem compiling boost/spirit v 1.46.1
7087277 Infinite recursion compiling template
7093368 Deadlock in ios_base.pword in libCstd
7093565 run time failure in benchmark
7096238 regression in handling friend declarations with argument-dependent lookup
7098281 ccfe memory footprint is more than double in ss12u1
7098437 cafe-reg/NE6572422 fails with TIMEOUT when compiled with -g
7099052 Error in formal argument promotion from char[]
7102496 compile-time seg-fault w/ 111018 cia build. 1stF:111013 cia build
7108546 C++ creates bad code for 'throw'        
7110899 ccfe aborts with 'ir_get_type_element(): unexpected nested type'        
7144618 Poor scaling in default STL
7147988 incorrectly accepting a 0x prefix on a decimal number
 
(from 145730-05)
7065360 Mozilla Javascript jsinfer.cpp failed to compile with Solaris Studio
 
(from 145730-04)
6949295 Assertion while trying to compile BOOST 1.42.0
7047669 incorrect handling of static const data member as a default parameter in template
 
(from 145730-03)
 
6986890 cafe Makefiles should not depend on CIA unless they need to
7009582 boost_1_44_0/msm/SimpleWithFunctors: "Partial specialization parameter not used in arguments"
7022914 Binary using cstd hangs but succeads when built with -stlport (Cstd deadlock )
7037005 strange errors comes from boost_1_44_0/libs/msm/testSimpleWithFunctors.cpp
 
(from 145730-02)
6926895 Partial specialization parameter T is not used in the arguments
6953526 Make C99 math functions available in C++
 
(from 145730-01)
6838122 Error: Unexpected type name encountered with Sun Studio 12 and gmock
6949846 Assertion:   (../lnk/emitexpression.cc, line 439)
6952238 can not find a match for a template fucntion with address of template function as parameter
6958365 Confusing diagnostic against the fix for 6950982
6970380 CC aborts with Signal 10 when compiling with lines containing endl
6970913 Sun Studio 12 / U1 compile errors with latest C++ patch
6971354 Problem with equality operator for iterators in std::deque
6974514 "class stateT" in iosfwd header should be "class _stateT"
6980433 ccfe exhausts process address space and crashes
6983108 With 124863-07, cannot compile <iosfwd> in XPG4 mode, Error: "wcsstr" must have a prototype
6984018 +d changes errors to warnings
6989841 STLPORT: Regression in istream& get ( char* s, streamsize n, char delim )       
6990005 Sun Studio 12.2 assertion failure Multiple set_offset operations
6991766 Oracle Studio 12.2 C++ object file doubles in size
6728401 partial specialization on cv-qualifiers broken for array types
6735929 wrong function specialization used in overload resolution
6810896 OpenMP-C++: Conditional expression in omp-for causes iropt to crash
6940734 Intel+Sparc Aten build20.0 Boost-1.42.0/pixel_iterator failed with Error: Cannot cast from int*
6949984 boost/test_lambda failed: In this declaration "f" is of an incomplete type*
6955599 FIXED GCC_COMPAT: Compiler support for type_traits
6958210 OMP-C++: errors on multiple ordered sections
6958891 boost/date_time/testdate_facet_new got run-time core dump
6958945 Various problems with const when applied to function types
6961379 TM compiler allows calls to non-transactional functions from __transaction blocks
6962345 numeric_limits<unsigned long long>::digits is 63, should be 64
6962547 Copyright notices needed in Integration.log files
6969530 Compile time header file inclusion
6969967 TM function callability rules not enforced for calls made via function pointers
6973609 a bool test gave wrong result
6973643 test fails if data member has same name as enclosing clas


Patch Installation Instructions:
--------------------------------
 
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/106326-01
 
The following example removes a patch from a standalone system:
 
        example# patchrm 104945-02
 
For additional examples please see the appropriate man pages.
 
If patching an installation of Oracle Solaris Studio 12.2 into non-global zone,
refer to the man pages for instructions on using 'patchadd -G'.


Special Install Instructions:
-----------------------------
 
It is strongly recommended that the C++ Runtime patches (patches
to the Solaris SUNWlibC package) are installed on all systems
used by the compiler or used to execute code generated by these
compilers. In all cases, these are the minimum revision level
recommended. If more recent revision levels are available, we
encourage you to use them.
 
  Solaris
  Version         SPARC          SPARC V9          Intel
  -------       ---------        ---------       ---------
     10         119963-30           n/a          119964-30


README -- Last modified date: Monday, September 28, 2015