Patch-ID# 119961-16


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: as, x64, profiling libxprof libtdf
Synopsis: SunOS 5.10_x86, x64, Patch for profiling libraries and assembler
Date: May/20/2016


Install Requirements: NA

Solaris Release: 10_x86

SunOS Release: 5.10_x86

Unbundled Product:

Unbundled Release: OS 10 update 11

Xref:

Topic:

Relevant Architectures: i386

Bugs fixed with this patch:

Sun CR # Bug #
636249215302575
693878315632634
695488115645119
708870215740712
713142715767289
714174415770126
714225315770560
714983415776034
715783915782469
715862615783163
716480515788280
716620415789542
716755915790638
716981215792506
717114515793612
717145515793875
717325015795260
717871015799758
717873115799774
717942815800294
717984315800603
719430015812440
719669615814488
719988115817322
720197515819416
15858573
16212296
16225909
16271874
16345320
16406171
16610860
16632992
16939337
17075656
17368719
17411827
17503518
17515642
17570988
17950632
18154178
18337762
18427440
18435096
18453017
18482727
18482814
18505356
18536337
18536392
18713476
18714831
18762049
18771231
20688711
22295547
22478864
22504292
22513088
404958614938718
505841315214286
510888915229742
620046315238295
620091715238419
620113015238480
620580815240073
621143315242135
621234215242441
621803215244677
621924315245220
6250279
625171715258738
625235015259026
626046515261955
626521015263705
626914215265347
628097315269917
629063515273757
629946215277288
630216315278325
630457715279295
630799515280565
631300815282588
631635615284022
632402515287033
633504915291268
635453215299468
635642215300176
638406915312148
639127115315451
639733515318631
640248315320821
640722815322950
641370015325419
641497815325944
642590715330508
642806715331532
643254915333261
644804915339730
645551915343369
646927315349891
649032915359710
650151215365412
650152215365420
650257515365945
650774615368835
650857515369166
653590315384893
653650915385293
653831615386223
653998615387148
654941115392389
656135815399315
656481915401219
656491315401270
657663815407650
657709615407895
657774615408269
657871015408789
657873315408800
659251015416461
660994815426435
663067315439082
663110315439363
664518115447779
664917615449812
665139915451125
665496315453285
666839815460992
666982615461831
666999015461951
667421315464352
667431915464410
667530615464985
667531315464988
668287615469440
668546615471045
668834215472713
668983215473547
669563715476794
669624415477200
669726215477858
669735115477924
670417815481403
670671515482929
673610715500759
674066315503629
674066615503631
676301515517466
676662315519646
676925615521256
677994215527104
679535215536268
680273515540415
681690715548715
682225615551836
682637215554088
683271715557920
684086215562785
684542215565562
684852315567702
684854715567722
685223615570271
685698215573508
686102015576034
686134815576245
686231915576936
687291815583278
687655115585529
690580315606901
690802615608526
690996215610155
691014615610299
691226215611940
691229715611974
693135215626742
693310115628141
693878515632636
693964715633341
694165315634857
694296615635855
694484015637272
694861915640120
695153915642450
695200515642783
695599915645954
695791415647337
695801315647422
696327815651506
696473215652649
696660515654091
697128915657738
697152515658116
697371915659986
697540115661321
697927215664440
697995615664998
698475915668955
698829515671901
699850915680214
701110415690728
701142315691011
701258315691868
702838415703344
703371715707038
704775415717657
704882815718466
705386315721622
705799415723907
706560715727676
706674015728327
708869115740702
709763115745720
713143215767294
714724015774131
714983415776034
715683715781522


Changes incorporated in this version: 18453017 22295547 22504292 22513088

Patches accumulated and obsoleted by this patch:

Patches which conflict with this patch:

Patches required with this patch: 120754-16 (or greater)

Obsoleted by:

Files included with this patch:

/usr/ccs/bin/as
/usr/lib/amd64/libtdf.so
/usr/lib/amd64/libtdf.so.1
/usr/lib/amd64/libxprof.so
/usr/lib/amd64/libxprof.so.1
/usr/lib/amd64/libxprof_audit.so
/usr/lib/amd64/libxprof_audit.so.1
/usr/lib/cm4defs
/usr/lib/libtdf.so
/usr/lib/libtdf.so.1
/usr/lib/libxprof.so
/usr/lib/libxprof.so.1
/usr/lib/libxprof_audit.so
/usr/lib/libxprof_audit.so.1

