1#ident "%Z%%M% %I% %E% SMI" 2# 3# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 4# Use is subject to license terms. 5# 6# CDDL HEADER START 7# 8# The contents of this file are subject to the terms of the 9# Common Development and Distribution License (the "License"). 10# You may not use this file except in compliance with the License. 11# 12# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 13# or http://www.opensolaris.org/os/licensing. 14# See the License for the specific language governing permissions 15# and limitations under the License. 16# 17# When distributing Covered Code, include this CDDL HEADER in each 18# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 19# If applicable, add the following below this CDDL HEADER, with the 20# fields enclosed by brackets "[]" replaced with your own identifying 21# information: Portions Copyright [yyyy] [name of copyright owner] 22# 23# CDDL HEADER END 24# 25# Note: The '#ident' on the first line is also the key to 26# the versioning information for the SGS toolset. It must 27# be maintained in the 'ident' form, and on the first 10 lines 28# of the readme. If it is ever updated, you must also update 29# libconv/common/bld_vernote.ksh. See bug#4519569 for more 30# details on SGS versioning. 31# 32-------------------------------------------------------------------------------- 33SUNWonld - link-editors development package. 34-------------------------------------------------------------------------------- 35 36 The SUNWonld package is an internal development package containing the 37 link-editors and some related tools. All components live in the OSNET 38 source base, but not all components are delivered as part of the normal 39 OSNET consolidation. The intent of this package is to provide access 40 to new features/bugfixes before they become generally available. 41 42 General link-editor information can be found: 43 44 http://linkers.central/ 45 http://linkers.sfbay/ (also known as linkers.eng) 46 47 Comments and Questions: 48 49 Contact Rod Evans, Ali Bahrami, and/or Seizo Sakurai. 50 51 Warnings: 52 53 The postremove script for this package employs /usr/sbin/static/mv, 54 and thus, besides the common core dependencies, this package also 55 has a dependency on the SUNWsutl package. 56 57 Patches: 58 59 If the patch has been made official, you'll find it in: 60 61 http://sunsolve.Ebay.Sun.COM/cgi/show.pl?target=patches/os-patches 62 63 If it hasn't been released, the patch will be in: 64 65 /net/sunsoftpatch/patches/temporary 66 67 Note, any patches logged here refer to the temporary ("T") name, as we 68 never know when they're made official, and although we try to keep all 69 patch information up-to-date the real status of any patch can be 70 determined from: 71 72 http://sunsoftpatch.eng 73 74 If it has been obsoleted, the patch will be in: 75 76 /net/on${RELEASE}-patch/on${RELEASE}/patches/${MACH}/obsolete 77 78 79 History: 80 81 Note, starting after Solaris 10, letter codes in parenthesis may 82 be found following the bug synopsis. Their meanings are as follows: 83 84 (D) A documentation change accompanies the implementation change. 85 (P) A packaging change accompanies the implementation change. 86 87 In all cases, see the implementation bug report for details. 88 89 The following bug fixes exist in the OSNET consolidation workspace 90 from which this package is created: 91 92--------- 93Solaris 8 94--------- 95Bugid Risk Synopsis 96================================================================================ 974225937 i386 linker emits sparc specific warning messages 984215164 shf_order flag handling broken by fix for 4194028. 994215587 using ld and the -r option on solaris 7 with compiler option -xarch=v9 100 causes link errors. 1014234657 103627-08 breaks purify 4.2 (plt padding should not be enabled for 102 32-bit) 1034235241 dbx no longer gets dlclose notification. 104-------------------------------------------------------------------------------- 105All the above changes are incorporated in the following patches: 106 Solaris/SunOS 5.7_sparc patch 106950-05 (never released) 107 Solaris/SunOS 5.7_x86 patch 106951-05 (never released) 108 Solaris/SunOS 5.6_sparc patch 107733-02 (never released) 109 Solaris/SunOS 5.6_x86 patch 107734-02 110-------------------------------------------------------------------------------- 1114248290 inetd dumps core upon bootup - failure in dlclose() logic. 1124238071 dlopen() leaks while descriptors under low memory conditions 113-------------------------------------------------------------------------------- 114All the above changes are incorporated in the following patches: 115 Solaris/SunOS 5.7_sparc patch 106950-06 116 Solaris/SunOS 5.7_x86 patch 106951-06 117 Solaris/SunOS 5.6_sparc patch 107733-03 (never released) 118 Solaris/SunOS 5.6_x86 patch 107734-03 119-------------------------------------------------------------------------------- 1204267980 INITFIRST flag of the shard object could be ignored. 121-------------------------------------------------------------------------------- 122All the above changes plus: 123 4238973 fix for 4121152 affects linking of Ada objects 124 4158744 patch 103627-02 causes core when RPATH has blank entry and 125 dlopen/dlclose is used 126are incorporated in the following patches: 127 Solaris/SunOS 5.5.1_sparc patch 103627-12 (never released) 128 Solaris/SunOS 5.5.1_x86 patch 103628-11 129-------------------------------------------------------------------------------- 1304256518 miscalculated calloc() during dlclose/tsorting can result in segv 1314254171 DT_SPARC_REGISTER has invalid value associated with it. 132-------------------------------------------------------------------------------- 133All the above changes are incorporated in the following patches: 134 Solaris/SunOS 5.7_sparc patch 106950-07 135 Solaris/SunOS 5.7_x86 patch 106951-07 136 Solaris/SunOS 5.6_sparc patch 107733-04 (never released) 137 Solaris/SunOS 5.6_x86 patch 107734-04 138-------------------------------------------------------------------------------- 1394293159 ld needs to combine sections with and without SHF_ORDERED flag(comdat) 1404292238 linking a library which has a static char ptr invokes mprotect() call 141-------------------------------------------------------------------------------- 142All the above changes except for: 143 4256518 miscalculated calloc() during dlclose/tsorting can result in segv 144 4254171 DT_SPARC_REGISTER has invalid value associated with it. 145plus: 146 4238973 fix for 4121152 affects linking of Ada objects 147 4158744 patch 103627-02 causes core when RPATH has blank entry and 148 dlopen/dlclose is used 149are incorporated in the following patches: 150 Solaris/SunOS 5.5.1_sparc patch 103627-13 151 Solaris/SunOS 5.5.1_x86 patch 103628-12 152-------------------------------------------------------------------------------- 153All the above changes are incorporated in the following patches: 154 Solaris/SunOS 5.7_sparc patch 106950-08 155 Solaris/SunOS 5.7_x86 patch 106951-08 156 Solaris/SunOS 5.6_sparc patch 107733-05 157 Solaris/SunOS 5.6_x86 patch 107734-05 158-------------------------------------------------------------------------------- 1594295613 COMMON symbol resolution can be incorrect 160-------------------------------------------------------------------------------- 161All the above changes plus: 162 4238973 fix for 4121152 affects linking of Ada objects 163 4158744 patch 103627-02 causes core when RPATH has blank entry and 164 dlopen/dlclose is used 165are incorporated in the following patches: 166 Solaris/SunOS 5.5.1_sparc patch 103627-14 167 Solaris/SunOS 5.5.1_x86 patch 103628-13 168-------------------------------------------------------------------------------- 169All the above changes plus: 170 4351197 nfs performance problem by 103627-13 171are incorporated in the following patches: 172 Solaris/SunOS 5.5.1_sparc patch 103627-15 173 Solaris/SunOS 5.5.1_x86 patch 103628-14 174-------------------------------------------------------------------------------- 175All the above changes are incorporated in the following patches: 176 Solaris/SunOS 5.7_sparc patch 106950-09 177 Solaris/SunOS 5.7_x86 patch 106951-09 178 Solaris/SunOS 5.6_sparc patch 107733-06 179 Solaris/SunOS 5.6_x86 patch 107734-06 180-------------------------------------------------------------------------------- 1814158971 increase the default segment alignment for i386 to 64k 1824064994 Add an $ISALIST token to those understood by the dynamic linker 183xxxxxxx ia64 common code putback 1844239308 LD_DEBUG busted for sparc machines 1854239008 Support MAP_ANON 1864238494 link-auditing extensions required 1874232239 R_SPARC_LOX10 truncates field 1884231722 R_SPARC_UA* relocations are busted 1894235514 R_SPARC_OLO10 relocation fails 1904244025 sgsmsg update 1914239281 need to support SECREL relocations for ia64 1924253751 ia64 linker must support PT_IA_64_UNWIND tables 1934259254 dlmopen mistakenly closes fd 0 (stdin) under certain error conditions 1944260872 libelf hangs when libthread present 1954224569 linker core dumping when profiling specified 1964270937 need mechanism to suppress ld.so.1's use of a default search path. 1971050476 ld.so to permit configuration of search path 1984273654 filtee processing using $ISALIST could be optimized 1994271860 get MERCED cruft out of elf.h 2004248991 Dynamic loader (via PLT) corrupts register G4 2014275754 cannot mmap file: Resource temporarily unavailable 2024277689 The linker can not handle relocation against MOVE tabl 2034270766 atexit processing required on dlclose(). 2044279229 Add a "release" token to those understood by the dynamic linker 2054215433 ld can bus error when insufficient disc space exists for output file 2064285571 Pssst, want some free disk space? ld's miscalculating. 2074286236 ar gives confusing "bad format" error with a null .stab section 2084286838 ld.so.1 can't handle a no-bits segment 2094287364 ld.so.1 runtime configuration cleanup 2104289573 disable linking of ia64 binaries for Solaris8 2114293966 crle(1)'s default directories should be supplied 212 213------------------------------------ 214Solaris 8 600 (1st Q-update - s28u1) 215------------------------------------ 216Bugid Risk Synopsis 217================================================================================ 2184309212 dlsym can't find symbol 2194311226 rejection of preloading in secure apps is inconsistent 2204312449 dlclose: invalid deletion of dependency can occur using RTLD_GLOBAL 221-------------------------------------------------------------------------------- 222All the above changes are incorporated in the following patches: 223 Solaris/SunOS 5.8_sparc patch 109147-01 224 Solaris/SunOS 5.8_x86 patch 109148-01 225 Solaris/SunOS 5.7_sparc patch 106950-10 226 Solaris/SunOS 5.7_x86 patch 106951-10 227 Solaris/SunOS 5.6_sparc patch 107733-07 228 Solaris/SunOS 5.6_x86 patch 107734-07 229-------------------------------------------------------------------------------- 230 231------------------------------------ 232Solaris 8 900 (2nd Q-update - s28u2) 233------------------------------------ 234Bugid Risk Synopsis 235================================================================================ 2364324775 non-PIC code & -zcombreloc don't mix very well... 2374327653 run-time linker should preload tables it will process (madvise) 2384324324 shared object code can be referenced before .init has fired 2394321634 .init firing of multiple INITFIRST objects can fail 240-------------------------------------------------------------------------------- 241All the above changes are incorporated in the following patches: 242 Solaris/SunOS 5.8_sparc patch 109147-03 243 Solaris/SunOS 5.8_x86 patch 109148-03 244 Solaris/SunOS 5.7_sparc patch 106950-11 245 Solaris/SunOS 5.7_x86 patch 106951-11 246 Solaris/SunOS 5.6_sparc patch 107733-08 247 Solaris/SunOS 5.6_x86 patch 107734-08 248-------------------------------------------------------------------------------- 2494338812 crle(1) omits entries in the directory cache 2504341496 RFE: provide a static version of /usr/bin/crle 2514340878 rtld should treat $ORIGIN like LD_LIBRARY_PATH in security issues 252-------------------------------------------------------------------------------- 253All the above changes are incorporated in the following patches: 254 Solaris/SunOS 5.8_sparc patch 109147-04 255 Solaris/SunOS 5.8_x86 patch 109148-04 256 Solaris/SunOS 5.7_sparc patch 106950-12 257 Solaris/SunOS 5.7_x86 patch 106951-12 258-------------------------------------------------------------------------------- 2594349563 auxiliary filter error handling regression introduced in 4165487 2604355795 ldd -r now gives "displacement relocated" warnings 261-------------------------------------------------------------------------------- 262All the above changes are incorporated in the following patches: 263 Solaris/SunOS 5.7_sparc patch 106950-13 264 Solaris/SunOS 5.7_x86 patch 106951-13 265 Solaris/SunOS 5.6_sparc patch 107733-09 266 Solaris/SunOS 5.6_x86 patch 107734-09 267-------------------------------------------------------------------------------- 2684210412 versioning a static executable causes ld to core dump 2694219652 Linker gives misleading error about not finding main (xarch=v9) 2704103449 ld command needs a command line flag to force 64-bits 2714187211 problem with RDISP32 linking in copy-relocated objects 2724287274 dladdr, dlinfo do not provide the full path name of a shared object 2734297563 dlclose still does not remove all objects. 2744250694 rtld_db needs a new auxvec entry 2754235315 new features for rtld_db (DT_CHECKSUM, dynamic linked .o files 2764303609 64bit libelf.so.1 does not properly implement elf_hash() 2774310901 su.static fails when OSNet build with lazy-loading 2784310324 elf_errno() causes Bus Error(coredump) in 64-bit multithreaded programs 2794306415 ld core dump 2804316531 BCP: possible failure with dlclose/_preexec_exit_handlers 2814313765 LD_BREADTH should be shot 2824318162 crle uses automatic strings in putenv. 2834255943 Description of -t option incomplete. 2844322528 sgs message test infrastucture needs improvement 2854239213 Want an API to obtain linker's search path 2864324134 use of extern mapfile directives can contribute unused symbols 2874322581 ELF data structures could be layed out more efficiently... 2884040628 Unnecessary section header symbols should be removed from .dynsym 2894300018 rtld: bindlock should be freed before calling call_fini() 2904336102 dlclose with non-deletable objects can mishandle dependencies 2914329785 mixing of SHT_SUNW_COMDAT & SHF_ORDERED causes ld to seg fault 2924334617 COPY relocations should be produces for references to .bss symbols 2934248250 relcoation of local ABS symbols incorrect 2944335801 For complimentary alignments eliminate ld: warning: symbol `ll' 295 has differing a 2964336980 ld.so.1 relative path processing revisited 2974243097 dlerror(3DL) is not affected by setlocale(3C). 2984344528 dump should remove -D and -l usage message 299xxxxxxx enable LD_ALTEXEC to access alternate link-editor 300-------------------------------------------------------------------------------- 301All the above changes are incorporated in the following patches: 302 Solaris/SunOS 5.8_sparc patch 109147-06 303 Solaris/SunOS 5.8_x86 patch 109148-06 304-------------------------------------------------------------------------------- 305 306------------------------------------ 307Solaris 8 101 (3rd Q-update - s28u3) 308------------------------------------ 309Bugid Risk Synopsis 310================================================================================ 3114346144 link-auditing: plt_tracing fails if LA_SYMB_NOPLTENTER given after 312 being bound 3134346001 The ld should support mapfile syntax to generate PT_SUNWSTACK segment 3144349137 rtld_db: A third fallback method for locating the linkmap 3154343417 dladdr interface information inadequate 3164343801 RFE: crle(1): provide option for updating configuration files 3174346615 ld.so.1 attempting to open a directory gives: No such device 3184352233 crle should not honor umask 3194352330 LD_PRELOAD cannot use absolute path for privileged program 3204357805 RFE: man page for ld(1) does not document all -z or -B options in 321 Solaris 8 9/00 3224358751 ld.so.1: LD_XXX environ variables and LD_FLAGS should be synchronized. 3234358862 link editors should reference "64" symlinks instead of sparcv9 (ia64). 3244356879 PLTs could use faster code sequences in some cases 3254367118 new fast baplt's fail when traversed twice in threaded application 3264366905 Need a way to determine path to a shared library 3274351197 nfs performance problem by 103627-13 3284367405 LD_LIBRARY_PATH_64 not being used 3294354500 SHF_ORDERED ordered scections does not properly sort sections 3304369068 ld(1)'s weak symbol processing is inefficient (slow and doesn't scale). 331-------------------------------------------------------------------------------- 332All the above changes are incorporated in the following patches: 333 Solaris/SunOS 5.8_sparc patch 109147-07 334 Solaris/SunOS 5.8_x86 patch 109148-07 335 Solaris/SunOS 5.7_sparc patch 106950-14 336 Solaris/SunOS 5.7_x86 patch 106951-14 337-------------------------------------------------------------------------------- 338 339------------------------------------ 340Solaris 8 701 (5th Q-update - s28u5) 341------------------------------------ 342Bugid Risk Synopsis 343================================================================================ 3444368846 ld(1) fails to version some interfaces given in a mapfile 3454077245 dump core dump on null pointer. 3464372554 elfdump should demangle symbols (like nm, dump) 3474371114 dlclose may unmap a promiscuous object while it's still in use. 3484204447 elfdump should understand SHN_AFTER/SHN_BEGIN macro 3494377941 initialization of interposers may not occur 3504381116 ldd/ld.so.1 could aid in detecting unused dependencies 3514381783 dlopen/dlclose of a libCrun+libthread can dump core 3524385402 linker & run-time linker must support gABI ELF updates 3534394698 ld.so.1 does not process DF_SYMBOLIC - not gABI conforming 3544394212 the link editor quietly ignores missing support libraries 3554390308 ld.so.1 should provide more flexibility LD_PRELOAD'ing 32-bit/64-bit 356 objects 3574401232 crle(1) could provide better flexibility for alternatives 3584401815 fix misc nits in debugging output... 3594402861 cleanup /usr/demo/link_audit & /usr/tmp/librtld_db demo source code... 3604393044 elfdump should allow raw dumping of sections 3614413168 SHF_ORDERED bit causes linker to generate a separate section 362-------------------------------------------------------------------------------- 363All the above changes are incorporated in the following patches: 364 Solaris/SunOS 5.8_sparc patch 109147-08 365 Solaris/SunOS 5.8_x86 patch 109148-08 366-------------------------------------------------------------------------------- 3674452202 Typos in <sys/link.h> 3684452220 dump doesn't support RUNPATH 369-------------------------------------------------------------------------------- 370All the above changes are incorporated in the following patches: 371 Solaris/SunOS 5.8_sparc patch 109147-09 372 Solaris/SunOS 5.8_x86 patch 109148-09 373-------------------------------------------------------------------------------- 374 375------------------------------------- 376Solaris 8 1001 (6th Q-update - s28u6) 377------------------------------------- 378Bugid Risk Synopsis 379================================================================================ 3804421842 fixups in SHT_GROUP processing required... 3814450433 problem with liblddbg output on -Dsection,detail when 382 processing SHF_LINK_ORDER 383-------------------------------------------------------------------------------- 384All the above changes are incorporated in the following patches: 385 Solaris/SunOS 5.8_sparc patch 109147-10 386 Solaris/SunOS 5.8_x86 patch 109148-10 387 Solaris/SunOS 5.7_sparc patch 106950-15 388 Solaris/SunOS 5.7_x86 patch 106951-15 389-------------------------------------------------------------------------------- 3904463473 pldd showing wrong output 391-------------------------------------------------------------------------------- 392All the above changes are incorporated in the following patches: 393 Solaris/SunOS 5.8_sparc patch 109147-11 394 Solaris/SunOS 5.8_x86 patch 109148-11 395-------------------------------------------------------------------------------- 396 397------------------------------------ 398Solaris 8 202 (7th Q-update - s28u7) 399------------------------------------ 400Bugid Risk Synopsis 401================================================================================ 4024488954 ld.so.1 reuses same buffer to send ummapping range to 403 _preexec_exit_handlers() 404-------------------------------------------------------------------------------- 405All the above changes are incorporated in the following patches: 406 Solaris/SunOS 5.8_sparc patch 109147-12 407 Solaris/SunOS 5.8_x86 patch 109148-12 408-------------------------------------------------------------------------------- 409 410 411--------- 412Solaris 9 413--------- 414Bugid Risk Synopsis 415================================================================================ 4164505289 incorrect handling of _START_ and _END_ 4174506164 mcs does not recognize #linkbefore or #linkafter qualifiers 4184447560 strip is creating unexecutable files... 4194513842 library names not in ld.so string pool cause corefile bugs 420-------------------------------------------------------------------------------- 421All the above changes are incorporated in the following patches: 422 Solaris/SunOS 5.8_sparc patch 109147-13 423 Solaris/SunOS 5.8_x86 patch 109148-13 424 Solaris/SunOS 5.7_sparc patch 106950-16 425 Solaris/SunOS 5.7_x86 patch 106951-16 426-------------------------------------------------------------------------------- 4274291384 ld -M with a mapfile does not properly align Fortran REAL*8 data 4284413322 SunOS 5.9 librtld_db doesn't show dlopened ".o" files anymore? 4294429371 librtld_db busted on ia32 with SC6.x compilers... 4304418274 elfdump dumps core on invalid input 4314432224 libelf xlate routines are out of date 4324433643 Memory leak using dlopen()/dlclose() in Solaris 8 4334446564 ldd/lddstub - core dump conditions 4344446115 translating SUNW_move sections is broken 4354450225 The rdb command can fall into an infinite loop 4364448531 Linker Causes Segmentation Fault 4374453241 Regression in 4291384 can result in empty symbol table. 4384453398 invalid runpath token can cause ld to spin. 4394460230 ld (for OS 5.8 and 5.9) loses error message 4404462245 ld.so.1 core dumps when executed directly... 4414455802 need more flexibility in establishing a support library for ld 4424467068 dyn_plt_entsize not properly initialized in ld.so.1 4434468779 elf_plt_trace_write() broken on i386 (link-auditing) 4444465871 -zld32 and -zld64 does not work the way it should 4454461890 bad shared object created with -zredlocsym 4464469400 ld.so.1: is_so_loaded isn't as efficient as we thought... 4474469566 lazy loading fallback can reference un-relocated objects 4484470493 libelf incorectly translates NOTE sections accross architectures... 4494469684 rtld leaks dl_handles and permits on dlopen/dlclose 4504475174 ld.so.1 prematurly reports the failure to load a object... 4514475514 ld.so.1 can core dump in memory allocation fails (no swap) 4524481851 Setting ld.so.1 environment variables globally would be useful 4534482035 setting LD_PROFILE & LD_AUDIT causes ping command to issue warnings 454 on 5.8 4554377735 segment reservations cause sbrk() to fail 4564491434 ld.so.1 can leak file-descriptors when loading same named objects 4574289232 some of warning/error/debugging messages from libld.so can be revised 4584462748 Linker Portion of TLS Support 4594496718 run-time linkers mutex_locks not working with ld_libc interface 4604497270 The -zredlocsym option should not eliminate partially initialized local symbols 4614496963 dumping an object with crle(1) that uses $ORIGIN can loose its 462 dependencies 4634499413 Sun linker orders of magnitude slower than gnu linker 4644461760 lazy loading libXm and libXt can fail. 4654469031 The partial initialized (local) symbols for intel platform is not 466 working. 4674492883 Add link-editor option to multi-pass archives to resolve unsatisfied 468 symbols 4694503731 linker-related commands misspell "argument" 4704503768 whocalls(1) should output messages to stderr, not stdout 4714503748 whocalls(1) usage message and manpage could be improved 4724503625 nm should be taught about TLS symbols - that they aren't allowed that is 4734300120 segment address validation is too simplistic to handle segment reservations 4744404547 krtld/reloc.h could have better error message, has typos 4754270931 R_SPARC_HIX22 relocation is not handled properly 4764485320 ld needs to support more the 32768 PLTs 4774516434 sotruss can not watch libc_psr.so.1 4784213100 sotruss could use more flexible pattern matching 4794503457 ld seg fault with comdat 4804510264 sections with SHF_TLS can come in different orders... 4814518079 link-editor support library unable to modify section header flags 4824515913 ld.so.1 can incorrectly decrement external reference counts on dlclose() 4834519569 ld -V does not return a interesting value... 4844524512 ld.so.1 should allow alternate termination signals 4854524767 elfdump dies on bogus sh_name fields... 4864524735 ld getopt processing of '-' changed 4874521931 subroutine in a shared object as LOCL instead of GLOB 488-------------------------------------------------------------------------------- 489All the above changes are incorporated in the following patches: 490 Solaris/SunOS 5.8_sparc patch 109147-14 491 Solaris/SunOS 5.8_x86 patch 109148-14 492 Solaris/SunOS 5.7_sparc patch 106950-17 493 Solaris/SunOS 5.7_x86 patch 106951-17 494-------------------------------------------------------------------------------- 4954532729 tentative definition of TLS variable causes linker to dump core 4964526745 fixup ld error message about duplicate dependencies/needed names 4974522999 Solaris linker one order of magnitude slower than GNU linker 4984518966 dldump undoes existing relocations with no thought of alignment or size. 4994587441 Certain libraries have race conditions when setting error codes 5004523798 linker option to align bss to large pagesize alignments. 5014524008 ld can improperly set st_size of symbols named "_init" or "_fini" 5024619282 ld cannot link a program with the option -sb 5034620846 Perl Configure probing broken by ld changes 5044621122 multiple ld '-zinitarray=' on a commandline fails 505-------------------------------------------------------------------------------- 506 Solaris/SunOS 5.8_sparc patch 109147-15 507 Solaris/SunOS 5.8_x86 patch 109148-15 508 Solaris/SunOS 5.7_sparc patch 106950-18 509 Solaris/SunOS 5.7_x86 patch 106951-18 510 Solaris/SunOS 5.6_sparc patch 107733-10 511 Solaris/SunOS 5.6_x86 patch 107734-10 512-------------------------------------------------------------------------------- 513All the above changes plus: 514 4616944 ar seg faults when order of object file is reversed. 515are incorporated in the following patches: 516 Solaris/SunOS 5.8_sparc patch 109147-16 517 Solaris/SunOS 5.8_x86 patch 109148-16 518-------------------------------------------------------------------------------- 519All the above changes plus: 520 4872634 Large LD_PRELOAD values can cause SEGV of process 521are incorporated in the following patches: 522 Solaris/SunOS 5.6_sparc patch T107733-11 523 Solaris/SunOS 5.6_x86 patch T107734-11 524-------------------------------------------------------------------------------- 525 526------------------------------------ 527Solaris 9 1202 (2nd Q-update - s9u2) 528------------------------------------ 529Bugid Risk Synopsis 530================================================================================ 5314546416 add help messages to ld.so mdbmodule 5324526752 we should build and ship ld.so's mdb module 5334624658 update 386 TLS relocation values 5344622472 LA_SYMB_DLSYM not set for la_symbind() invocations 5354638070 ldd/ld.so.1 could aid in detecting unreferenced dependencies 536 PSARC/2002/096 Detecting unreferenced dependencies with ldd(1) 5374633860 Optimization for unused static global variables 538 PSARC/2002/113 ld -zignore - section elimination 5394642829 ld.so.1 mprotect()'s text segment for weak relocations (it shouldn't) 5404621479 'make' in $SRC/cmd/sgs/tools tries to install things in the proto area 5414529912 purge ia64 source from sgs 5424651709 dlopen(RTLD_NOLOAD) can disable lazy loading 5434655066 crle: -u with nonexistent config file doesn't work 5444654406 string tables created by the link-editor could be smaller... 545 PSARC/2002/160 ld -znocompstrtab - disable string-table compression 5464651493 RTLD_NOW can result in binding to an object prior to its init being run. 5474662575 linker displacement relocation checking introduces significant 548 linker overhead 5494533195 ld interposes on malloc()/free() preventing support library from freeing 550 memory 5514630224 crle get's confused about memory layout of objects... 5524664855 crle on application failed with ld.so.1 encountering mmap() returning 553 ENOMEM err 5544669582 latest dynamic linker causes libthread _init to get skipped 5554671493 ld.so.1 inconsistantly assigns PATHNAME() on primary objects 5564668517 compile with map.bssalign doesn't copy _iob to bss 557-------------------------------------------------------------------------------- 558All the above changes are incorporated in the following patches: 559 Solaris/SunOS 5.9_sparc patch T112963-01 560 Solaris/SunOS 5.8_sparc patch T109147-17 561 Solaris/SunOS 5.8_x86 patch T109148-17 562-------------------------------------------------------------------------------- 5634701749 On Solaris 8 + 109147-16 ld crashes when building a dynamic library. 5644707808 The ldd command is broken in the latest 2.8 linker patch. 565-------------------------------------------------------------------------------- 566All the above changes are incorporated in the following patches: 567 Solaris/SunOS 5.9_sparc patch T112963-02 568 Solaris/SunOS 5.8_sparc patch T109147-18 569 Solaris/SunOS 5.8_x86 patch T109148-18 570-------------------------------------------------------------------------------- 5714696204 enable extended section indexes in relocatable objects 572 PSARC/2001/332 ELF gABI updates - round II 573 PSARC/2002/369 libelf interfaces to support ELF Extended Sections 5744706503 linkers need to cope with EF_SPARCV9_PSO/EF_SPARCV9_RMO 5754716929 updating of local register symbols in dynamic symtab busted... 5764710814 add "official" support for the "symbolic" keyword in linker map-file 577 PSARC/2002/439 linker mapfile visibility declarations 578-------------------------------------------------------------------------------- 579All the above changes are incorporated in the following patches: 580 Solaris/SunOS 5.9_sparc patch T112963-03 581 Solaris/SunOS 5.8_sparc patch T109147-19 582 Solaris/SunOS 5.8_x86 patch T109148-19 583 Solaris/SunOS 5.7_sparc patch T106950-19 584 Solaris/SunOS 5.7_x86 patch T106951-19 585-------------------------------------------------------------------------------- 586 587----------------------------------- 588Solaris 9 403 (3nd Q-update - s9u3) 589----------------------------------- 590Bugid Risk Synopsis 591================================================================================ 5924731174 strip(1) does not fixup SHT_GROUP data 5934733697 -zignore with gcc may exclude C++ exception sections 5944733317 R_SPARC_*_HIX22 calculations are wrong with 32bit LD building 595 ELF64 binaries 5964735165 fatal linker error when compiling C++ programs with -xlinkopt 5974736951 The mcs broken when the target file is an archive file 598-------------------------------------------------------------------------------- 599All the above changes are incorporated in the following patches: 600 Solaris/SunOS 5.8_sparc patch T109147-20 601 Solaris/SunOS 5.8_x86 patch T109148-20 602 Solaris/SunOS 5.7_sparc patch T106950-20 603 Solaris/SunOS 5.7_x86 patch T106951-20 604-------------------------------------------------------------------------------- 6054739660 Threads deadlock in schedlock and dynamic linker lock. 6064653148 ld.so.1/libc should unregister its dlclose() exit handler via a fini. 6074743413 ld.so.1 doesn't terminate argv with NULL pointer when invoked directly 6084746231 linker core-dumps when SECTION relocations are made against discarded 609 sections 6104730433 ld.so.1 wastes time repeatedly opening dependencies 6114744337 missing RD_CONSISTENT event with dlmopen(LD_ID_NEWLM, ...) 6124670835 rd_load_objiter can ignore callback's return value 6134745932 strip utility doesn't strip out Dwarf2 debug section 6144754751 "strip" command doesn't remove comdat stab sections. 6154755674 Patch 109147-18 results in coredump. 616-------------------------------------------------------------------------------- 617All the above changes are incorporated in the following patches: 618 Solaris/SunOS 5.9_sparc patch T112963-04 619 Solaris/SunOS 5.7_sparc patch T106950-21 620 Solaris/SunOS 5.7_x86 patch T106951-21 621-------------------------------------------------------------------------------- 6224772927 strip core dumps on an archive library 6234774727 direct-bindings can fail against copy-reloc symbols 624-------------------------------------------------------------------------------- 625All the above changes are incorporated in the following patches: 626 Solaris/SunOS 5.9_sparc patch T112963-05 627 Solaris/SunOS 5.9_x86 patch T113986-01 628 Solaris/SunOS 5.8_sparc patch T109147-21 629 Solaris/SunOS 5.8_x86 patch T109148-21 630 Solaris/SunOS 5.7_sparc patch T106950-22 631 Solaris/SunOS 5.7_x86 patch T106951-22 632-------------------------------------------------------------------------------- 633 634----------------------------------- 635Solaris 9 803 (4th Q-update - s9u4) 636----------------------------------- 637Bugid Risk Synopsis 638================================================================================ 6394730110 ld.so.1 list implementation could scale better 6404728822 restrict the objects dlsym() searches. 641 PSARC/2002/478 New dlopen(3dl) flag - RTLD_FIRST 6424714146 crle: 64-bit secure pathname is incorrect. 6434504895 dlclose() does not remove all objects 6444698800 Wrong comments in /usr/lib/ld/sparcv9/map.* 6454745129 dldump is inconsistent with .dynamic processing errors. 6464753066 LD_SIGNAL isn't very useful in a threaded environment 647 PSARC/2002/569 New dlinfo(3dl) flag - RTLD_DI_SIGNAL 6484765536 crle: symbolic links can confuse alternative object configuration info 6494766815 ld -r of object the TLS data fails 6504770484 elfdump can not handle stripped archive file 6514770494 The ld command gives improper error message handling broken archive 6524775738 overwriting output relocation table when 'ld -zignore' is used 6534778247 elfdump -e of core files fails 6544779976 elfdump dies on bad relocation entries 6554787579 invalid SHT_GROUP entries can cause linker to seg fault 6564783869 dlclose: filter closure exhibits hang/failure - introduced with 4504895 6574778418 ld.so.1: there be nits out there 6584792461 Thread-Local Storage - x86 instruction sequence updates 659 PSARC/2002/746 Thread-Local Storage - x86 instruction sequence updates 6604461340 sgs: ugly build output while suppressing ia64 (64-bit) build on Intel 6614790194 dlopen(..., RTLD_GROUP) has an odd interaction with interposition 6624804328 auditing of threaded applications results in deadlock 6634806476 building relocatable objects with SHF_EXCLUDE loses relocation 664 information 665-------------------------------------------------------------------------------- 666All the above changes are incorporated in the following patches: 667 Solaris/SunOS 5.9_sparc patch T112963-06 668 Solaris/SunOS 5.9_x86 patch T113986-02 669 Solaris/SunOS 5.8_sparc patch T109147-22 670 Solaris/SunOS 5.8_x86 patch T109148-22 671-------------------------------------------------------------------------------- 6724731183 compiler creates .tlsbss section instead of .tbss as documented 6734816378 TLS: a tls test case dumps core with C and C++ compilers 6744817314 TLS_GD relocations against local symbols do not reference symbol... 6754811951 non-default symbol visibility overriden by definition in shared object 6764802194 relocation error of mozilla built by K2 compiler 6774715815 ld should allow linking with no output file (or /dev/null) 6784793721 Need a way to null all code in ISV objects enabling ld performance 679 tuning 680-------------------------------------------------------------------------------- 681All the above changes plus: 682 4796237 RFE: link-editor became extremely slow with patch 109147-20 and 683 static libraries 684are incorporated in the following patches: 685 Solaris/SunOS 5.9_sparc patch T112963-07 686 Solaris/SunOS 5.9_x86 patch T113986-03 687 Solaris/SunOS 5.8_sparc patch T109147-23 688 Solaris/SunOS 5.8_x86 patch T109148-23 689-------------------------------------------------------------------------------- 690 691------------------------------------ 692Solaris 9 1203 (5th Q-update - s9u5) 693------------------------------------ 694Bugid Risk Synopsis 695================================================================================ 6964830584 mmap for the padding region doesn't get freed after dlclose 6974831650 ld.so.1 can walk off the end of it's call_init() array... 6984831544 ldd using .so modules compiled with FD7 compiler caused a core dump 6994834784 Accessing members in a TLS structure causes a core dump in Oracle 7004824026 segv when -z combreloc is used with -xlinkopt 7014825296 typo in elfdump 702-------------------------------------------------------------------------------- 703All the above changes are incorporated in the following patches: 704 Solaris/SunOS 5.9_sparc patch T112963-08 705 Solaris/SunOS 5.9_x86 patch T113986-04 706 Solaris/SunOS 5.8_sparc patch T109147-24 707 Solaris/SunOS 5.8_x86 patch T109148-24 708-------------------------------------------------------------------------------- 7094470917 Solaris Process Model Unification (link-editor components only) 710 PSARC/2002/117 7114744411 Bloomberg wants a faster linker. 7124811969 64-bit links can be much slower than 32-bit. 7134825065 ld(1) should ignore consecutive empty sections. 7144838226 unrelocated shared objects may be erroneously collected for init firing 7154830889 TLS: testcase coredumps with -xarch=v9 and -g 7164845764 filter removal can leave dangling filtee pointer 7174811093 apptrace -F libc date core dumps 7184826315 Link editors need to be pre- and post- Unified Process Model aware 7194868300 interposing on direct bindings can fail 7204872634 Large LD_PRELOAD values can cause SEGV of process 721-------------------------------------------------------------------------------- 722All the above changes are incorporated in the following patches: 723 Solaris/SunOS 5.9_sparc patch T112963-09 724 Solaris/SunOS 5.9_x86 patch T113986-05 725 Solaris/SunOS 5.8_sparc patch T109147-25 726 Solaris/SunOS 5.8_x86 patch T109148-25 727-------------------------------------------------------------------------------- 728 729------------------------------------ 730Solaris 9 404 (6th Q-update - s9u6) 731------------------------------------ 732Bugid Risk Synopsis 733================================================================================ 7344870260 The elfdump command should produce more warning message on invalid move 735 entries. 7364865418 empty PT_TLS program headers cause problems in TLS enabled applications 7374825151 compiler core dumped with a -mt -xF=%all test 7384845829 The runtime linker fails to dlopen() long path name. 7394900684 shared libraries with more then 32768 plt's fail for sparc ELF64 7404906062 Makefiles under usr/src/cmd/sgs needs to be updated 741-------------------------------------------------------------------------------- 742All the above changes are incorporated in the following patches: 743 Solaris/SunOS 5.9_sparc patch T112963-10 744 Solaris/SunOS 5.9_x86 patch T113986-06 745 Solaris/SunOS 5.8_sparc patch T109147-26 746 Solaris/SunOS 5.8_x86 patch T109148-26 747 Solaris/SunOS 5.7_sparc patch T106950-24 748 Solaris/SunOS 5.7_x86 patch T106951-24 749-------------------------------------------------------------------------------- 7504900320 rtld library mapping could be faster 7514911775 implement GOTDATA proposal in ld 752 PSARC/2003/477 SPARC GOTDATA instruction sequences 7534904565 Functionality to ignore relocations against external symbols 7544764817 add section types SHT_DEBUG and SHT_DEBUGSTR 755 PSARC/2003/510 New ELF DEBUG and ANNOTATE sections 7564850703 enable per-symbol direct bindings 7574716275 Help required in the link analysis of runtime interfaces 758 PSARC/2003/519 Link-editors: Direct Binding Updates 7594904573 elfdump may hang when processing archive files 7604918310 direct binding from an executable can't be interposed on 7614918938 ld.so.1 has become SPARC32PLUS - breaks 4.x binary compatibility 7624911796 S1S8 C++: ld dump core when compiled and linked with xlinkopt=1. 7634889914 ld crashes with SEGV using -M mapfile under certain conditions 7644911936 exception are not catch from shared library with -zignore 765-------------------------------------------------------------------------------- 766All the above changes are incorporated in the following patches: 767 Solaris/SunOS 5.9_sparc patch T112963-11 768 Solaris/SunOS 5.9_x86 patch T113986-07 769 Solaris/SunOS 5.8_sparc patch T109147-27 770 Solaris/SunOS 5.8_x86 patch T109148-27 771 Solaris/SunOS 5.7_sparc patch T106950-25 772 Solaris/SunOS 5.7_x86 patch T106951-25 773-------------------------------------------------------------------------------- 7744946992 ld crashes due to huge number of sections (>65,000) 7754951840 mcs -c goes into a loop on executable program 7764939869 Need additional relocation types for abs34 code model 777 PSARC/2003/684 abs34 ELF relocations 778-------------------------------------------------------------------------------- 779All the above changes are incorporated in the following patches: 780 Solaris/SunOS 5.9_sparc patch T112963-12 781 Solaris/SunOS 5.9_x86 patch T113986-08 782 Solaris/SunOS 5.8_sparc patch T109147-28 783 Solaris/SunOS 5.8_x86 patch T109148-28 784-------------------------------------------------------------------------------- 785 786------------------------------------ 787Solaris 9 904 (7th Q-update - s9u7) 788------------------------------------ 789Bugid Risk Synopsis 790================================================================================ 7914912214 Having multiple of libc.so.1 in a link map causes malloc() to fail 7924526878 ld.so.1 should pass MAP_ALIGN flag to give kernel more flexibility 7934930997 sgs bld_vernote.ksh script needs to be hardend... 7944796286 ld.so.1: scenario for trouble? 7954930985 clean up cruft under usr/src/cmd/sgs/tools 7964933300 remove references to Ultra-1 in librtld_db demo 7974936305 string table compression is much too slow... 7984939626 SUNWonld internal package must be updated... 7994939565 per-symbol filtering required 8004948119 ld(1) -z loadfltr fails with per-symbol filtering 8014948427 ld.so.1 gives fatal error when multiple RTLDINFO objects are loaded 8024940894 ld core dumps using "-xldscope=symbolic 8034955373 per-symbol filtering refinements 8044878827 crle(1M) - display post-UPM search paths, and compensate for pre-UPM. 8054955802 /usr/ccs/bin/ld dumps core in process_reld() 8064964415 elfdump issues wrong relocation error message 8074966465 LD_NOAUXFLTR fails when object is both a standard and auxiliary filter 8084973865 the link-editor does not scale properly when linking objects with 809 lots of syms 8104975598 SHT_SUNW_ANNOTATE section relocation not resolved 8114974828 nss_files nss_compat r_mt tests randomly segfaulting 812-------------------------------------------------------------------------------- 813All the above changes are incorporated in the following patches: 814 Solaris/SunOS 5.9_sparc patch T112963-13 815 Solaris/SunOS 5.9_x86 patch T113986-09 816-------------------------------------------------------------------------------- 8174860508 link-editors should create/promote/verify hardware capabilities 8185002160 crle: reservation for dumped objects gets confused by mmaped object 8194967869 linking stripped library causes segv in linker 8205006657 link-editor doesn't always handle nodirect binding syminfo information 8214915901 no way to see ELF information 8225021773 ld.so.1 has trouble with objects having more than 2 segments. 823-------------------------------------------------------------------------------- 824All the above changes are incorporated in the following patches: 825 Solaris/SunOS 5.9_sparc patch T112963-14 826 Solaris/SunOS 5.9_x86 patch T113986-10 827 Solaris/SunOS 5.8_sparc patch T109147-29 828 Solaris/SunOS 5.8_x86 patch T109148-29 829-------------------------------------------------------------------------------- 830 831---------- 832Solaris 10 833---------- 834Bugid Risk Synopsis 835================================================================================ 8365044797 ld.so.1: secure directory testing is being skipped during filtee 837 processing 8384963676 Remove remaining static libraries 8395021541 unnecessary PT_SUNWBSS segment may be created 8405031495 elfdump complains about bad symbol entries in core files 8415012172 Need error when creating shared object with .o compiled 842 -xarch=v9 -xcode=abs44 8434994738 rd_plt_resolution() resolves ebx-relative PLT entries incorrectly 8445023493 ld -m output with patch 109147-25 missing .o information 845-------------------------------------------------------------------------------- 846All the above changes are incorporated in the following patches: 847 Solaris/SunOS 5.9_sparc patch T112963-15 848 Solaris/SunOS 5.9_x86 patch T113986-11 849 Solaris/SunOS 5.8_sparc patch T109147-30 850 Solaris/SunOS 5.8_x86 patch T109148-30 851-------------------------------------------------------------------------------- 8525071614 109147-29 & -30 break the build of on28-patch on Solaris 8 2/04 8535029830 crle: provide for optional alternative dependencies. 8545034652 ld.so.1 should save, and print, more error messages 8555036561 ld.so.1 outputs non-fatal fatal message about auxiliary filter libraries 8565042713 4866170 broke ld.so's ::setenv 8575047082 ld can core dump on bad gcc objects 8585047612 ld.so.1: secure pathname verification is flawed with filter use 8595047235 elfdump can core dump printing PT_INTERP section 8604798376 nits in demo code 8615041446 gelf_update_*() functions inconsistently return NULL or 0 8625032364 M_ID_TLSBSS and M_ID_UNKNOWN have the same value 8634707030 Empty LD_PRELOAD_64 doesn't override LD_PRELOAD 8644968618 symbolic linkage causes core dump 8655062313 dladdr() can cause deadlock in MT apps. 8665056867 $ISALIST/$HWCAP expansion should be more flexible. 8674918303 0@0.so.1 should not use compiler-supplied crt*.o files 8685058415 whocalls cannot take more than 10 arguments 8695067518 The fix for 4918303 breaks the build if a new work space is used. 870-------------------------------------------------------------------------------- 871All the above changes are incorporated in the following patches: 872 Solaris/SunOS 5.9_sparc patch T112963-16 873 Solaris/SunOS 5.9_x86 patch T113986-12 874 Solaris/SunOS 5.8_sparc patch T109147-31 875 Solaris/SunOS 5.8_x86 patch T109148-31 876-------------------------------------------------------------------------------- 8775013759 *file* should report hardware/software capabilities (link-editor 878 components only) 8795063580 libldstab: file /tmp/posto..: .stab[.index|.sbfocus] found with no 880 matching stri 8815076838 elfdump(1) is built with a CTF section (the wrong one) 8825080344 Hardware capabilities are not enforced for a.out 8835079061 RTLD_DEFAULT can be expensive 8845064973 allow normal relocs against TLS symbols for some sections 8855085792 LD_XXXX_64 should override LD_XXXX 8865096272 every executable or library has a .SUNW_dof section 8875094135 Bloomberg wants a faster ldd. 8885086352 libld.so.3 should be built with a .SUNW_ctf ELF section, ready for CR 8895098205 elfdump gives wrong section name for the global offset table 8905092414 Linker patch 109147-29 makes Broadvison One-To-One server v4.1 891 installation fail 8925080256 dump(1) doesn't list ELF hardware capabilities 8935097347 recursive read lock in gelf_getsym() 894-------------------------------------------------------------------------------- 895All the above changes are incorporated in the following patches: 896 Solaris/SunOS 5.9_sparc patch T112963-17 897 Solaris/SunOS 5.9_x86 patch T113986-13 898 Solaris/SunOS 5.8_sparc patch T109147-32 899 Solaris/SunOS 5.8_x86 patch T109148-32 900-------------------------------------------------------------------------------- 9015106206 ld.so.1 fail to run a Solaris9 program that has libc linked with 902 -z lazyload 9035102601 ON should deliver a 64-bit operating system for Opteron systems 904 (link-editor components only) 9056173852 enable link_auditing technology for amd64 9066174599 linker does not create .eh_frame_hdr sections for eh_frame sections 907 with SHF_LINK_ORDER 9086175609 amd64 run-time linker has a corrupted note section 9096175843 amd64 rdb_demo files not installed 9106182293 ld.so.1 can repeatedly relocate object .plts (RTLD_NOW). 9116183645 ld core dumps when automounter fails 9126178667 ldd list unexpected (file not found) in x86 environment. 9136181928 Need new reloc types R_AMD64_GOTOFF64 and R_AMD64_GOTPC32 9146182884 AMD64: ld coredumps when building a shared library 9156173559 The ld may set incorrect value for sh_addralign under some conditions. 9165105601 ld.so.1 gets a little too enthusiastic with interposition 9176189384 ld.so.1 should accommodate a files dev/inode change (libc loopback mnt) 9186177838 AMD64: linker cannot resolve PLT for 32-bit a.out(s) on amd64-S2 kernel 9196190863 sparc disassembly code should be removed from rdb_demo 9206191488 unwind eh_frame_hdr needs corrected encoding value 9216192490 moe(1) returns /lib/libc.so.1 for optimal expansion of libc HWCAP 922 libraries 9236192164 AMD64: introduce dlamd64getunwind interface 924 PSARC/2004/747 libc::dlamd64getunwind() 9256195030 libdl has bad version name 9266195521 64-bit moe(1) missed the train 9276198358 AMD64: bad eh_frame_hdr data when C and C++ mixed in a.out 9286204123 ld.so.1: symbol lookup fails even after lazy loading fallback 9296207495 UNIX98/UNIX03 vsx namespace violation DYNL.hdr/misc/dlfcn/T.dlfcn 930 14 Failed 9316217285 ctfmerge crashed during full onnv build 932-------------------------------------------------------------------------------- 933 934------------------------------------- 935Solaris 10 106 (1st Q-update - s10u1) 936------------------------------------- 937Bugid Risk Synopsis 938================================================================================ 9396209350 Do not include signature section from dynamic dependency library into 940 relocatable object 9416212797 The binary compiled on SunOS4.x doesn't run on Solaris8 with Patch 942 109147-31 943-------------------------------------------------------------------------------- 944All the above changes are incorporated in the following patches: 945 Solaris/SunOS 5.9_sparc patch T112963-18 946 Solaris/SunOS 5.9_x86 patch T113986-14 947 Solaris/SunOS 5.8_sparc patch T109147-33 948 Solaris/SunOS 5.8_x86 patch T109148-33 949-------------------------------------------------------------------------------- 9506219538 112963-17: linker patch causes binary to dump core 951-------------------------------------------------------------------------------- 952All the above changes are incorporated in the following patches: 953 Solaris/SunOS 5.10_sparc patch T117461-01 954 Solaris/SunOS 5.10_x86 patch T118345-01 955 Solaris/SunOS 5.9_sparc patch T112963-19 956 Solaris/SunOS 5.9_x86 patch T113986-15 957 Solaris/SunOS 5.8_sparc patch T109147-34 958 Solaris/SunOS 5.8_x86 patch T109148-34 959-------------------------------------------------------------------------------- 9606257177 incremental builds of usr/src/cmd/sgs can fail... 9616219651 AMD64: Linker does not issue error for out of range R_AMD64_PC32 962-------------------------------------------------------------------------------- 963All the above changes are incorporated in the following patches: 964 Solaris/SunOS 5.10_sparc patch T117461-02 965 Solaris/SunOS 5.10_x86 patch T118345-02 966 Solaris/SunOS 5.9_sparc patch T112963-20 967 Solaris/SunOS 5.9_x86 patch T113986-16 968 Solaris/SunOS 5.8_sparc patch T109147-35 969 Solaris/SunOS 5.8_x86 patch T109148-35 970NOTE: The fix for 6219651 is only applicable for 5.10_x86 platform. 971-------------------------------------------------------------------------------- 9725080443 lazy loading failure doesn't clean up after itself (D) 9736226206 ld.so.1 failure when processing single segment hwcap filtee 9746228472 ld.so.1: link-map control list stacking can loose objects 9756235000 random packages not getting installed in snv_09 and snv_10 - 976 rtld/common/malloc.c Assertion 9776219317 Large page support is needed for mapping executables, libraries and 978 files (link-editor components only) 9796244897 ld.so.1 can't run apps from commandline 9806251798 moe(1) returns an internal assertion failure message in some 981 circumstances 9826251722 ld fails silently with exit 1 status when -z ignore passed 9836254364 ld won't build libgenunix.so with absolute relocations 9846215444 ld.so.1 caches "not there" lazy libraries, foils svc.startd(1M)'s logic 9856222525 dlsym(3C) trusts caller(), which may return wrong results with tail call 986 optimization 9876241995 warnings in sgs should be fixed (link-editor components only) 9886258834 direct binding availability should be verified at runtime 9896260361 lari shouldn't count a.out non-zero undefined entries as interesting 9906260780 ldd doesn't recognize LD_NOAUXFLTR 9916266261 Add ld(1) -Bnodirect support (D) 9926261990 invalid e_flags error could be a little more friendly 9936261803 lari(1) should find more events uninteresting (D) 9946267352 libld_malloc provides inadequate alignment 9956268693 SHN_SUNW_IGNORE symbols should be allowed to be mulitiply defined 9966262789 Infosys wants a faster linker 997-------------------------------------------------------------------------------- 998All the above changes are incorporated in the following patches: 999 Solaris/SunOS 5.10_sparc patch T117461-03 1000 Solaris/SunOS 5.10_x86 patch T118345-03 1001 Solaris/SunOS 5.9_sparc patch T112963-21 1002 Solaris/SunOS 5.9_x86 patch T113986-17 1003 Solaris/SunOS 5.8_sparc patch T109147-36 1004 Solaris/SunOS 5.8_x86 patch T109148-36 1005-------------------------------------------------------------------------------- 10066283601 The usr/src/cmd/sgs/packages/common/copyright contains old information 1007 legally problematic 10086276905 dlinfo gives inconsistent results (relative vs absolute linkname) (D) 1009 PSARC/2005/357 dlinfo(3c) RTLD_DI_ARGSINFO 10106284941 excessive link times with many groups/sections 10116280467 dlclose() unmaps shared library before library's _fini() has finished 10126291547 ld.so mishandles LD_AUDIT causing security problems. 1013-------------------------------------------------------------------------------- 1014All the above changes are incorporated in the following patches: 1015 Solaris/SunOS 5.10_sparc patch T117461-04 1016 Solaris/SunOS 5.10_x86 patch T118345-04 1017 Solaris/SunOS 5.9_sparc patch T112963-22 1018 Solaris/SunOS 5.9_x86 patch T113986-18 1019 Solaris/SunOS 5.8_sparc patch T109147-37 1020 Solaris/SunOS 5.8_x86 patch T109148-37 1021-------------------------------------------------------------------------------- 10226295971 UNIX98/UNIX03 *vsx* DYNL.hdr/misc/dlfcn/T.dlfcn 14 fails, auxv.h syntax 1023 error 10246299525 .init order failure when processing cycles 10256273855 gcc and sgs/crle don't get along 10266273864 gcc and sgs/libld don't get along 10276273875 gcc and sgs/rtld don't get along 10286272563 gcc and amd64/krtld/doreloc.c don't get along 10296290157 gcc and sgs/librtld_db/rdb_demo don't get along 10306301218 Matlab dumps core on startup when running on 112963-22 (D) 1031-------------------------------------------------------------------------------- 1032All the above changes are incorporated in the following patches: 1033 Solaris/SunOS 5.10_sparc patch T117461-06 1034 Solaris/SunOS 5.10_x86 patch T118345-08 1035 Solaris/SunOS 5.9_sparc patch T112963-23 1036 Solaris/SunOS 5.9_x86 patch T113986-19 1037 Solaris/SunOS 5.8_sparc patch T109147-38 1038 Solaris/SunOS 5.8_x86 patch T109148-38 1039-------------------------------------------------------------------------------- 10406314115 Checkpoint refuses to start, crashes on start, after application of 1041 linker patch 112963-22 1042-------------------------------------------------------------------------------- 1043All the above changes are incorporated in the following patches: 1044 Solaris/SunOS 5.9_sparc patch T112963-24 1045 Solaris/SunOS 5.9_x86 patch T113986-20 1046 Solaris/SunOS 5.8_sparc patch T109147-39 1047 Solaris/SunOS 5.8_x86 patch T109148-39 1048-------------------------------------------------------------------------------- 10496318306 a dlsym() from a filter should be redirected to an associated filtee 10506318401 mis-aligned TLS variable 10516324019 ld.so.1: malloc alignment is insufficient for new compilers 10526324589 psh coredumps on x86 machines on snv_23 10536236594 AMD64: Linker needs to handle the new .lbss section (D) 1054PSARC 2005/514 - AMD64 - large section support 10556314743 Linker: incorrect resolution for R_AMD64_GOTPC32 10566311865 Linker: x86 medium model; invalid ELF program header 1057-------------------------------------------------------------------------------- 1058All the above changes are incorporated in the following patches: 1059 Solaris/SunOS 5.10_sparc patch T117461-07 1060 Solaris/SunOS 5.10_x86 patch T118345-12 1061-------------------------------------------------------------------------------- 10626309061 link_audit should use __asm__ with gcc 10636310736 gcc and sgs/libld don't get along on SPARC 10646329796 Memory leak with iconv_open/iconv_close with patch 109147-33 10656332983 s9 linker patches 112963-24/113986-20 causing cluster machines not 1066 to boot 1067-------------------------------------------------------------------------------- 1068All the above changes are incorporated in the following patches: 1069 Solaris/SunOS 5.10_sparc patch T117461-08 1070 Solaris/SunOS 5.10_x86 patch T121208-02 1071 Solaris/SunOS 5.9_sparc patch T112963-25 1072 Solaris/SunOS 5.9_x86 patch T113986-21 1073 Solaris/SunOS 5.8_sparc patch T109147-40 1074 Solaris/SunOS 5.8_x86 patch T109148-40 1075-------------------------------------------------------------------------------- 10766445311 The sparc S8/S9/S10 linker patches which include the fix for the 1077 CR6222525 are hit by the CR6439613. 1078-------------------------------------------------------------------------------- 1079All the above changes are incorporated in the following patches: 1080 Solaris/SunOS 5.9_sparc patch T112963-26 1081 Solaris/SunOS 5.8_sparc patch T109147-41 1082-------------------------------------------------------------------------------- 1083 1084------------------------------------- 1085Solaris 10 807 (4th Q-update - s10u4) 1086------------------------------------- 1087Bugid Risk Synopsis 1088================================================================================ 10896487273 ld.so.1 may open arbitrary locale files when relative path is built 1090 from locale environment vars 10916487284 ld.so.1: buffer overflow in doprf() function 1092-------------------------------------------------------------------------------- 1093All the above changes are incorporated in the following patches: 1094 Solaris/SunOS 5.10_sparc patch T124922-01 1095 Solaris/SunOS 5.10_x86 patch T124923-01 1096 Solaris/SunOS 5.9_sparc patch T112963-27 1097 Solaris/SunOS 5.9_x86 patch T113986-22 1098 Solaris/SunOS 5.8_sparc patch T109147-42 1099 Solaris/SunOS 5.8_x86 patch T109148-41 1100-------------------------------------------------------------------------------- 11016477132 ld.so.1: memory leak when running set*id application 1102-------------------------------------------------------------------------------- 1103All the above changes are incorporated in the following patches: 1104 Solaris/SunOS 5.10_sparc patch T124922-02 1105 Solaris/SunOS 5.10_x86 patch T124923-02 1106 Solaris/SunOS 5.9_sparc patch T112963-30 1107 Solaris/SunOS 5.9_x86 patch T113986-24 1108-------------------------------------------------------------------------------- 11096340814 ld.so.1 core dump with HWCAP relocatable object + updated statistics 11106307274 crle bug with LD_LIBRARY_PATH 11116317969 elfheader limited to 65535 segments (link-editor components only) 11126350027 ld.so.1 aborts with assertion failed on amd64 11136362044 ld(1) inconsistencies with LD_DEBUG=-Dunused and -zignore 11146362047 ld.so.1 dumps core when combining HWCAP and LD_PROFILE 11156304206 runtime linker may respect LANG and LC_MESSAGE more than LC_ALL 11166363495 Catchup required with Intel relocations 11176326497 ld.so not properly processing LD_LIBRARY_PATH ending in : 11186307146 mcs dumps core when appending null string to comment section 11196371877 LD_PROFILE_64 with gprof does not produce correct results on amd64 11206372082 ld -r erroneously creates .got section on i386 11216201866 amd64: linker symbol elimination is broken 11226372620 printstack() segfaults when called from static function (D) 11236380470 32-bit ld(1) incorrectly builds 64-bit relocatable objects 11246391407 Insufficient alignment of 32-bit object in archive makes ld segfault 1125 (libelf component only) (D) 11266316708 LD_DEBUG should provide a means of identifying/isolating individual 1127 link-map lists (P) 11286280209 elfdump cores on memory model 0x3 11296197234 elfdump and dump don't handle 64-bit symbols correctly 11306398893 Extended section processing needs some work 11316397256 ldd dumps core in elf_fix_name 11326327926 ld does not set etext symbol correctly for AMD64 medium model (D) 11336390410 64-bit LD_PROFILE can fail: relocation error when binding profile plt 11346382945 AMD64-GCC: dbx: internal error: dwarf reference attribute out of bounds 11356262333 init section of .so dlopened from audit interface not being called 11366409613 elf_outsync() should fsync() 11376426048 C++ exceptions broken in Nevada for amd64 11386429418 ld.so.1: need work-around for Nvidia drivers use of static TLS 11396429504 crle(1) shows wrong defaults for non-existent 64-bit config file 11406431835 data corruption on x64 in 64-bit mode while LD_PROFILE is in effect 11416423051 static TLS support within the link-editors needs a major face lift (D) 11426388946 attempting to dlopen a .o file mislabeled as .so fails 11436446740 allow mapfile symbol definitions to create backing storage (D) 11444986360 linker crash on exec of .so (as opposed to a.out) -- error preferred 1145 instead 11466229145 ld: initarray/finiarray processing occurs after got size is determined 11476324924 the linker should warn if there's a .init section but not _init 11486424132 elfdump inserts extra whitespace in bitmap value display 11496449485 ld(1) creates misaligned TLS in binary compiled with -xpg 11506424550 Write to unallocated (wua) errors when libraries are built with 1151 -z lazyload 11526464235 executing the 64-bit ld(1) should be easy (D) 11536465623 need a way of building unix without an interpreter 11546467925 ld: section deletion (-z ignore) requires improvement 11556357230 specfiles should be nuked (link-editor components only) 1156-------------------------------------------------------------------------------- 1157All the above changes are incorporated in the following patches: 1158 Solaris/SunOS 5.10_sparc patch T124922-03 1159 Solaris/SunOS 5.10_x86 patch T124923-03 1160 1161These patches also include the framework changes for the following bug fixes. 1162However, the associated feature has not been enabled in Solaris 10 or earlier 1163releases: 1164 11656174390 crle configuration files are inconsistent across platforms (D, P) 11666432984 ld(1) output file removal - change default behavior (PSARC 2006/353) (D) 1167-------------------------------------------------------------------------------- 1168 1169------------------------------------- 1170Solaris 10 508 (5th Q-update - s10u5) 1171------------------------------------- 1172Bugid Risk Synopsis 1173================================================================================ 11746561987 data vac_conflict faults on lipthread libthread libs in s10. 1175-------------------------------------------------------------------------------- 1176All the above changes are incorporated in the following patches: 1177 Solaris/SunOS 5.10_sparc patch T127111-01 1178 Solaris/SunOS 5.10_x86 patch T127112-01 1179-------------------------------------------------------------------------------- 11806501793 GOTOP relocation transition (optimization) fails with offsets > 2^32 11816532924 AMD64: Solaris 5.11 55b: SEGV after whocatches 11826551627 OGL: SIGSEGV when trying to use OpenGL pipeline with splash screen, 1183 Solaris/Nvidia only 1184-------------------------------------------------------------------------------- 1185All the above changes are incorporated in the following patches: 1186 Solaris/SunOS 5.10_sparc patch T127111-04 1187 Solaris/SunOS 5.10_x86 patch T127112-04 1188-------------------------------------------------------------------------------- 11896479848 Enhancements to the linker support interface needed. (D) 1190 PSARC/2006/595 link-editor support library interface - ld_open() 11916521608 assertion failure in runtime linker related to auditing 11926494228 pclose() error when an audit library calls popen() and the main target 1193 is being run under ldd (D) 11946568745 segfault when using LD_DEBUG with bit_audit library when instrumenting 1195 mozilla (D) 1196 PSARC/2007/413 Add -zglobalaudit option to ld 11976602294 ps_pbrandname breaks apps linked directly against librtld_db 1198 (link-editor components only) 1199-------------------------------------------------------------------------------- 1200All the above changes are incorporated in the following patches: 1201 Solaris/SunOS 5.10_sparc patch T127111-07 1202 Solaris/SunOS 5.10_x86 patch T127112-07 1203-------------------------------------------------------------------------------- 1204 1205-------------- 1206Solaris Nevada 1207-------------- 1208Bugid Risk Synopsis 1209================================================================================ 12106409350 BrandZ project integration into Solaris (link-editor components only) 12116459189 UNIX03: *VSC* c99 compiler overwrites non-writable file 12126423746 add an option to relax the resolution of COMDAT relocs (D) 12134934427 runtime linker should load up static symbol names visible to 1214 dladdr() (D) 1215 PSARC 2006/526 SHT_SUNW_LDYNSYM - default local symbol addition 12166448719 sys/elf.h could be updated with additional machine and ABI types 12176336605 link-editors need to support R_*_SIZE relocations 1218 PSARC/2006/558 R_*_SIZE relocation support 12196475375 symbol search optimization to reduce rescans 12206475497 elfdump(1) is misreporting sh_link 12216482058 lari(1) could be faster, and handle per-symbol filters better 12226482974 defining virtual address of text segment can result in an invalid data 1223 segment 12246476734 crle(1m) "-l" as described fails system, crle cores trying to fix 1225 /a/var/ld/ld.config in failsafe 12266487499 link_audit "make clobber" creates and populates proto area 12276488141 ld(1) should detect attempt to reference 0-length .bss section 12286496718 restricted visibility symbol references should trigger archive 1229 extraction 12306515970 HWCAP processing doesn't clean up fmap structure - browser fails to 1231 run java applet 12326494214 Refinements to symbolic binding, symbol declarations and 1233 interposition (D) 1234 PSARC/2006/714 ld(1) mapfile: symbol interpose definition 12356475344 DTrace needs ELF function and data symbols sorted by address (D) 1236 PSARC/2007/026 ELF symbol sort sections 12376518480 ld -melf_i386 doesn't complain (D) 12386519951 bfu is just another word for exit today (RPATH -> RUNPATH conversion 1239 bites us) (D) 12406521504 ld: hardware capabilities processing from relocatables objects needs 1241 hardening. 12426518322 Some ELF utilities need updating for .SUNW_ldynsym section (D) 1243 PSARC/2007/074 -L option for nm(1) to display SHT_SUNW_LDYNSYM symbols 12446523787 dlopen() handle gets mistakenly orphaned - results in access to freed 1245 memory 12466524709 executables using /usr/lib/libc.so.1 as the ELF interpreter dump core 1247 (link-editor components only) 12486531189 SEGV in dladdr() 12496527318 dlopen(name, RTLD_NOLOAD) returns handle for unloaded library 12506518359 extern mapfiles references to _init/_fini can create INIT/FINI 1251 addresses of 0 12526533587 ld.so.1: init/fini processing needs to compensate for interposer 1253 expectations 12546516118 Reserved space needed in ELF dynamic section and string table (D) 1255 PSARC/2007/127 Reserved space for editing ELF dynamic sections 12566535688 elfdump could be more robust in the face of Purify (D) 12576516665 The link-editors should be more resilient against gcc's symbol 1258 versioning 12596541004 hwcap filter processing can leak memory 12605108874 elfdump SEGVs on bad object file 12616547441 Uninitialized variable causes ld.so.1 to crash on object cleanup 12626341667 elfdump should check alignments of ELF header elements 12636387860 elfdump cores, when processing linux built ELF file 12646198202 mcs -d dumps core 12656246083 elfdump should allow section index specification 1266 (numeric -N equivalent) (D) 1267 PSARC/2007/247 Add -I option to elfdump 12686556563 elfdump section overlap checking is too slow for large files 12695006034 need ?E mapfile feature extension (D) 12706565476 rtld symbol version check prevents GNU ld binary from running 12716567670 ld(1) symbol size/section size verification uncovers Haskell 1272 compiler inconsistency 12736530249 elfdump should handle ELF files with no section header table (D) 1274 PSARC/2007/395 Add -P option to elfdump 12756573641 ld.so.1 does not maintain parent relationship to a dlopen() caller. 12766577462 Additional improvements needed to handling of gcc's symbol versioning 12776583742 ELF string conversion library needs to lose static writable buffers 12786589819 ld generated reference to __tls_get_addr() fails when resolving to a 1279 shared object reference 12806595139 various applications should export yy* global variables for libl 12816597841 gelf_getdyn() reads one too many dynamic entries 12826603313 dlclose() can fail to unload objects after fix for 6573641 12836234471 need a way to edit ELF objects (D) 1284 PSARC/2007/509 elfedit 12855035454 mixing -Kpic and -KPIC may cause SIGSEGV with -xarch=v9 12866473571 strip and mcs get confused and corrupt files when passed 1287 non-ELF arguments 12886253589 mcs has problems handling multiple SHT_NOTE sections 12896610591 do_reloc() should not require unused arguments 12906602451 new symbol visibilities required: EXPORTED, SINGLETON and ELIMINATE (D) 1291 PSARC/2007/559 new symbol visibilities - EXPORTED, SINGLETON, and 1292 ELIMINATE 12936570616 elfdump should display incorrectly aligned note section 12946614968 elfedit needs string table module (D) 12956620533 HWCAP filtering can leave uninitialized data behind - results in 1296 "rejected: Invalid argument" 12976617855 nodirect tag can be ignored when other syminfo tags are available 1298 (link-editor components only) 12996621066 Reduce need for new elfdump options with every section type (D) 1300 PSARC/2007/620 elfdump -T, and simplified matching 13016627765 soffice failure after integration of 6603313 - dangling GROUP pointer. 13026319025 SUNWbtool packaging issues in Nevada and S10u1. 13036629404 ld with -z ignore doesn't scale 13046626135 elfedit capabilities str->value mapping should come from 1305 usr/src/common/elfcap 13066642769 ld(1) -z combreloc should become default behavior (D) 1307 PSARC/2008/006: make ld(1) -z combreloc become default behavior 13086634436 XFFLAG should be updated. (link-editor components only) 13096492726 Merge SHF_MERGE|SHF_STRINGS input sections 13104947191 OSNet should use direct bindings (link-editor components only) 13116654381 lazy loading fall-back needs optimizing 13126658385 ld core dumps when building Xorg on nv_82 13136516808 ld.so.1's token expansion provides no escape for platforms that don't 1314 report HWCAP 13156668534 Direct bindings can compromise function address comparisons from 1316 executables 13176667661 Direct bindings can compromise executables with insufficient copy 1318 relocation information 1319