Patch-ID# 117846-17

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: studio10 x86 backend yabe ube iropt ipo ir2hf fbe gcrt1.o pagesize.o
Synopsis: Sun Studio 10_x86: Sun Compiler Common patch for x86 backend
Date: Jan/18/2007


Install Requirements: NA                      
                      
Solaris Release: 8_x86 9_x86 10_x86

SunOS Release: 5.8_x86 5.9_x86 5.10_x86

Unbundled Product: Sun Studio 10 C C++ F90 Compiler

Unbundled Release: 5.7

Xref: 

Topic: 

Relevant Architectures: i386

BugId's fixed with this patch: 5058413 5084661 5102884 5107094 6191832 6192447 6192483 6200463 6200908 6201130 6202265 6202494 6202521 6203146 6203307 6203360 6203392 6204446 6205164 6206120 6206904 6209123 6209288 6209301 6209348 6209828 6210021 6210353 6210391 6210786 6211190 6211203 6211206 6211732 6212039 6212198 6212776 6212922 6213480 6214511 6215239 6217218 6217494 6217911 6218032 6218156 6219243 6219247 6219271 6221843 6221990 6222940 6223034 6223325 6223575 6224096 6224116 6225116 6228858 6229340 6230065 6230073 6230514 6230629 6230935 6232811 6233342 6233737 6234167 6234193 6234604 6234689 6237514 6240090 6252096 6253433 6258275 6261369 6262795 6267558 6270807 6272326 6272798 6281880 6294651 6296486 6300526 6300586 6302182 6302307 6305084 6307646 6307786 6308867 6311829 6313008 6313833 6316356 6317894 6318348 6319734 6319750 6325177 6326299 6326947 6327939 6328734 6329892 6342342 6342416 6343061 6344110 6351952 6361488 6363765 6366850 6368762 6378277 6378292 6379451 6379684 6394055 6402849 6402951 6403013 6403060 6404725 6453645 6477875

Changes incorporated in this version: 6453645 6477875

Patches accumulated and obsoleted by this patch: 

Patches which conflict with this patch: 

Patches required with this patch: 118682-01 (or greater)

Obsoleted by: 

Files included with this patch: 

<install_dir>/SUNWspro/prod/bin/fbe
<install_dir>/SUNWspro/prod/bin/ipo
<install_dir>/SUNWspro/prod/bin/ir2hf
<install_dir>/SUNWspro/prod/bin/iropt
<install_dir>/SUNWspro/prod/bin/ube
<install_dir>/SUNWspro/prod/bin/ube_ipa 
<install_dir>/SUNWspro/prod/lib/amd64/pagesize.o
<install_dir>/SUNWspro/prod/lib/gcrt1.o
<install_dir>/SUNWspro/prod/lib/ipo/amd64/ipo_ld_support.so
<install_dir>/SUNWspro/prod/lib/ipo/ipo_ld_support.so
<install_dir>/SUNWspro/prod/lib/pagesize.o
<install_dir>/SUNWspro/prod/lib/sys/libyabe.so

Problem Description:

6453645 Patch 117846-15 generates bad code for Pro/E
6477875 [_$c1A.add_reference]:ube: assert at bfd_asm.c:1163
 
(frin 117846-16)
 
6403013 ube: error: Out of memory
6403060 ube goes into infinite loop during compilation
6378292 sparc: x64: x86: complain from f90 forum. slow() produces wrong result under -depend
6379684 -xO3 -W2,-Rlazy -xarch=amd64 gives internal error in ube
 
(from 117846-15)
 
6404725 Out of memory error seen while generating shared libraries
6402849 ube: error: Cannot open profile data: 'xtop.profile'
 
(from 117846-14)
 
6402951 acomp goes into infinite loop during compile
6394055 compiler load the variable before taking the lock
6366850 x86 compiler asserts when compiling MD5 code with -xO5
6229340 regression test 6185462 produces wrong results if compiled with -xO[4-5]
 
(from 117846-13)
 
6378277 Regression between studio10 FCS and studio10 patch causes an OPMAP assertion in YABE
6368762 ube_ipa: error: Not enough profile data
6351952 AMD64: Studio 11 incorrect argument passing in unoptimized code
6234689 AMD64: YABE incorrectly truncates 64-bit address in data initialization
6379451 Bump up the ARCDENSITY by 1% to avoid _tos overflow errors.
6319734 incorrect constant propagation across omp parallel region
6325177 Incorrect code generated for bitfield extraction with -xO3 optimization and -xarch=v9
6328734 cc 5.5, 5.6, 5.7: iropt hangs if a constant is set to a large value.
 
 
(from 117846-12)
 