Problem Description:

18453017 Convert the assembler binary to LP64 (x86)
22295547 Assembler should support .space directive	
22504292 as dumps core with -Y option	
22513088 x86 assembler should support instruction mnemonic ud2a, which used by gcc/icc	
 
(fixed from 119961-15)
22478864 - libxprof.so fails to recover from value type mismatch
 
(fixed from 119961-14)
 
20688711 /bin/as needs 64-bit file interfaces
 
(fixed from 119961-13)
 
15767289 SUNBT7131427 AVX2:Add AVX2 instructions support to old assembler
15776034 SUNB7149834 AVX2: Add new -xchip value for Haswell
15782469 SUNBT7157839 SHF_EXCLUDE for index DWARF
15795260 SUNBT7173250 AVX_I: Fix name change per Ivybridge CAT proposal
15632634 SUNBT6938783 x86 as uses non-standard TLS section flag
15645119 SUNBT6954881 as should support string merging attributes in .section directive section
15740712 SUNBT7088702 Make fbe "Usage:" information reflect the reality
15783163 Stop the compiler generating empty sections
15788280 SUNBT7164805 fbe falls over with ASLR set - possible access after data segment
15789542 SUNBT7166204 AVX2: permute instructions with immediate operand encoded incorrectly
15790638 SUNBT7167559 Haswell: implement the Haswell specific HWcap bit in x86 assembler
15793612 SUNBT7171145 fbe : fill value ignored for .align directive
15793875 SUNBT7171455 AVX2: incorrectly encoding of the first operand in vgather* instructions
15799758 SUNBT7178710 implement -xregs=no%float option
15799774 SUNBT7178731 AVX2: operands are always encoded as xmms for some instructions
15800603 SUNBT7179843 AVX2: vpmaskmovq is encoded as vpmaskmovd if the store form is used
15814488 SUNBT7196696 assembly of comdat group code fails
15817322 SUNBT7199881 Wrong code generation for source with RIP-addressing
15819416 Use DWARF-directives in UBE for generation .eh_frame
15858573 internal error when compiling for index DWARF
16212296 Perflib: Build30.0 intel-S2/intel-Linux fbe gives Syntax error
16225909 XBEGIN instruction has wrong binary encoding
16271874 fbe disrespects endianness when working with tls relocations
16345320 NE6609948 : wrong extractps, pextrw opcode
16406171 a constant offset is lost while translating x+offset@dtpoff to R_AMD64_DTOFF32
16610860 Syntax error on any cfi-directive on Linux if are used in comdat-section
16632992 Pythia build30.0 Solaris-Userland S12-18, gmp-4.3.2 fails in fbe on i86
16939337 Warnigs during compilation of assembler
15792506 SUNBT7169812 Haswell: support TSX instructions in assembler
15800294 SUNBT7179428 AVX2: fbe should complain about operand size mismatch
15812440 SUNBT7194300 Bug in encoding of PEXTRB/VPEXTRB
15302575 SUNBT6362492 fbe silently truncates long constant
15770560 SUNBT7142253 as should support FMA, BMI1, and TBM
15770126 SUNBT7141744 assembler generated binary from wrong source
17411827 /usr/bin/as xaquire vs xacquire
17515642 Assembler, "as" is dumping core in s12 and s11u2 x86 systems
17503518 Invalid argument for assembler instruction (vgatherqps, vpgatherqd)
17570988 The support of the prefix "rex64" has been missed
17368719 fbe fails to create large .rodata section
17950632 Modify the fbe source for support of autogeneration of some kind of
18154178 Support for retq has fallen off the wagon
18337762 -preserve_argvalues=complete swaps 3rd and 4th arguments
18427440 x86 as/fbe fails to assemble "movd %rcx, %xmm0"
18435096 gcc 4.8.2 can't be built with 'as': syntax of cfi-direcives should be improved
18771231 .debug_frame has unexpected secttype SHT_AMD64_UNWIND if generated using .cfi*
18762049 .debug_frame has unexpected flag SHF_ALLOC if generated using .cfi*-directives
18505356 The relocations R_AMD64_64 in .eh_frame section break the gcc4.8 build
18714831 .cfi_offset is handled incorrectly
18482814 .eh_frame should not be marked with SHF_LINK_ORDER-flag
18536392 'tzcnt'-instruction does not have support of the suffuxes 'w', 'l', 'q'
18536337 Missing support of instruction "pswapd MMX, MMX"
18482727 Need to enhance the syntax of cfi-directives
18713476 linux fbe can't process debug comdat sections
 
