OBSOLETE: WITHDRAWN PATCH Obsoleted by: 112963-23 SunOS 5.9: linker Patch |
Disclaimer:
Please note:
Although OBSOLETED patches are available on SunSolve, Sun recommends using the most recent patches and the most recent revision of those patches. OBSOLETED patches do not include the latest bug fixes and/or product enhancements, and may require the installation of additional patches as a corrective measure.
Status: OBSOLETE
Patch Id: 112963-22
***********************************************************************
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.
***********************************************************************Summary: WITHDRAWN PATCH Obsoleted by: 112963-23 SunOS 5.9: linker Patch
Date: Jul/14/2005
***********************************************************
Patch 112963-22 has been withdrawn on Dec. 12,2005.
Reason:
This patch may cause applications with a large number of "delayed"
(or lazy) Loadable Dependencies to Experience Startup Failures.
Please see Sun Alert 101995 for more details:-
http://sunsolve.sun.com/search/document.do?assetkey=1-26-101995-1
Please reference CR 6314115 for more information.
Recommendation:
Install patch 112963-25 (or newer).
***********************************************************Installation Requirements:
Reboot after installation, an alternative may be in Special Install Instructions
Install in Single User ModeSolaris Release: 9
Sun OS Release: 5.9
Unbundled Product:
Unbundled Release:
Xref: This patch available for x86 as patch 113986
Topic:
SunOS 5.9: linker Patch
Relevant Architecture: sparc
BugId's fixed with this patch:
4461340 4470917 4504895 4526752 4526878 4529912 4533195 4546416 4616944 4621479 4622472 4624658 4630224 4633860 4638070 4642829 4651493 4651709 4654406 4655066 4662575 4664855 4668517 4669582 4671493 4696204 4698800 4701749 4706503 4707030 4707808 4710814 4714146 4715815 4716275 4716929 4728822 4730110 4730433 4731183 4739660 4743413 4744337 4744411 4745129 4745932 4746231 4753066 4754751 4755674 4764817 4765536 4766815 4770484 4770494 4772927 4774727 4775738 4778247 4778418 4779976 4783869 4787579 4790194 4792461 4793721 4796237 4796286 4798376 4802194 4804328 4806476 4811093 4811951 4811969 4816378 4817314 4824026 4825065 4825151 4825296 4826315 4830584 4830889 4831544 4831650 4834784 4838226 4845764 4845829 4850703 4860508 4865418 4870260 4872634 4878827 4889914 4900320 4900684 4904565 4904573 4906062 4911775 4911796 4911936 4912214 4915901 4918303 4918310 4918938 4930985 4930997 4933300 4936305 4939565 4939626 4939869 4940894 4946992 4948119 4948427 4951840 4955373 4955802 4963676 4964415 4966465 4967869 4968618 4973865 4974828 4975598 4987898 4994738 5002160 5006657 5012172 5013759 5021541 5021773 5023493 5029830 5031495 5032364 5034652 5036561 5041446 5042713 5044797 5047082 5047235 5047612 5056867 5058415 5062313 5063580 5064973 5067518 5071614 5076838 5079061 5080344 5080443 5085792 5086352 5092414 5094135 5096272 5098205 5102601 5105601 5106206 6173559 6173852 6174599 6175609 6175843 6177838 6178667 6181928 6182293 6182884 6183645 6189384 6190863 6191488 6192164 6192490 6195030 6195521 6198358 6204123 6207495 6209350 6212797 6215444 6217285 6219538 6222525 6226206 6228472 6235000 6241995 6244897 6251722 6251798 6254364 6258834 6260361 6260780 6261803 6261990 6262789 6266261 6267352 6268693 6276905 6280467 6283601 6284941 6291547
Changes incorporated in this version:
6276905 6280467 6283601 6284941 6291547
Patches accumulated and obsoleted by this patch:
112833-01
Patches which conflict with this patch:
Required Patches:
Obsoleted by:
Files Included in this Patch:
/etc/lib/ld.so.1
/etc/lib/libdl.so.1
/usr/bin/crle
/usr/bin/ldd
/usr/bin/moe
/usr/bin/pvs
/usr/bin/sotruss
/usr/bin/sparcv9/moe
/usr/bin/sparcv9/pvs
/usr/bin/whocalls
/usr/ccs/bin/ar
/usr/ccs/bin/dump
/usr/ccs/bin/elfdump
/usr/ccs/bin/lari
/usr/ccs/bin/ld
/usr/ccs/bin/mcs
/usr/ccs/bin/nm
/usr/ccs/bin/sparcv9/dump
/usr/ccs/bin/sparcv9/elfdump
/usr/ccs/bin/sparcv9/ld
/usr/ccs/bin/sparcv9/mcs
/usr/ccs/bin/sparcv9/nm
/usr/ccs/bin/sparcv9/strip
/usr/ccs/bin/strip
/usr/demo/ELF/Makefile
/usr/demo/ELF/README
/usr/demo/ELF/acom.c
/usr/demo/ELF/dcom.c
/usr/demo/ELF/dispsyms.c
/usr/demo/ELF/pcom.c
/usr/include/dlfcn.h
/usr/include/gelf.h
/usr/include/libelf.h
/usr/include/link.h
/usr/include/rtld_db.h
/usr/include/sys/auxv_386.h
/usr/include/sys/auxv_SPARC.h
/usr/include/sys/elf.h
/usr/include/sys/elf_386.h
/usr/include/sys/elf_M32.h
/usr/include/sys/elf_SPARC.h
/usr/include/sys/elf_amd64.h
/usr/include/sys/elf_notes.h
/usr/include/sys/elftypes.h
/usr/include/sys/link.h
/usr/include/sys/machelf.h
/usr/include/sys/note.h
/usr/lib/0@0.so.1
/usr/lib/ld.so
/usr/lib/ld.so.1
/usr/lib/ld/map.bssalign
/usr/lib/ld/map.default
/usr/lib/ld/map.noexstk
/usr/lib/lddstub
/usr/lib/libcrle.so.1
/usr/lib/libdl.so
/usr/lib/libdl.so.1
/usr/lib/libelf.a
/usr/lib/libelf.so
/usr/lib/libelf.so.1
/usr/lib/libld.so.2
/usr/lib/libld.so.3
/usr/lib/liblddbg.so.4
/usr/lib/libldfeature.a (deleted)
/usr/lib/libldstab.so.1
/usr/lib/librtld.so.1
/usr/lib/librtld_db.so
/usr/lib/librtld_db.so.1
/usr/lib/link_audit/ldprof.so.1
/usr/lib/link_audit/sparcv9/ldprof.so.1
/usr/lib/link_audit/sparcv9/truss.so.1
/usr/lib/link_audit/sparcv9/who.so.1
/usr/lib/link_audit/truss.so.1
/usr/lib/link_audit/who.so.1
/usr/lib/mdb/proc/ld.so
/usr/lib/mdb/proc/sparcv9/ld.so
/usr/lib/sparcv9/ld.so.1
/usr/lib/sparcv9/lddstub
/usr/lib/sparcv9/libcrle.so.1
/usr/lib/sparcv9/libdl.so.1
/usr/lib/sparcv9/libelf.so.1
/usr/lib/sparcv9/libld.so.2
/usr/lib/sparcv9/libld.so.3
/usr/lib/sparcv9/liblddbg.so.4
/usr/lib/sparcv9/libldfeature.a (deleted)
/usr/lib/sparcv9/libldstab.so.1
/usr/lib/sparcv9/librtld.so.1
/usr/lib/sparcv9/librtld_db.so.1
/usr/xpg4/bin/ar
Problem Description:
6283601 The usr/src/cmd/sgs/packages/common/copyright contains old information
legally problematic
6276905 dlopen/LinkMap gives inconsistent results (relative vs absolute linkname)
6284941 excessive link times with many groups/sections
6280467 dlclose() unmaps shared library before library's _fini() has finished
6291547 ld.so mishandles LD_AUDIT causing security problems.
(from 112963-21)
5080443 lazy loading failure doesn't clean up after itself
6226206 ld.so.1 failure when processing single segment hwcap filtee
6228472 ld.so.1: link-map control list stacking can lose objects
6235000 random packages not getting installed in snv_09 and snv_10 -
rtld/common/malloc.c Assertion
6244897 ld.so.1 can't run apps from command line
6251798 moe(1) returns an internal assertion failure message in some circumstances
6251722 ld fails silently with exit 1 status when -z ignore passed
6254364 ld won't build libgenunix.so with absolute relocations
6215444 ld.so.1 caches "not there" lazy libraries, foils svc.startd(1M)'s logic
6222525 dlsym(3C) trusts caller(), which may return wrong results with tail
call optimization
6241995 warnings in sgs should be fixed
6258834 direct binding availability should be verified at runtime
6260361 lari shouldn't count a.out non-zero undefined entries as interesting
6260780 ldd doesn't recognize LD_NOAUXFLTR
6266261 Add ld(1) -Bnodirect support
6261990 invalid e_flags error could be a little more friendly
6261803 lari(1) should find more events uninteresting
6267352 libld_malloc provides inadequate alignment
6268693 SHN_SUNW_IGNORE symbols should be allowed to be multiply defined
6262789 Infosys wants a faster linker
(from 112963-20)
6251722 ld fails silently with exit 1 status when -z ignore passed
(from 112963-19)
6219538 112963-17: linker patch causes binary to dump core
(from 112963-18)
5106206 ld.so.1 fail to ruld.so.1 fail to run a Solaris9 program that has
libc linked with -z lazyload
5102601 ON should deliver a 64-bit operating system for Opteron systems
6173852 enable link_auditing technology for AMD64
6174599 linker does not create .eh_frame_hdr sections for eh_frame sections
6175609 AMD64: run-time linker has a corrupted note section
6175843 AMD64: rdb_demo files not installed
6182293 ld.so.1 can repeatedly relocate object .plts (RTLD_NOW)
6183645 ld core dumps when automounter fails
6178667 ldd list unexpected (file not found) in x86 environment.
6181928 Need new reloc types R_AMD64_GOTOFF64 and R_AMD64_GOTPC32
6182884 AMD64: ld coredumps when building a shared library
6173559 ld command may set incorrect value for sh_addralign under some conditions.
5105601 ld.so.1 gets a little too enthusiastic with interposition
6189384 ld.so.1 should accommodate a file's dev/inode change (libc loopback mnt)
6177838 AMD64: linker cannot resolve PLT for 32-bit a.out(s) on AMD64-S2 kernel
6190863 sparc disassembly code should be removed from rdb_demo
6191488 unwind eh_frame_hdr needs corrected encoding value
6192490 moe(1) returns /lib/libc.so.1 for optimal expansion of libc HWCAP libraries
6192164 AMD64: introduce dlamd64getunwind interface
6195030 libdl has bad version name
6198358 AMD64: bad eh_frame_hdr data when C and C++ mixed in a.out
6195521 64-bit moe(1) missed the train
6204123 ld.so.1: symbol lookup fails even after lazy loading fallback
6207495 UNIX98/UNIX03 vsx namespace violation DYNL.hdr/misc/dlfcn/T.dlfcn 14 Failed
6209350 Do not include signature section from dynamic dependency library
into relocatable
6212797 The binary compiled on SunOS4.x doesn't run on Solaris8 with Patch 109147-31
6217285 ctfmerge crashed during full onnv build
(from 112963-17)
5092414 Linker patch 109147-29 makes Broadvison One-To-One server v4.1 installation fail
5013759 file should report hardware/software capabilities
5063580 libldstab: file /tmp/posto..: .stab[.index .sbfocus] found with no matching string
5076838 elfdump(1) is built with a CTF section (the wrong one)
5080344 Hardware capabilities are not enforced for a.out
5079061 RTLD_DEFAULT can be expensive
5064973 allow normal relocs against TLS symbols for some sections
5085792 LD_XXXX_64 should override LD_XXXX
5096272 every executable or library has a .SUNW_dof section
5094135 Bloomberg wants a faster ldd.
5086352 libld.so.3 should be built with a .SUNW_ctf ELF section
5098205 elfdump gives wrong section name for the global offset table
(from 112963-16)
5071614 109147-29 & -30 break the build of on28-patch on Solaris 8 2/04
5029830 crle: provide for optional alternative dependencies.
5034652 ld.so.1 should save, and print, more error messages
5036561 ld.so.1 outputs non-fatal fatal message about auxiliary filter libraries
5042713 4866170 broke ld.so's ::setenv
5047082 ld can core dump on bad gcc objects
5047612 ld.so.1: secure pathname verification is flawed with filter use
5047235 elfdump can core dump printing PT_INTERP section
4798376 nits in demo code
5041446 gelf_update_*() functions inconsistently return NULL or 0
5032364 M_ID_TLSBSS and M_ID_UNKNOWN have the same value
4707030 Empty LD_PRELOAD_64 doesn't override LD_PRELOAD
4968618 symbolic linkage causes core dump
5062313 dladdr() can cause deadlock in MT apps.
5056867 $ISALIST/$HWCAP expansion should be more flexible.
4918303 0@0.so.1 should not use compiler-supplied crt*.o files
5058415 whocalls cannot take more than 10 arguments
5067518 The fix for 4918303 breaks the build if a new work space is used.
(from 112963-15)
5044797 ld.so.1: secure directory testing is being skipped during filtee processing
4963676 Remove remaining static libraries
5021541 unnecessary PT_SUNWBSS segment may be created
5031495 elfdump complains about bad symbol entries in core files
5012172 Need error when creating shared object with .o compiled -xarch=v9 -xcode=abs44
4994738 rd_plt_resolution() resolves ebx-relative PLT entries incorrectly
5023493 ld -m output with patch 109147-25 missing .o information
(from 112963-14)
4860508 link-editors should create/promote/verify hardware/software capabilities
5002160 crle: reservation for dumped objects gets confused by mmaped object
4967869 linking stripped library causes segv in linker
5006657 link-editor doesn't always handle nodirect binding syminfo information
4915901 no way to see ELF information
5021773 ld.so.1 has trouble with objects having more than 2 segments.
4987898 The archive utility ar gives 'could not allocate memory' on Solaris x86
(from 112963-13)
4940894 ld core dumps using "-xldscope=symbolic
4912214 Having multiple of libc.so.1 in a link map causes malloc() to fail
4526878 ld.so.1 should pass MAP_ALIGN flag to give kernel more flexibility
4930997 sgs bld_vernote.ksh script needs to be hardened...
4796286 ld.so.1: scenario for trouble?
4930985 clean up cruft under usr/src/cmd/sgs/tools
4933300 remove references to Ultra-1 in librtld_db demo
4936305 string table compression is much too slow...
4939626 SUNWonld internal package must be updated...
4939565 per-symbol filtering required
4948119 ld(1) -z loadfltr fails with per-symbol filtering
4948427 ld.so.1 gives fatal error when multiple RTLDINFO objects are loaded
4955373 per-symbol filtering refinements
4878827 crle(1M) - display post-UPM search paths, and compensate for pre-UPM.
4955802 /usr/ccs/bin/ld dumps core in process_reld()
4964415 elfdump issues wrong relocation error message
4966465 LD_NOAUXFLTR fails when object is both a standard and auxiliary filter
4973865 link-editor does not scale properly when linking objects with lots of syms
4975598 SHT_SUNW_ANNOTATE section relocation not resolved
4974828 nss_files nss_compat r_mt tests randomly segfaulting
(from 112963-12)
4946992 ld crashes due to huge number of sections (>65,000)
4951840 mcs -c goes into a loop on executable program
4939869 Need additional relocation types for abs34 code model
(from 112963-11)
4911936 exceptions are not caught from shared library with -zignore
4900320 rtld library mapping could be faster
4911775 implement GOTDATA proposal in ld
4904565 Functionality to ignore relocations against external symbols
4764817 add section types SHT_DEBUG and SHT_DEBUGSTR
4850703 enable per-symbol direct bindings
4716275 Help required in the link analysis of runtime interfaces
4904573 elfdump may hang when processing archive files
4918310 direct binding from an executable can't be interposed on.
4918938 ld.so.1 has become SPARC32PLUS - breaks 4.x binary compatibility
4911796 S1S8 C++: ld dump core when compiled and linked with xlinkopt=1.
4889914 ld crashes with SEGV using -M mapfile under certain conditions
(from 112963-10)
4900684 shared libraries with more then 32768 plt's fail for sparc ELF64
4870260 elfdump command should produce more warning message on invalid move entries.
4865418 empty PT_TLS program headers cause problems in TLS enabled applications
4825151 compiler core dumped with a -mt -xF=%all test
4845829 runtime linker fails to dlopen() long path name.
4906062 Makefiles under usr/src/cmd/sgs needs to be updated
(from 112963-09)
4744411 Bloomberg wants a faster linker
4470917 Solaris Process Model Unification
4811969 64-bit links can be much slower than 32-bit
4825065 ld(1) should ignore consecutive empty sections.
4838226 unrelocated shared objects may be erroneously collected for init firing
4830889 TLS: testcase coredumps with -xarch=v9 and -g
4845764 filter removal can leave dangling filtee pointer
4811093 apptrace -F libc date core dumps
4826315 Link editors need to be pre- and post- Unified Process Model aware
4872634 Large LD_PRELOAD values can cause SEGV of process
(from 112963-08)
4830584 mmap for the padding region doesn't get freed after dlclose
4831650 ld.so.1 can walk off the end of it's call_init() array...
4831544 ldd using .so modules compiled with FD7 compiler caused a core dump
4834784 Accessing members in a TLS structure causes a core dump in Oracle
4824026 segv when -z combreloc is used with -xlinkopt
4825296 typo in elfdump
(from 112963-07)
4731183 compiler creates .tlsbss section instead of .tbss as documented
4816378 TLS: a tls test case dumps core with C and C++ compilers
4817314 TLS_GD relocations against local symbols do not reference symbol...
4811951 non-default symbol visibility overridden by definition in shared object
4802194 relocation error of mozilla built by K2 compiler
4715815 ld should allow linking with no output file (or /dev/null)
4793721 Need a way to null all code in ISV objects enabling ld performance tuning
4796237 RFE: link-editor extremely slow with patch 109147-20 and static libraries
(from 112963-06)
4792461 Thread-Local Storage - x86 instruction sequence updates
4730110 ld.so.1 list implementation could scale better
4728822 restrict the objects dlsym() searches.
4714146 crle: 64-bit secure pathname is incorrect.
4504895 dlclose() does not remove all objects
4698800 Wrong comments in /usr/lib/ld/sparcv9/map.*
4745129 dldump is inconsistent with .dynamic processing errors.
4753066 LD_SIGNAL isn't very useful in a threaded environment
4765536 crle: symbolic links can confuse alternative object configuration info
4766815 ld -r of object the TLS data fails
4770484 elfdump can not handle stripped archive file
4770494 ld command gives improper error message handling broken archive file
4775738 overwriting output relocation table when 'ld -zignore' is used
4778247 elfdump -e of core files fails
4779976 elfdump dies on bad relocation entries
4787579 invalid SHT_GROUP entries can cause linker to seg fault
4783869 dlclose: filter closure exhibits hang/failure - introduced with 4504895
4778418 ld.so.1: there be nits out there
4461340 sgs: ugly build output while suppressing ia64 (64-bit) build on Intel
4790194 dlopen(..., RTLD_GROUP) has an odd interaction with interposition
4804328 auditing of threaded applications results in deadlock
4806476 building relocatable objects with SHF_EXCLUDE loses relocation information
(from 112963-05)
4772927 strip core dumps on an archive library
4774727 direct-binding can fail against copy-reloc symbols
(from 112963-04)
4755674 Patch 109147-18 results in coredump.
4739660 Threads deadlock in schedlock and dynamic linker lock.
4743413 ld.so.1 doesn't terminate argv with NULL pointer when invoked directly
4746231 linker core-dumps when SECTION relocations are made against discarded sections
4730433 ld.so.1 wastes time repeatedly opening dependencies
4744337 missing RD_CONSISTENT event with dlmopen(LD_ID_NEWLM, ...)
4745932 strip utility doesn't strip out Dwarf2 debug sections
4754751 "strip" command doesn't remove comdat stabs sections.
(from 112963-03)
4710814 add "official" support for the "symbolic" keyword in linker map-file
4716929 updating of local register symbols in dynamic symtab busted...
4706503 linkers need to cope with EF_SPARCV9_PSO/EF_SPARCV9_RMO
4696204 enable extended section indexes in relocatable objects
(from 112963-02)
4701749 On Solaris 8 + 109147-16 ld crashes when building a dynamic library.
4707808 The ldd command is broken in the latest Solaris 8 linker patch.
(from 112963-01)
4526752 we should build and ship ld.so's mdb module
4529912 purge ia64 source from sgs
4533195 ld interposes on malloc()/free() preventing support library from freeing memory
4546416 add help messages to ld.so mdbmodule
4621479 'make' in $SRC/cmd/sgs/tools tries to install things in the proto area
4622472 LA_SYMB_DLSYM not set for la_symbind() invocations
4624658 update 386 TLS relocation values
4630224 crle get's confused about memory layout of objects...
4633860 Optimization for unused static global variables
4638070 ldd/ld.so.1 could aid in detecting unreferenced dependencies
4642829 ld.so.1 mprotect()'s text segment for weak relocations (it shouldn't)
4651493 RTLD_NOW can result in binding to an object prior to its init being run
4651709 dlopen(RTLD_NOLOAD) can disable lazy loading
4654406 string tables created by the link-editor could be smaller...
4655066 crle: -u with nonexistent config file doesn't work
4662575 linker displacement relocation checking introduces significant linker overhead
4664855 crle on application failed with ld.so.1 encountering mmap() returning ENOMEM err
4668517 compile with map.bssalign doesn't copy _iob to bss
4669582 latest dynamic linker causes libthread _init to get skipped
4671493 ld.so.1 inconsistently assigns PATHNAME() on primary objects
(from 112833-01)
4616944 ar seg faults when order of object files is reversedRevision History:
112963-14 112963-13 112963-20 112963-01 112963-12 112963-17 112963-06 112963-08 112963-19 112963-04 112963-09 112963-10 112963-16 112963-05 112963-07 112963-18 112963-15
Patch Installation Instructions:
--------------------------------
For Solaris 2.0-2.6 releases, refer to the Install.info file and/or
the README within the patch for instructions on using the generic
'installpatch' and 'backoutpatch' scripts provided with each patch.
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/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:
----------------------------
None.
README -- Last modified date: Monday, December 12, 2005