6343061 Compiler generates incorrect code when compiled with optimization flags
6326299 AMD64: incorrect constant folding/propagation
6230629 x64: vulcan+patch 0215: benchmark 432 failed in run-time
6363765 ir2hf puts too much pressure on space manager
6361488 *x86* atanh(x) becomes asinh(x) with -xbuiltin=%all -O
6319750 x86: venus b17.0 icu-2.8 miscompared under -O
 
(from 117846-11)
 
6342416 optimizer uses stale copy of variable/elides variable changes, causes incorr
ect program execution
6329892 Studio 10 & 11 (build 19) produces incorrect results with -xbuiltin=%all
6342342 Vulcan: ube error (x86 C++ compiled with -xO4)
6344110 optimizing huge inline functions on x86 does not scale
 
(from 117846-10)
 
6313833 ube's feedback access library routine __bpf_objfile_match() should allow inexact pathnames
6317894 bitfield optimization fails for -01 to -04 in S10_x86
6327939 optimizing huge inline functions on x86 does not scale
6326947 Studio 10 X86 optimization internal error
 
(from 117846-09)
 
6318348 AMD64: Bad stack offset in mov instruction movhpd %xmm0,268435464(%rbp)
6305084 floating point exception in modf on AMD64 when compiled -g
6296486 ube: internal error (Vulcan only)
6300586 AMD64: ube: internal error with -xO4/-xO5 (Vulcan Only)
6302307 Sun Studio 10 x86 (C++) does not throw the same exceptions
6316356 SS10, AMD64: Failure in fbe, status = 0x7f00: Cannot realloc string table
 
(from 117846-08)
 
6308867 ube internal error with -O5
6311829 compiler segmentation fault with vulcan_patch when compiling App on x86
6313008 assembler cannot handle number of section > 0x7fff
6307786 C:coredump(seg-fault) w/ 20050728_vulcan_patch w/ -xO3 -xdepend -xrestrict. 1stF:20050728_vulcan_pa
 
(from 117846-07)
 
6302182 Vulcan Compiler gives incorrect output when compiled with -x03 option
6300526 AMD64: Vulcan Fatal error in /opt/SUNWspro/SS10/SUNWspro/prod/bin/ir2hf, core produced
6294651 Arg 7 passed incorrectly to func with small struct args in unoptimized code on AMD64
6307646 amd64 yabe attempts to find fp return value on x87 register stack
 
(from 117846-06)
 
6240090 segmentation fault in fbe on x86 while building boost-1.32.0
6253433 Vulcan spits out 'Illegal subtraction in ...  ".CG15.52 - .CG0.125"'
6258275 AMD64: C++ compiler generates illegal assembler file with -xO2
6261369 Wrong code generation for parammeter passing to methods with Studio10/X86_64 and -g -xarch=generic64
6262795 OpenMP-C++: Studio 10 x86 iropt dumps core w/ templated code using -xopenmp
6267558 ube fails with out of mem error for optimized amd64 compile
6270807 x86: fbe fails with "Fatal Error exec'ing /opt/SUNWspro/prod/bin/fb"
6272326 x86: ube internal error with -xO2 or higher, and -xbuiltin=%all
6272798 get_hash_symbol returns incorrrect value when compiled with -xO3
6281880 C++ 5.7 on x86 has problems passing long function argument list
 
(from 117846-05)
 
6223034 Need option for saving register arguments on amd64
 
(from 117846-04)
 
6252096 ube: program compiled with -O option disturbs an element in the struct
 
(from 117846-03)
 
6237514 x86: ube strength reduction problem (?) affecting Hotspot fastdebu
g c2 build
6211732 Sparc v8; 386: Wrong result while invoking IBCLR() with -O3|-O4|-O
5 flag
6234193 CC: Fatal error in iropt: Abort (core dumped)
6230514 Sun Studio 10 generates wrong code when '-O' is used
6233737 compiler will not work if install directory path contains a comma
 
(from 117846-02)
 
6234604 UBE incorrectly truncates 64-bit address in data initialization
6234167 more problems compiling large arrays
6233342 error accessing arrays in large common block with amd64
6230935 Sun Studio 10 x86: ube: internal error
6232811 AMD64: Truncated Fortran array size (>= 32-bit)
6230065 add support for -xpagesize to x86 cc, CC, and f90
6230073 fortran test fails at runtime when compiled with yabe
 
(from 117846-01)
 