(fixed from 119961-12)
 
17075656 libtdf.so.1 core dumps resulting in FBO build failure for Golden Gate
 
(fixed from 119961-11)
6736107 need support of .symver fopen_2_0,fopen@GLIBC_2.0
7047754 x86 assembler disregards the explicitly specified alignment pattern
7057994 fix the memory leaks and previse errors in the x86 assembler
7048828 x86 assembler makes common symbol TLS, should be OBJT
7065607 x86 spica build24.1: Solaris snv_169 bits produce new fbe warning for libc/i386/crt/_rtbootld.s
7066740 check LD_LIBRARY_PATH for lib_I_dbg_gen.so
 
6908026 support for .init_array section
7088691 fbe doesn't recognize -xchip=sandybridge
7097631 Ivy Bridge assembler instruction support
7147240 AVX2:Add AVX2 instructions support to old assembler
7149834 compiler/assembler-x86 AVX2: Add new -xchip values for Haswell
7156837 fbe does not check for correctness of VSIB in vgather-instructions
7131432 Ivy Bridge: implement the Ivy Bridge specific HWcap bits
7053863 libxprof: _xprof_hash_byte_encode() gets SIGSEGV when compiling with -xprofile=tcov:dir
 
(fixed from 119961-10)
 
6938785 as doesn't support cmpxchg16b instruction
7012583 fbe/as emits invalid R_AMD64_32 relocation
7011423 Fix for 6728528 is also needed for x86
6998509 add support for new ELF visibilty attributes
7011104 testcase fails for .stabs statement: .stabs "c:(0,27)",128,0,0,-10
7033717 x86 assembler needs adjusting path for cm4defs to /usr/lib for versions
>= snv_162
 
6966605 buffered i/o for libtdf
6971289 simle testcase leads to 'libxprof: invalid argument(s)'
6973719 lazy procedure profile collection under -xprofile=tcov:<dir>
6988295 libxprof error handling modes should be set for both collection and use
6971525 458.sjeng leads to libxprof error under -xprofile=tcov:<dir>, without op
timization
7028384 pre-production iropt builds respond poorly to obsolete libxprof.so.1 on
LD_LIBRARY_PATH
 
 
(fixed from 119961-09)
 
6942966 ir2hf runs out of memory during com
6963278 assembler should set appropriate HWCAP for VAES* and VPCLMULQDQ
6779942 fbe should recognize '~' as valid operation
6802735 x86 assemblerr should accept movzb without postfix
6964732 OCD: Support of Inline Functions fbe part of the fix.
6979956 as doesn't understand some AVX instructions
6975401 Invalid AVX instruction decoding in assembler
6979272 Assembler emits xmmreg<7 for xmmreg>7 register in some cases
6984759 Incorrect decoding for AVX vpextrw instruction 
 
(fixed from 119961-08)
 
6931352 OCD doesn't work in the presence of -xregs=frameptr
6941653 Incorrect absolute relocation warning by Intel assembler with -Kpic/-KPIC
6939647 fbe produces sfcap section which causes a core dump in elfdump
6861348 assembler: symbol subtraction in 16-bit long immediates does not work 
6948619 AVX: Add additional support for AVX and fix problems in C++, F90 and UBE test suites
6955999 Add compiler/assembler support for XGETBV, XRSTOR, XSAVE and XSETBV
6944840 libxprof fails if different versions of same object file are loaded in same process
6951539 uncovered functions are not marked as uncovered
6952005 OMP: libxprof: Assertion failed: mutex->owner != self, file ../src/xprof_thread.c, line 480
6957914 uncalled procedures are sticky under -xprofile={collect,tcov}
6958013 xprof_btoa does not print tcovd files correctly
 
(from 119961-07)
 
6822256	ube/as messages need to be numbered before SS12U1 released
6740666	Added AVX support
6685466	code padding pattern for amd10h
6675306	Allow to use implied stack registers in floating-point commands
6832717	assembler: relax requirements on symbol subtractions
6269142	x86 /usr/ccs/bin/as should support -YI,/path/to/includes
6675313	Allow to use symbol constants
6845422	x86 medium model: support of subtraction of symbols from different sections
6856982	AVX: mnemonic vmovhps is not recognized
6862319	-Wu,-dbg_bind_reg causes fbe to fail with "Illegal direct 32-bit relocation"
6876551	x86 fbe should understand .dbg_bind_stack_range
6872918	-xdebugformat=stabs -Wu,-dbg_bind_reg causes fbe Segfault
6910146	export LC_NUMERIC leads to "/tmp/ube.14612.5.s", line 153 : Internal: dbg_read_tables (*)
6905803	some 32-bit instructions are rejected by 64-bit assembler
6912297	Add AVX hwcap values in assembler
6848523	icu-3.0 testsuite fails using current_aten_x86 with -O -xprofile=use
6912262	need an assembler directive to describe debug ranges for symbols larger than a single word
6909962	Compiler Directory Reorg Status (fbe part)
6933101	Assembler should not set the AV_386_PAUSE hwcap
6861020	.annotate* sections need to be marked with SHF_EXCLUDE by assembler on Solaris and Linux
6356422 profile feedback support for comdat routines
6502575 need a way to collect feedback and coverage data in same process
6795352 new profiler doesn't allow process to write multiple profile directories at runtime
6826372 inconsistent function names generated by ccfe break -xprofile 
4049586 implement MT-safe runtime support for tcov
6697262 tcov runtime support code infringes application name space
 
(from 119961-06)
 
6840862 libxprof mishandles profiled program containing no profiled objfiles
6848547 xprof_atob fails to convert text file containing multiple objfile records with same basenames
6852236 libxprof: intermittent errors under iterated execution of MT test workload
 
(from 119961-05)
 
5108889 application use of libc routine names breaks -xprofile=collect 
6324025 need a way to profile shared libraries without requiring profiled executable 
6428067 need a better way to collect feedback data without requiring process termination 
6695637 need better profile directory sharing under -xprofile=collect 
6697351 tcov runtime support lacks global locking within a process 
6631103 /lib64/libc.so.6: file not recognized: File format not recognized 
6645181 Woodcrest: nop patterns 
6651399 Add support for .dbg_bind_reg_range in assembler for optimized code debugging 
6706715 Inline asm not working in gst-plugins-good code 
6740663 Need x86 assembler support for Intel AES instructions 
6763015 need support for software capabilities 
6766623 cc fail to compile mmxidct.c which contains asm() statement 
6769256 snv_102 /usr/bin/as is toxic to ON 
6816907 Add hwcap for aes 2
 
(from 119961-04)
 
6696244 x86 fbe does not accept "fmul %st(0), %st(1)"
6704178 fbe choked when building libsunmath with locale en_US.UTF8
 
(from 119961-03)
 