5058413 argument of .float directive is rounded by fbe
5084661 studio 10 compiler ube fails with internal error at -xO1
5102884 xchg instructions have incorrect attributes
5107094 AMD64: testcase ./bugs/E4353496 produced incorrect exceptions in -xO1
6192447 REG: -xpg caused testcase vijay to dump core in vulcan b20
6200463 section names generated incorrectly for ELF 64-bit AMD64
6201130 vulcan: fbe wan't compile with debug info
6202265 allocate and pass pointer variable to _mcount under -xarch=amd64 {-p, -xpg}
6202494 AMD64: MOD(i,4) not simplified for -xarch=amd64
6202521 should we use S_GET_ARP2 for TOPSTRING in translator/src/cgutils.c
6203146 amd64: EGEN test crashes in 64-bit mode if compiled with -fast option
6203307 loop with if statement in body fails to unroll
6203392 AMD64: TOPLONG_INT not defined on AMD64
6205164 ube produces internal error while compiling regtest #5024782
6206120 ube crash during first pass feedback compile with -xbuiltin
6206904 REG: testcase tcom_064 failed when compiled w/ "-fsimple=2 -nofstore" in ube
6209123 appl crash with -xdepend -xipo=1 -xarch=amd64 +feedback
6209288 AMD64: ube failed for openmp testcase E4677065_1.c due to internal error in vulc
6209301 AMD64: "-g -xopenmp=noopt" caused several openmp testcases core dumped in vulcan
6209828 AMD64: x86: build-23.1 bench++:a000091 Seg faults in execution time.
6210353 AMD64: build23.1: C++ benchmark lame-3.93.1 Sf in execution time -fast -xarch=am
6210391 x86: build23.1: C++ benchmark apfloat-2.40:gauss Seg faulted in execution time
6211203 Yabe produces error on the simple testcase with complex arithmetics.
6211206 Intel, AMD64. Segmentation Fault while working with subroutines.
6212922 x86: unresolved external under -xprofile=collect
6214511 yabe generates wrong code for multiple inheritance in C++
6217218 ube_ipa: internal error
6217911 AMD64: problem with virtual functions in shared libraries
6218032 dbx prints incorrected values of fortran variable
6219243 assembler generates wrong array size in the object file, abortion of the loader
6219247 UBE will generate an incorrect comm size for large array
6219271 AMD64: vulcan-rr.3 ISV_APP qt-x11-free-3.2.0 Segfaults in execution tim
6191832 mp4ve_encoder application core dumps under mercury and vulcan
6192483 cg fatal error w -xO4 -g -xcrossfile -xprofile=collect -xdebugformat=dwarf -xhwcprof
6200908 ipo core dumped when troubles with ube_ipa
6210021 if ube fails under -xipo -xprofile=use then ipo segfaults
6210786 x96: IROPT doesn't microvectorize a simple C program
6212776 ivsub phase produces wrong code
6218156 f95 8.0/8.1: -O5 cause some matrix operations to be partly omitted.
6221843 amd64: IROPT fails to vectorize C and C++ app under -xarch=amd64
6222940 UBE inline templates need to recognize %cr
6213480 IROPT should delete unnecessary casts and fold integer arithmetic
6224096 x86: Incorrect Offset for Argument Segment after iropt cloning
6223325 '[get_emits]:ube: internal error' when compiling Xorg/Mesa with -xO4
6223034 Need option for saving register arguments on amd64
6221990 ube loops forever building X
6225116 unreachable expression causing segfault is hoisted outside the loop
6203360 AMD64: [harness_clearance]:ube: internal error
6215239 redundant stores to bitfields not removed under -xarch=amd64
6224116 AMD64: ube: error: Assert has been violated at ipar.c 2956
6212039 AMD: incorout w -xO5 -iropt -xarch=amd64
6212198 amd64, 386: Wrong result while invoking procedure call with equivalenced variable as actual arg
ument
6217494 optimizer (ube) goes into infinite CPU burn-cycle w/ sse2 inline template code
6209348 AMD64: OMP-F: incorrect result when using nint with -xopenmp -xarch=amd64
6228858 x86: unnecessary addl instructions generated
6223575 FIXED Assert error in cfg.c using -g in UBE
6204446 vararg usage causes Assert  at ube/translator/src/post_gen.c:1176
6211190 Yabe should do complex multiplication promoting single precision floats to double precision.

Patch Installation Instructions:
--------------------------------
For Solaris 7-10 releases, 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.

Special Install Instructions:
-----------------------------
none.

README -- Last modified date:  Thursday, January 18, 2007