6335049 linux: problem with #pragma weak
6384069 linux: fbe fails to compile s file on linux with segmentation fault
6407228 linux: tls not working
6354532 Support '#' as comment to match gcc
6391271 Assembly instructions lahf and sahf not recognized for xarch=amd64
6414978 .equ directive needed for compatibility with gnu assembler
6397335 Add -m32/64 flag for consistency with the compiler flags in support of ILP32 vs. LP64
6413700 compiler should support new RDTSCP instruction
6425907 Fatal error in fbe during BOOST compilation
6448049 Address error in struct when thread local storage is used on x86
6432549 incorrect addend emited by assembler for initial_exec TLS model in AMD64
6469273 linux: libmtsk.so: undefined reference to '#' coming from libc_supp.a
6212342 AMD64: Incorrect warning issued for assembler under -Kpic
6455519 Warning: R_386_32 relocation is used for symbol ".debug_abbrev"
6490329 Compilation too slow with -g
6501522 fbe should accept .balign directive
6507746 10h: Add set4a instructions to assembler
6508575 attributes alias + visibility don't work as in gcc
6536509 assembler doesn't recognize monitor, mwait with operands
6538316 crash in C++ 5.8 x86 in fbe on a long source code submitted by customer
6402483 dbg_gen processing switched to assembler
6549411 Incorrect encoding for SSE4a instruction
6539986 fbe doesn't show name of asm file in error messages
6561358 amd10h: Add hwcap info for 10h processors
6564819 Add new -xchip support in assembler
6501512 fbe does not accept valid shrdl instruction
6564913 Allow the x87 FP register names st and st(0) to be used interchangably in as
6535903 Make Sun assembler operand sensitive
6576638 assembler requires support for more then 10 local labels
6577096 support of .equiv directive
6577746 sysretl is not recognized
6578710 .extern and .global directives
6578733 support of .p2align directive
6592510 Add Intel SSSE3 assembly instructions support
6630673 Get rid of source browsing code in assembler
6609948 Add Intel SSE4.1 assembly instructions support
6649176 gcc-oriented assembler code cannot be compiled with our compilers
6654963 Assembler mis-encodes pmuldq
6669826 6651399: Add support for .dbg_bind_reg_range  (update)
6668398 x86 fbe does not accept .s files with non 7bit characters.
6669990 x86/x64 assembler should set .annotate section flag to SHF_EXCLUDE
6674213 Add SSE4.2 support in assembler
6674319 Incorrect encoding of PEXTRW instruction
6688342 18n test core dumped when it compiled on ja locale machines
6682876 x86 assembler does not recognize fxsaveq aka rex64 fxsave
6689832 x86 fbe does not accept 0xff as valid non-7bit character
 
(from 119961-02)
 
6316356 FIXED assembler cannot realloc string table 2. 5097244 FIXED assembler gives poor error messages.
6313008 FIXED assembler seg faults with too many sections
6307995 FIXED assembler generated wrong reloc type for movabsq sym@GOTOFF
6302163 FIXED as incorrectly flags reads of more than 16 bits from segment regis
6304577 FIXED Handling missing hwcap marking for some instructions
6299462 FIXED Support new -xarch values needed for AMD extension
NoBugID FIXED Remove -3dnow and -sse3 hidden options
6290635 FIXED Mark binaries with instructions used
6265210 FIXED incorrect stab offset for local symbols
NoBugID Added SHF_AMD64_LARGE bit support for medium model
6260465 FIXED SSE3 instructions support in assembler
NoBugID FIXED Fixed Linux build problem of lacking SHN_AMD64_LCOMMON
NoBugID added gendefs.h fix for linux pib failed problem
NoBugID Fixed short sectnum problem
NoBugID Add hwcap support
NoBugID Supporting "movl" of segment register
6280973 Don't use prefetchw under -xarch=amd64
NoBugID Fixed yytext memory corruption problem
 
 
(from 119961-01)
 
6251717 /usr/ccs/bin/as gives incorrect output for AMD64
NoBugID Latest ABI swaps the value of GOTOFF64 and GOTPC32
6250279 AMD64: Use the prefetchw instruction with appropriate
6200917 ube appears to pass invalid syntax to fbe(actually as does not process correct stab address)
5058413 argument of .float directive is rounded by fbe
6201130 fbe wan't compile with debug info
6211433 Generate R_AMD64_GOTPCREL for "jmp xxx@GOTPCREL"
6200463 section names generated incorrectly for ELF 64-bit AMD64
6219243 assembler generates wrong array size in the object file
6218032 dbx prints incorrected values of fortran variables
6205808 code duplication and limited rule in parse.y
NoBugID linux pib failed problem in gendefs.h v1.29
NoBugID In parse.y there were used undefined constants TRUE/FALSE on linux 
6252350 Add assembler support for medium model
NoBugID Fixed Linux build problem of lacking SHN_AMD64_LCOMMON


Patch Installation Instructions:
--------------------------------
For Solaris 10 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/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: Friday, May 20, 2016