1# 2# Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved. 3# 4# CDDL HEADER START 5# 6# The contents of this file are subject to the terms of the 7# Common Development and Distribution License (the "License"). 8# You may not use this file except in compliance with the License. 9# 10# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 11# or http://www.opensolaris.org/os/licensing. 12# See the License for the specific language governing permissions 13# and limitations under the License. 14# 15# When distributing Covered Code, include this CDDL HEADER in each 16# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 17# If applicable, add the following below this CDDL HEADER, with the 18# fields enclosed by brackets "[]" replaced with your own identifying 19# information: Portions Copyright [yyyy] [name of copyright owner] 20# 21# CDDL HEADER END 22# 23# Note: The contents of this file are used to determine the versioning 24# information for the SGS toolset. The number of CRs listed in 25# this file must grow monotonically, or the SGS version will 26# move backwards, causing a great deal of confusion. As such, 27# CRs must never be removed from this file. See 28# libconv/common/bld_vernote.ksh, and bug#4519569 for more 29# details on SGS versioning. 30# 31-------------------------------------------------------------------------------- 32SUNWonld - link-editors development package. 33-------------------------------------------------------------------------------- 34 35 The SUNWonld package is an internal development package containing the 36 link-editors and some related tools. All components live in the OSNET 37 source base, but not all components are delivered as part of the normal 38 OSNET consolidation. The intent of this package is to provide access 39 to new features/bugfixes before they become generally available. 40 41 General link-editor information can be found: 42 43 http://linkers.central/ 44 http://linkers.sfbay/ (also known as linkers.eng) 45 46 Comments and Questions: 47 48 Contact Rod Evans, Ali Bahrami, and/or Seizo Sakurai. 49 50 Warnings: 51 52 The postremove script for this package employs /usr/sbin/static/mv, 53 and thus, besides the common core dependencies, this package also 54 has a dependency on the SUNWsutl package. 55 56 Patches: 57 58 If the patch has been made official, you'll find it in: 59 60 http://sunsolve.east/cgi/show.pl?target=patches/os-patches 61 62 If it hasn't been released, the patch will be in: 63 64 /net/sunsoftpatch/patches/temporary 65 66 Note, any patches logged here refer to the temporary ("T") name, as we 67 never know when they're made official, and although we try to keep all 68 patch information up-to-date the real status of any patch can be 69 determined from: 70 71 http://sunsoftpatch.eng 72 73 If it has been obsoleted, the patch will be in: 74 75 /net/on${RELEASE}-patch/on${RELEASE}/patches/${MACH}/obsolete 76 77 78 History: 79 80 Note, starting after Solaris 10, letter codes in parenthesis may 81 be found following the bug synopsis. Their meanings are as follows: 82 83 (D) A documentation change accompanies the implementation change. 84 (P) A packaging change accompanies the implementation change. 85 86 In all cases, see the implementation bug report for details. 87 88 The following bug fixes exist in the OSNET consolidation workspace 89 from which this package is created: 90 91--------- 92Solaris 8 93--------- 94Bugid Risk Synopsis 95================================================================================ 964225937 i386 linker emits sparc specific warning messages 974215164 shf_order flag handling broken by fix for 4194028. 984215587 using ld and the -r option on solaris 7 with compiler option -xarch=v9 99 causes link errors. 1004234657 103627-08 breaks purify 4.2 (plt padding should not be enabled for 101 32-bit) 1024235241 dbx no longer gets dlclose notification. 103-------------------------------------------------------------------------------- 104All the above changes are incorporated in the following patches: 105 Solaris/SunOS 5.7_sparc patch 106950-05 (never released) 106 Solaris/SunOS 5.7_x86 patch 106951-05 (never released) 107 Solaris/SunOS 5.6_sparc patch 107733-02 (never released) 108 Solaris/SunOS 5.6_x86 patch 107734-02 109-------------------------------------------------------------------------------- 1104248290 inetd dumps core upon bootup - failure in dlclose() logic. 1114238071 dlopen() leaks while descriptors under low memory conditions 112-------------------------------------------------------------------------------- 113All the above changes are incorporated in the following patches: 114 Solaris/SunOS 5.7_sparc patch 106950-06 115 Solaris/SunOS 5.7_x86 patch 106951-06 116 Solaris/SunOS 5.6_sparc patch 107733-03 (never released) 117 Solaris/SunOS 5.6_x86 patch 107734-03 118-------------------------------------------------------------------------------- 1194267980 INITFIRST flag of the shard object could be ignored. 120-------------------------------------------------------------------------------- 121All the above changes plus: 122 4238973 fix for 4121152 affects linking of Ada objects 123 4158744 patch 103627-02 causes core when RPATH has blank entry and 124 dlopen/dlclose is used 125are incorporated in the following patches: 126 Solaris/SunOS 5.5.1_sparc patch 103627-12 (never released) 127 Solaris/SunOS 5.5.1_x86 patch 103628-11 128-------------------------------------------------------------------------------- 1294256518 miscalculated calloc() during dlclose/tsorting can result in segv 1304254171 DT_SPARC_REGISTER has invalid value associated with it. 131-------------------------------------------------------------------------------- 132All the above changes are incorporated in the following patches: 133 Solaris/SunOS 5.7_sparc patch 106950-07 134 Solaris/SunOS 5.7_x86 patch 106951-07 135 Solaris/SunOS 5.6_sparc patch 107733-04 (never released) 136 Solaris/SunOS 5.6_x86 patch 107734-04 137-------------------------------------------------------------------------------- 1384293159 ld needs to combine sections with and without SHF_ORDERED flag(comdat) 1394292238 linking a library which has a static char ptr invokes mprotect() call 140-------------------------------------------------------------------------------- 141All the above changes except for: 142 4256518 miscalculated calloc() during dlclose/tsorting can result in segv 143 4254171 DT_SPARC_REGISTER has invalid value associated with it. 144plus: 145 4238973 fix for 4121152 affects linking of Ada objects 146 4158744 patch 103627-02 causes core when RPATH has blank entry and 147 dlopen/dlclose is used 148are incorporated in the following patches: 149 Solaris/SunOS 5.5.1_sparc patch 103627-13 150 Solaris/SunOS 5.5.1_x86 patch 103628-12 151-------------------------------------------------------------------------------- 152All the above changes are incorporated in the following patches: 153 Solaris/SunOS 5.7_sparc patch 106950-08 154 Solaris/SunOS 5.7_x86 patch 106951-08 155 Solaris/SunOS 5.6_sparc patch 107733-05 156 Solaris/SunOS 5.6_x86 patch 107734-05 157-------------------------------------------------------------------------------- 1584295613 COMMON symbol resolution can be incorrect 159-------------------------------------------------------------------------------- 160All the above changes plus: 161 4238973 fix for 4121152 affects linking of Ada objects 162 4158744 patch 103627-02 causes core when RPATH has blank entry and 163 dlopen/dlclose is used 164are incorporated in the following patches: 165 Solaris/SunOS 5.5.1_sparc patch 103627-14 166 Solaris/SunOS 5.5.1_x86 patch 103628-13 167-------------------------------------------------------------------------------- 168All the above changes plus: 169 4351197 nfs performance problem by 103627-13 170are incorporated in the following patches: 171 Solaris/SunOS 5.5.1_sparc patch 103627-15 172 Solaris/SunOS 5.5.1_x86 patch 103628-14 173-------------------------------------------------------------------------------- 174All the above changes are incorporated in the following patches: 175 Solaris/SunOS 5.7_sparc patch 106950-09 176 Solaris/SunOS 5.7_x86 patch 106951-09 177 Solaris/SunOS 5.6_sparc patch 107733-06 178 Solaris/SunOS 5.6_x86 patch 107734-06 179-------------------------------------------------------------------------------- 1804158971 increase the default segment alignment for i386 to 64k 1814064994 Add an $ISALIST token to those understood by the dynamic linker 182xxxxxxx ia64 common code putback 1834239308 LD_DEBUG busted for sparc machines 1844239008 Support MAP_ANON 1854238494 link-auditing extensions required 1864232239 R_SPARC_LOX10 truncates field 1874231722 R_SPARC_UA* relocations are busted 1884235514 R_SPARC_OLO10 relocation fails 1894244025 sgsmsg update 1904239281 need to support SECREL relocations for ia64 1914253751 ia64 linker must support PT_IA_64_UNWIND tables 1924259254 dlmopen mistakenly closes fd 0 (stdin) under certain error conditions 1934260872 libelf hangs when libthread present 1944224569 linker core dumping when profiling specified 1954270937 need mechanism to suppress ld.so.1's use of a default search path. 1961050476 ld.so to permit configuration of search path 1974273654 filtee processing using $ISALIST could be optimized 1984271860 get MERCED cruft out of elf.h 1994248991 Dynamic loader (via PLT) corrupts register G4 2004275754 cannot mmap file: Resource temporarily unavailable 2014277689 The linker can not handle relocation against MOVE tabl 2024270766 atexit processing required on dlclose(). 2034279229 Add a "release" token to those understood by the dynamic linker 2044215433 ld can bus error when insufficient disc space exists for output file 2054285571 Pssst, want some free disk space? ld's miscalculating. 2064286236 ar gives confusing "bad format" error with a null .stab section 2074286838 ld.so.1 can't handle a no-bits segment 2084287364 ld.so.1 runtime configuration cleanup 2094289573 disable linking of ia64 binaries for Solaris8 2104293966 crle(1)'s default directories should be supplied 211-------------------------------------------------------------------------------- 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--------- 411Solaris 9 412--------- 413Bugid Risk Synopsis 414================================================================================ 4154505289 incorrect handling of _START_ and _END_ 4164506164 mcs does not recognize #linkbefore or #linkafter qualifiers 4174447560 strip is creating unexecutable files... 4184513842 library names not in ld.so string pool cause corefile bugs 419-------------------------------------------------------------------------------- 420All the above changes are incorporated in the following patches: 421 Solaris/SunOS 5.8_sparc patch 109147-13 422 Solaris/SunOS 5.8_x86 patch 109148-13 423 Solaris/SunOS 5.7_sparc patch 106950-16 424 Solaris/SunOS 5.7_x86 patch 106951-16 425-------------------------------------------------------------------------------- 4264291384 ld -M with a mapfile does not properly align Fortran REAL*8 data 4274413322 SunOS 5.9 librtld_db doesn't show dlopened ".o" files anymore? 4284429371 librtld_db busted on ia32 with SC6.x compilers... 4294418274 elfdump dumps core on invalid input 4304432224 libelf xlate routines are out of date 4314433643 Memory leak using dlopen()/dlclose() in Solaris 8 4324446564 ldd/lddstub - core dump conditions 4334446115 translating SUNW_move sections is broken 4344450225 The rdb command can fall into an infinite loop 4354448531 Linker Causes Segmentation Fault 4364453241 Regression in 4291384 can result in empty symbol table. 4374453398 invalid runpath token can cause ld to spin. 4384460230 ld (for OS 5.8 and 5.9) loses error message 4394462245 ld.so.1 core dumps when executed directly... 4404455802 need more flexibility in establishing a support library for ld 4414467068 dyn_plt_entsize not properly initialized in ld.so.1 4424468779 elf_plt_trace_write() broken on i386 (link-auditing) 4434465871 -zld32 and -zld64 does not work the way it should 4444461890 bad shared object created with -zredlocsym 4454469400 ld.so.1: is_so_loaded isn't as efficient as we thought... 4464469566 lazy loading fallback can reference un-relocated objects 4474470493 libelf incorectly translates NOTE sections accross architectures... 4484469684 rtld leaks dl_handles and permits on dlopen/dlclose 4494475174 ld.so.1 prematurly reports the failure to load a object... 4504475514 ld.so.1 can core dump in memory allocation fails (no swap) 4514481851 Setting ld.so.1 environment variables globally would be useful 4524482035 setting LD_PROFILE & LD_AUDIT causes ping command to issue warnings 453 on 5.8 4544377735 segment reservations cause sbrk() to fail 4554491434 ld.so.1 can leak file-descriptors when loading same named objects 4564289232 some of warning/error/debugging messages from libld.so can be revised 4574462748 Linker Portion of TLS Support 4584496718 run-time linkers mutex_locks not working with ld_libc interface 4594497270 The -zredlocsym option should not eliminate partially initialized local 460 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 474 reservations 4754404547 krtld/reloc.h could have better error message, has typos 4764270931 R_SPARC_HIX22 relocation is not handled properly 4774485320 ld needs to support more the 32768 PLTs 4784516434 sotruss can not watch libc_psr.so.1 4794213100 sotruss could use more flexible pattern matching 4804503457 ld seg fault with comdat 4814510264 sections with SHF_TLS can come in different orders... 4824518079 link-editor support library unable to modify section header flags 4834515913 ld.so.1 can incorrectly decrement external reference counts on dlclose() 4844519569 ld -V does not return a interesting value... 4854524512 ld.so.1 should allow alternate termination signals 4864524767 elfdump dies on bogus sh_name fields... 4874524735 ld getopt processing of '-' changed 4884521931 subroutine in a shared object as LOCL instead of GLOB 489-------------------------------------------------------------------------------- 490All the above changes are incorporated in the following patches: 491 Solaris/SunOS 5.8_sparc patch 109147-14 492 Solaris/SunOS 5.8_x86 patch 109148-14 493 Solaris/SunOS 5.7_sparc patch 106950-17 494 Solaris/SunOS 5.7_x86 patch 106951-17 495-------------------------------------------------------------------------------- 4964532729 tentative definition of TLS variable causes linker to dump core 4974526745 fixup ld error message about duplicate dependencies/needed names 4984522999 Solaris linker one order of magnitude slower than GNU linker 4994518966 dldump undoes existing relocations with no thought of alignment or size. 5004587441 Certain libraries have race conditions when setting error codes 5014523798 linker option to align bss to large pagesize alignments. 5024524008 ld can improperly set st_size of symbols named "_init" or "_fini" 5034619282 ld cannot link a program with the option -sb 5044620846 Perl Configure probing broken by ld changes 5054621122 multiple ld '-zinitarray=' on a commandline fails 506-------------------------------------------------------------------------------- 507 Solaris/SunOS 5.8_sparc patch 109147-15 508 Solaris/SunOS 5.8_x86 patch 109148-15 509 Solaris/SunOS 5.7_sparc patch 106950-18 510 Solaris/SunOS 5.7_x86 patch 106951-18 511 Solaris/SunOS 5.6_sparc patch 107733-10 512 Solaris/SunOS 5.6_x86 patch 107734-10 513-------------------------------------------------------------------------------- 514All the above changes plus: 515 4616944 ar seg faults when order of object file is reversed. 516are incorporated in the following patches: 517 Solaris/SunOS 5.8_sparc patch 109147-16 518 Solaris/SunOS 5.8_x86 patch 109148-16 519-------------------------------------------------------------------------------- 520All the above changes plus: 521 4872634 Large LD_PRELOAD values can cause SEGV of process 522are incorporated in the following patches: 523 Solaris/SunOS 5.6_sparc patch T107733-11 524 Solaris/SunOS 5.6_x86 patch T107734-11 525-------------------------------------------------------------------------------- 526 527------------------------------------ 528Solaris 9 1202 (2nd Q-update - s9u2) 529------------------------------------ 530Bugid Risk Synopsis 531================================================================================ 5324546416 add help messages to ld.so mdbmodule 5334526752 we should build and ship ld.so's mdb module 5344624658 update 386 TLS relocation values 5354622472 LA_SYMB_DLSYM not set for la_symbind() invocations 5364638070 ldd/ld.so.1 could aid in detecting unreferenced dependencies 537 PSARC/2002/096 Detecting unreferenced dependencies with ldd(1) 5384633860 Optimization for unused static global variables 539 PSARC/2002/113 ld -zignore - section elimination 5404642829 ld.so.1 mprotect()'s text segment for weak relocations (it shouldn't) 5414621479 'make' in $SRC/cmd/sgs/tools tries to install things in the proto area 5424529912 purge ia64 source from sgs 5434651709 dlopen(RTLD_NOLOAD) can disable lazy loading 5444655066 crle: -u with nonexistent config file doesn't work 5454654406 string tables created by the link-editor could be smaller... 546 PSARC/2002/160 ld -znocompstrtab - disable string-table compression 5474651493 RTLD_NOW can result in binding to an object prior to its init being run. 5484662575 linker displacement relocation checking introduces significant 549 linker overhead 5504533195 ld interposes on malloc()/free() preventing support library from freeing 551 memory 5524630224 crle get's confused about memory layout of objects... 5534664855 crle on application failed with ld.so.1 encountering mmap() returning 554 ENOMEM err 5554669582 latest dynamic linker causes libthread _init to get skipped 5564671493 ld.so.1 inconsistantly assigns PATHNAME() on primary objects 5574668517 compile with map.bssalign doesn't copy _iob to bss 558-------------------------------------------------------------------------------- 559All the above changes are incorporated in the following patches: 560 Solaris/SunOS 5.9_sparc patch T112963-01 561 Solaris/SunOS 5.8_sparc patch T109147-17 562 Solaris/SunOS 5.8_x86 patch T109148-17 563-------------------------------------------------------------------------------- 5644701749 On Solaris 8 + 109147-16 ld crashes when building a dynamic library. 5654707808 The ldd command is broken in the latest 2.8 linker patch. 566-------------------------------------------------------------------------------- 567All the above changes are incorporated in the following patches: 568 Solaris/SunOS 5.9_sparc patch T112963-02 569 Solaris/SunOS 5.8_sparc patch T109147-18 570 Solaris/SunOS 5.8_x86 patch T109148-18 571-------------------------------------------------------------------------------- 5724696204 enable extended section indexes in relocatable objects 573 PSARC/2001/332 ELF gABI updates - round II 574 PSARC/2002/369 libelf interfaces to support ELF Extended Sections 5754706503 linkers need to cope with EF_SPARCV9_PSO/EF_SPARCV9_RMO 5764716929 updating of local register symbols in dynamic symtab busted... 5774710814 add "official" support for the "symbolic" keyword in linker map-file 578 PSARC/2002/439 linker mapfile visibility declarations 579-------------------------------------------------------------------------------- 580All the above changes are incorporated in the following patches: 581 Solaris/SunOS 5.9_sparc patch T112963-03 582 Solaris/SunOS 5.8_sparc patch T109147-19 583 Solaris/SunOS 5.8_x86 patch T109148-19 584 Solaris/SunOS 5.7_sparc patch T106950-19 585 Solaris/SunOS 5.7_x86 patch T106951-19 586-------------------------------------------------------------------------------- 587 588----------------------------------- 589Solaris 9 403 (3nd Q-update - s9u3) 590----------------------------------- 591Bugid Risk Synopsis 592================================================================================ 5934731174 strip(1) does not fixup SHT_GROUP data 5944733697 -zignore with gcc may exclude C++ exception sections 5954733317 R_SPARC_*_HIX22 calculations are wrong with 32bit LD building 596 ELF64 binaries 5974735165 fatal linker error when compiling C++ programs with -xlinkopt 5984736951 The mcs broken when the target file is an archive file 599-------------------------------------------------------------------------------- 600All the above changes are incorporated in the following patches: 601 Solaris/SunOS 5.8_sparc patch T109147-20 602 Solaris/SunOS 5.8_x86 patch T109148-20 603 Solaris/SunOS 5.7_sparc patch T106950-20 604 Solaris/SunOS 5.7_x86 patch T106951-20 605-------------------------------------------------------------------------------- 6064739660 Threads deadlock in schedlock and dynamic linker lock. 6074653148 ld.so.1/libc should unregister its dlclose() exit handler via a fini. 6084743413 ld.so.1 doesn't terminate argv with NULL pointer when invoked directly 6094746231 linker core-dumps when SECTION relocations are made against discarded 610 sections 6114730433 ld.so.1 wastes time repeatedly opening dependencies 6124744337 missing RD_CONSISTENT event with dlmopen(LD_ID_NEWLM, ...) 6134670835 rd_load_objiter can ignore callback's return value 6144745932 strip utility doesn't strip out Dwarf2 debug section 6154754751 "strip" command doesn't remove comdat stab sections. 6164755674 Patch 109147-18 results in coredump. 617-------------------------------------------------------------------------------- 618All the above changes are incorporated in the following patches: 619 Solaris/SunOS 5.9_sparc patch T112963-04 620 Solaris/SunOS 5.7_sparc patch T106950-21 621 Solaris/SunOS 5.7_x86 patch T106951-21 622-------------------------------------------------------------------------------- 6234772927 strip core dumps on an archive library 6244774727 direct-bindings can fail against copy-reloc symbols 625-------------------------------------------------------------------------------- 626All the above changes are incorporated in the following patches: 627 Solaris/SunOS 5.9_sparc patch T112963-05 628 Solaris/SunOS 5.9_x86 patch T113986-01 629 Solaris/SunOS 5.8_sparc patch T109147-21 630 Solaris/SunOS 5.8_x86 patch T109148-21 631 Solaris/SunOS 5.7_sparc patch T106950-22 632 Solaris/SunOS 5.7_x86 patch T106951-22 633-------------------------------------------------------------------------------- 634 635----------------------------------- 636Solaris 9 803 (4th Q-update - s9u4) 637----------------------------------- 638Bugid Risk Synopsis 639================================================================================ 6404730110 ld.so.1 list implementation could scale better 6414728822 restrict the objects dlsym() searches. 642 PSARC/2002/478 New dlopen(3dl) flag - RTLD_FIRST 6434714146 crle: 64-bit secure pathname is incorrect. 6444504895 dlclose() does not remove all objects 6454698800 Wrong comments in /usr/lib/ld/sparcv9/map.* 6464745129 dldump is inconsistent with .dynamic processing errors. 6474753066 LD_SIGNAL isn't very useful in a threaded environment 648 PSARC/2002/569 New dlinfo(3dl) flag - RTLD_DI_SIGNAL 6494765536 crle: symbolic links can confuse alternative object configuration info 6504766815 ld -r of object the TLS data fails 6514770484 elfdump can not handle stripped archive file 6524770494 The ld command gives improper error message handling broken archive 6534775738 overwriting output relocation table when 'ld -zignore' is used 6544778247 elfdump -e of core files fails 6554779976 elfdump dies on bad relocation entries 6564787579 invalid SHT_GROUP entries can cause linker to seg fault 6574783869 dlclose: filter closure exhibits hang/failure - introduced with 4504895 6584778418 ld.so.1: there be nits out there 6594792461 Thread-Local Storage - x86 instruction sequence updates 660 PSARC/2002/746 Thread-Local Storage - x86 instruction sequence updates 6614461340 sgs: ugly build output while suppressing ia64 (64-bit) build on Intel 6624790194 dlopen(..., RTLD_GROUP) has an odd interaction with interposition 6634804328 auditing of threaded applications results in deadlock 6644806476 building relocatable objects with SHF_EXCLUDE loses relocation 665 information 666-------------------------------------------------------------------------------- 667All the above changes are incorporated in the following patches: 668 Solaris/SunOS 5.9_sparc patch T112963-06 669 Solaris/SunOS 5.9_x86 patch T113986-02 670 Solaris/SunOS 5.8_sparc patch T109147-22 671 Solaris/SunOS 5.8_x86 patch T109148-22 672-------------------------------------------------------------------------------- 6734731183 compiler creates .tlsbss section instead of .tbss as documented 6744816378 TLS: a tls test case dumps core with C and C++ compilers 6754817314 TLS_GD relocations against local symbols do not reference symbol... 6764811951 non-default symbol visibility overriden by definition in shared object 6774802194 relocation error of mozilla built by K2 compiler 6784715815 ld should allow linking with no output file (or /dev/null) 6794793721 Need a way to null all code in ISV objects enabling ld performance 680 tuning 681-------------------------------------------------------------------------------- 682All the above changes plus: 683 4796237 RFE: link-editor became extremely slow with patch 109147-20 and 684 static libraries 685are incorporated in the following patches: 686 Solaris/SunOS 5.9_sparc patch T112963-07 687 Solaris/SunOS 5.9_x86 patch T113986-03 688 Solaris/SunOS 5.8_sparc patch T109147-23 689 Solaris/SunOS 5.8_x86 patch T109148-23 690-------------------------------------------------------------------------------- 691 692------------------------------------ 693Solaris 9 1203 (5th Q-update - s9u5) 694------------------------------------ 695Bugid Risk Synopsis 696================================================================================ 6974830584 mmap for the padding region doesn't get freed after dlclose 6984831650 ld.so.1 can walk off the end of it's call_init() array... 6994831544 ldd using .so modules compiled with FD7 compiler caused a core dump 7004834784 Accessing members in a TLS structure causes a core dump in Oracle 7014824026 segv when -z combreloc is used with -xlinkopt 7024825296 typo in elfdump 703-------------------------------------------------------------------------------- 704All the above changes are incorporated in the following patches: 705 Solaris/SunOS 5.9_sparc patch T112963-08 706 Solaris/SunOS 5.9_x86 patch T113986-04 707 Solaris/SunOS 5.8_sparc patch T109147-24 708 Solaris/SunOS 5.8_x86 patch T109148-24 709-------------------------------------------------------------------------------- 7104470917 Solaris Process Model Unification (link-editor components only) 711 PSARC/2002/117 Solaris Process Model Unification 7124744411 Bloomberg wants a faster linker. 7134811969 64-bit links can be much slower than 32-bit. 7144825065 ld(1) should ignore consecutive empty sections. 7154838226 unrelocated shared objects may be erroneously collected for init firing 7164830889 TLS: testcase coredumps with -xarch=v9 and -g 7174845764 filter removal can leave dangling filtee pointer 7184811093 apptrace -F libc date core dumps 7194826315 Link editors need to be pre- and post- Unified Process Model aware 7204868300 interposing on direct bindings can fail 7214872634 Large LD_PRELOAD values can cause SEGV of process 722-------------------------------------------------------------------------------- 723All the above changes are incorporated in the following patches: 724 Solaris/SunOS 5.9_sparc patch T112963-09 725 Solaris/SunOS 5.9_x86 patch T113986-05 726 Solaris/SunOS 5.8_sparc patch T109147-25 727 Solaris/SunOS 5.8_x86 patch T109148-25 728-------------------------------------------------------------------------------- 729 730------------------------------------ 731Solaris 9 404 (6th Q-update - s9u6) 732------------------------------------ 733Bugid Risk Synopsis 734================================================================================ 7354870260 The elfdump command should produce more warning message on invalid move 736 entries. 7374865418 empty PT_TLS program headers cause problems in TLS enabled applications 7384825151 compiler core dumped with a -mt -xF=%all test 7394845829 The runtime linker fails to dlopen() long path name. 7404900684 shared libraries with more then 32768 plt's fail for sparc ELF64 7414906062 Makefiles under usr/src/cmd/sgs needs to be updated 742-------------------------------------------------------------------------------- 743All the above changes are incorporated in the following patches: 744 Solaris/SunOS 5.9_sparc patch T112963-10 745 Solaris/SunOS 5.9_x86 patch T113986-06 746 Solaris/SunOS 5.8_sparc patch T109147-26 747 Solaris/SunOS 5.8_x86 patch T109148-26 748 Solaris/SunOS 5.7_sparc patch T106950-24 749 Solaris/SunOS 5.7_x86 patch T106951-24 750-------------------------------------------------------------------------------- 7514900320 rtld library mapping could be faster 7524911775 implement GOTDATA proposal in ld 753 PSARC/2003/477 SPARC GOTDATA instruction sequences 7544904565 Functionality to ignore relocations against external symbols 7554764817 add section types SHT_DEBUG and SHT_DEBUGSTR 756 PSARC/2003/510 New ELF DEBUG and ANNOTATE sections 7574850703 enable per-symbol direct bindings 7584716275 Help required in the link analysis of runtime interfaces 759 PSARC/2003/519 Link-editors: Direct Binding Updates 7604904573 elfdump may hang when processing archive files 7614918310 direct binding from an executable can't be interposed on 7624918938 ld.so.1 has become SPARC32PLUS - breaks 4.x binary compatibility 7634911796 S1S8 C++: ld dump core when compiled and linked with xlinkopt=1. 7644889914 ld crashes with SEGV using -M mapfile under certain conditions 7654911936 exception are not catch from shared library with -zignore 766-------------------------------------------------------------------------------- 767All the above changes are incorporated in the following patches: 768 Solaris/SunOS 5.9_sparc patch T112963-11 769 Solaris/SunOS 5.9_x86 patch T113986-07 770 Solaris/SunOS 5.8_sparc patch T109147-27 771 Solaris/SunOS 5.8_x86 patch T109148-27 772 Solaris/SunOS 5.7_sparc patch T106950-25 773 Solaris/SunOS 5.7_x86 patch T106951-25 774-------------------------------------------------------------------------------- 7754946992 ld crashes due to huge number of sections (>65,000) 7764951840 mcs -c goes into a loop on executable program 7774939869 Need additional relocation types for abs34 code model 778 PSARC/2003/684 abs34 ELF relocations 779-------------------------------------------------------------------------------- 780All the above changes are incorporated in the following patches: 781 Solaris/SunOS 5.9_sparc patch T112963-12 782 Solaris/SunOS 5.9_x86 patch T113986-08 783 Solaris/SunOS 5.8_sparc patch T109147-28 784 Solaris/SunOS 5.8_x86 patch T109148-28 785-------------------------------------------------------------------------------- 786 787------------------------------------ 788Solaris 9 904 (7th Q-update - s9u7) 789------------------------------------ 790Bugid Risk Synopsis 791================================================================================ 7924912214 Having multiple of libc.so.1 in a link map causes malloc() to fail 7934526878 ld.so.1 should pass MAP_ALIGN flag to give kernel more flexibility 7944930997 sgs bld_vernote.ksh script needs to be hardend... 7954796286 ld.so.1: scenario for trouble? 7964930985 clean up cruft under usr/src/cmd/sgs/tools 7974933300 remove references to Ultra-1 in librtld_db demo 7984936305 string table compression is much too slow... 7994939626 SUNWonld internal package must be updated... 8004939565 per-symbol filtering required 8014948119 ld(1) -z loadfltr fails with per-symbol filtering 8024948427 ld.so.1 gives fatal error when multiple RTLDINFO objects are loaded 8034940894 ld core dumps using "-xldscope=symbolic 8044955373 per-symbol filtering refinements 8054878827 crle(1M) - display post-UPM search paths, and compensate for pre-UPM. 8064955802 /usr/ccs/bin/ld dumps core in process_reld() 8074964415 elfdump issues wrong relocation error message 8084966465 LD_NOAUXFLTR fails when object is both a standard and auxiliary filter 8094973865 the link-editor does not scale properly when linking objects with 810 lots of syms 8114975598 SHT_SUNW_ANNOTATE section relocation not resolved 8124974828 nss_files nss_compat r_mt tests randomly segfaulting 813-------------------------------------------------------------------------------- 814All the above changes are incorporated in the following patches: 815 Solaris/SunOS 5.9_sparc patch T112963-13 816 Solaris/SunOS 5.9_x86 patch T113986-09 817-------------------------------------------------------------------------------- 8184860508 link-editors should create/promote/verify hardware capabilities 8195002160 crle: reservation for dumped objects gets confused by mmaped object 8204967869 linking stripped library causes segv in linker 8215006657 link-editor doesn't always handle nodirect binding syminfo information 8224915901 no way to see ELF information 8235021773 ld.so.1 has trouble with objects having more than 2 segments. 824-------------------------------------------------------------------------------- 825All the above changes are incorporated in the following patches: 826 Solaris/SunOS 5.9_sparc patch T112963-14 827 Solaris/SunOS 5.9_x86 patch T113986-10 828 Solaris/SunOS 5.8_sparc patch T109147-29 829 Solaris/SunOS 5.8_x86 patch T109148-29 830-------------------------------------------------------------------------------- 831All the above changes plus: 832 6850124 dlopen reports "No such file or directory" in spite of ENOMEM 833 when mmap fails in anon_map() 834are incorporated in the following patches: 835 Solaris/SunOS 5.9_sparc patch TXXXXXX-XX 836 Solaris/SunOS 5.9_x86 patch TXXXXXX-XX 837-------------------------------------------------------------------------------- 838 839---------- 840Solaris 10 841---------- 842Bugid Risk Synopsis 843================================================================================ 8445044797 ld.so.1: secure directory testing is being skipped during filtee 845 processing 8464963676 Remove remaining static libraries 8475021541 unnecessary PT_SUNWBSS segment may be created 8485031495 elfdump complains about bad symbol entries in core files 8495012172 Need error when creating shared object with .o compiled 850 -xarch=v9 -xcode=abs44 8514994738 rd_plt_resolution() resolves ebx-relative PLT entries incorrectly 8525023493 ld -m output with patch 109147-25 missing .o information 853-------------------------------------------------------------------------------- 854All the above changes are incorporated in the following patches: 855 Solaris/SunOS 5.9_sparc patch T112963-15 856 Solaris/SunOS 5.9_x86 patch T113986-11 857 Solaris/SunOS 5.8_sparc patch T109147-30 858 Solaris/SunOS 5.8_x86 patch T109148-30 859-------------------------------------------------------------------------------- 8605071614 109147-29 & -30 break the build of on28-patch on Solaris 8 2/04 8615029830 crle: provide for optional alternative dependencies. 8625034652 ld.so.1 should save, and print, more error messages 8635036561 ld.so.1 outputs non-fatal fatal message about auxiliary filter libraries 8645042713 4866170 broke ld.so's ::setenv 8655047082 ld can core dump on bad gcc objects 8665047612 ld.so.1: secure pathname verification is flawed with filter use 8675047235 elfdump can core dump printing PT_INTERP section 8684798376 nits in demo code 8695041446 gelf_update_*() functions inconsistently return NULL or 0 8705032364 M_ID_TLSBSS and M_ID_UNKNOWN have the same value 8714707030 Empty LD_PRELOAD_64 doesn't override LD_PRELOAD 8724968618 symbolic linkage causes core dump 8735062313 dladdr() can cause deadlock in MT apps. 8745056867 $ISALIST/$HWCAP expansion should be more flexible. 8754918303 0@0.so.1 should not use compiler-supplied crt*.o files 8765058415 whocalls cannot take more than 10 arguments 8775067518 The fix for 4918303 breaks the build if a new work space is used. 878-------------------------------------------------------------------------------- 879All the above changes are incorporated in the following patches: 880 Solaris/SunOS 5.9_sparc patch T112963-16 881 Solaris/SunOS 5.9_x86 patch T113986-12 882 Solaris/SunOS 5.8_sparc patch T109147-31 883 Solaris/SunOS 5.8_x86 patch T109148-31 884-------------------------------------------------------------------------------- 8855013759 *file* should report hardware/software capabilities (link-editor 886 components only) 8875063580 libldstab: file /tmp/posto..: .stab[.index|.sbfocus] found with no 888 matching stri 8895076838 elfdump(1) is built with a CTF section (the wrong one) 8905080344 Hardware capabilities are not enforced for a.out 8915079061 RTLD_DEFAULT can be expensive 892 PSARC/2004/747 New dlsym(3c) Handle - RTLD_PROBE 8935064973 allow normal relocs against TLS symbols for some sections 8945085792 LD_XXXX_64 should override LD_XXXX 8955096272 every executable or library has a .SUNW_dof section 8965094135 Bloomberg wants a faster ldd. 8975086352 libld.so.3 should be built with a .SUNW_ctf ELF section, ready for CR 8985098205 elfdump gives wrong section name for the global offset table 8995092414 Linker patch 109147-29 makes Broadvison One-To-One server v4.1 900 installation fail 9015080256 dump(1) doesn't list ELF hardware capabilities 9025097347 recursive read lock in gelf_getsym() 903-------------------------------------------------------------------------------- 904All the above changes are incorporated in the following patches: 905 Solaris/SunOS 5.9_sparc patch T112963-17 906 Solaris/SunOS 5.9_x86 patch T113986-13 907 Solaris/SunOS 5.8_sparc patch T109147-32 908 Solaris/SunOS 5.8_x86 patch T109148-32 909-------------------------------------------------------------------------------- 9105106206 ld.so.1 fail to run a Solaris9 program that has libc linked with 911 -z lazyload 9125102601 ON should deliver a 64-bit operating system for Opteron systems 913 (link-editor components only) 9146173852 enable link_auditing technology for amd64 9156174599 linker does not create .eh_frame_hdr sections for eh_frame sections 916 with SHF_LINK_ORDER 9176175609 amd64 run-time linker has a corrupted note section 9186175843 amd64 rdb_demo files not installed 9196182293 ld.so.1 can repeatedly relocate object .plts (RTLD_NOW). 9206183645 ld core dumps when automounter fails 9216178667 ldd list unexpected (file not found) in x86 environment. 9226181928 Need new reloc types R_AMD64_GOTOFF64 and R_AMD64_GOTPC32 9236182884 AMD64: ld coredumps when building a shared library 9246173559 The ld may set incorrect value for sh_addralign under some conditions. 9255105601 ld.so.1 gets a little too enthusiastic with interposition 9266189384 ld.so.1 should accommodate a files dev/inode change (libc loopback mnt) 9276177838 AMD64: linker cannot resolve PLT for 32-bit a.out(s) on amd64-S2 kernel 9286190863 sparc disassembly code should be removed from rdb_demo 9296191488 unwind eh_frame_hdr needs corrected encoding value 9306192490 moe(1) returns /lib/libc.so.1 for optimal expansion of libc HWCAP 931 libraries 9326192164 AMD64: introduce dlamd64getunwind interface 933 PSARC/2004/747 libc::dlamd64getunwind() 9346195030 libdl has bad version name 9356195521 64-bit moe(1) missed the train 9366198358 AMD64: bad eh_frame_hdr data when C and C++ mixed in a.out 9376204123 ld.so.1: symbol lookup fails even after lazy loading fallback 9386207495 UNIX98/UNIX03 vsx namespace violation DYNL.hdr/misc/dlfcn/T.dlfcn 939 14 Failed 9406217285 ctfmerge crashed during full onnv build 941-------------------------------------------------------------------------------- 942 943------------------------------------- 944Solaris 10 106 (1st Q-update - s10u1) 945------------------------------------- 946Bugid Risk Synopsis 947================================================================================ 9486209350 Do not include signature section from dynamic dependency library into 949 relocatable object 9506212797 The binary compiled on SunOS4.x doesn't run on Solaris8 with Patch 951 109147-31 952-------------------------------------------------------------------------------- 953All the above changes are incorporated in the following patches: 954 Solaris/SunOS 5.9_sparc patch T112963-18 955 Solaris/SunOS 5.9_x86 patch T113986-14 956 Solaris/SunOS 5.8_sparc patch T109147-33 957 Solaris/SunOS 5.8_x86 patch T109148-33 958-------------------------------------------------------------------------------- 9596219538 112963-17: linker patch causes binary to dump core 960-------------------------------------------------------------------------------- 961All the above changes are incorporated in the following patches: 962 Solaris/SunOS 5.10_sparc patch T117461-01 963 Solaris/SunOS 5.10_x86 patch T118345-01 964 Solaris/SunOS 5.9_sparc patch T112963-19 965 Solaris/SunOS 5.9_x86 patch T113986-15 966 Solaris/SunOS 5.8_sparc patch T109147-34 967 Solaris/SunOS 5.8_x86 patch T109148-34 968-------------------------------------------------------------------------------- 9696257177 incremental builds of usr/src/cmd/sgs can fail... 9706219651 AMD64: Linker does not issue error for out of range R_AMD64_PC32 971-------------------------------------------------------------------------------- 972All the above changes are incorporated in the following patches: 973 Solaris/SunOS 5.10_sparc patch T117461-02 974 Solaris/SunOS 5.10_x86 patch T118345-02 975 Solaris/SunOS 5.9_sparc patch T112963-20 976 Solaris/SunOS 5.9_x86 patch T113986-16 977 Solaris/SunOS 5.8_sparc patch T109147-35 978 Solaris/SunOS 5.8_x86 patch T109148-35 979NOTE: The fix for 6219651 is only applicable for 5.10_x86 platform. 980-------------------------------------------------------------------------------- 9815080443 lazy loading failure doesn't clean up after itself (D) 9826226206 ld.so.1 failure when processing single segment hwcap filtee 9836228472 ld.so.1: link-map control list stacking can loose objects 9846235000 random packages not getting installed in snv_09 and snv_10 - 985 rtld/common/malloc.c Assertion 9866219317 Large page support is needed for mapping executables, libraries and 987 files (link-editor components only) 9886244897 ld.so.1 can't run apps from commandline 9896251798 moe(1) returns an internal assertion failure message in some 990 circumstances 9916251722 ld fails silently with exit 1 status when -z ignore passed 9926254364 ld won't build libgenunix.so with absolute relocations 9936215444 ld.so.1 caches "not there" lazy libraries, foils svc.startd(1M)'s logic 9946222525 dlsym(3C) trusts caller(), which may return wrong results with tail call 995 optimization 9966241995 warnings in sgs should be fixed (link-editor components only) 9976258834 direct binding availability should be verified at runtime 9986260361 lari shouldn't count a.out non-zero undefined entries as interesting 9996260780 ldd doesn't recognize LD_NOAUXFLTR 10006266261 Add ld(1) -Bnodirect support (D) 10016261990 invalid e_flags error could be a little more friendly 10026261803 lari(1) should find more events uninteresting (D) 10036267352 libld_malloc provides inadequate alignment 10046268693 SHN_SUNW_IGNORE symbols should be allowed to be mulitiply defined 10056262789 Infosys wants a faster linker 1006-------------------------------------------------------------------------------- 1007All the above changes are incorporated in the following patches: 1008 Solaris/SunOS 5.10_sparc patch T117461-03 1009 Solaris/SunOS 5.10_x86 patch T118345-03 1010 Solaris/SunOS 5.9_sparc patch T112963-21 1011 Solaris/SunOS 5.9_x86 patch T113986-17 1012 Solaris/SunOS 5.8_sparc patch T109147-36 1013 Solaris/SunOS 5.8_x86 patch T109148-36 1014-------------------------------------------------------------------------------- 10156283601 The usr/src/cmd/sgs/packages/common/copyright contains old information 1016 legally problematic 10176276905 dlinfo gives inconsistent results (relative vs absolute linkname) (D) 1018 PSARC/2005/357 dlinfo(3c) RTLD_DI_ARGSINFO 10196284941 excessive link times with many groups/sections 10206280467 dlclose() unmaps shared library before library's _fini() has finished 10216291547 ld.so mishandles LD_AUDIT causing security problems. 1022-------------------------------------------------------------------------------- 1023All the above changes are incorporated in the following patches: 1024 Solaris/SunOS 5.10_sparc patch T117461-04 1025 Solaris/SunOS 5.10_x86 patch T118345-04 1026 Solaris/SunOS 5.9_sparc patch T112963-22 1027 Solaris/SunOS 5.9_x86 patch T113986-18 1028 Solaris/SunOS 5.8_sparc patch T109147-37 1029 Solaris/SunOS 5.8_x86 patch T109148-37 1030-------------------------------------------------------------------------------- 10316295971 UNIX98/UNIX03 *vsx* DYNL.hdr/misc/dlfcn/T.dlfcn 14 fails, auxv.h syntax 1032 error 10336299525 .init order failure when processing cycles 10346273855 gcc and sgs/crle don't get along 10356273864 gcc and sgs/libld don't get along 10366273875 gcc and sgs/rtld don't get along 10376272563 gcc and amd64/krtld/doreloc.c don't get along 10386290157 gcc and sgs/librtld_db/rdb_demo don't get along 10396301218 Matlab dumps core on startup when running on 112963-22 (D) 1040-------------------------------------------------------------------------------- 1041All the above changes are incorporated in the following patches: 1042 Solaris/SunOS 5.10_sparc patch T117461-06 1043 Solaris/SunOS 5.10_x86 patch T118345-08 1044 Solaris/SunOS 5.9_sparc patch T112963-23 1045 Solaris/SunOS 5.9_x86 patch T113986-19 1046 Solaris/SunOS 5.8_sparc patch T109147-38 1047 Solaris/SunOS 5.8_x86 patch T109148-38 1048-------------------------------------------------------------------------------- 10496314115 Checkpoint refuses to start, crashes on start, after application of 1050 linker patch 112963-22 1051-------------------------------------------------------------------------------- 1052All the above changes are incorporated in the following patches: 1053 Solaris/SunOS 5.9_sparc patch T112963-24 1054 Solaris/SunOS 5.9_x86 patch T113986-20 1055 Solaris/SunOS 5.8_sparc patch T109147-39 1056 Solaris/SunOS 5.8_x86 patch T109148-39 1057-------------------------------------------------------------------------------- 10586318306 a dlsym() from a filter should be redirected to an associated filtee 10596318401 mis-aligned TLS variable 10606324019 ld.so.1: malloc alignment is insufficient for new compilers 10616324589 psh coredumps on x86 machines on snv_23 10626236594 AMD64: Linker needs to handle the new .lbss section (D) 1063 PSARC 2005/514 AMD64 - large section support 10646314743 Linker: incorrect resolution for R_AMD64_GOTPC32 10656311865 Linker: x86 medium model; invalid ELF program header 1066-------------------------------------------------------------------------------- 1067All the above changes are incorporated in the following patches: 1068 Solaris/SunOS 5.10_sparc patch T117461-07 1069 Solaris/SunOS 5.10_x86 patch T118345-12 1070-------------------------------------------------------------------------------- 10716309061 link_audit should use __asm__ with gcc 10726310736 gcc and sgs/libld don't get along on SPARC 10736329796 Memory leak with iconv_open/iconv_close with patch 109147-33 10746332983 s9 linker patches 112963-24/113986-20 causing cluster machines not 1075 to boot 1076-------------------------------------------------------------------------------- 1077All the above changes are incorporated in the following patches: 1078 Solaris/SunOS 5.10_sparc patch T117461-08 1079 Solaris/SunOS 5.10_x86 patch T121208-02 1080 Solaris/SunOS 5.9_sparc patch T112963-25 1081 Solaris/SunOS 5.9_x86 patch T113986-21 1082 Solaris/SunOS 5.8_sparc patch T109147-40 1083 Solaris/SunOS 5.8_x86 patch T109148-40 1084-------------------------------------------------------------------------------- 10856445311 The sparc S8/S9/S10 linker patches which include the fix for the 1086 CR6222525 are hit by the CR6439613. 1087-------------------------------------------------------------------------------- 1088All the above changes are incorporated in the following patches: 1089 Solaris/SunOS 5.9_sparc patch T112963-26 1090 Solaris/SunOS 5.8_sparc patch T109147-41 1091-------------------------------------------------------------------------------- 1092 1093------------------------------------- 1094Solaris 10 807 (4th Q-update - s10u4) 1095------------------------------------- 1096Bugid Risk Synopsis 1097================================================================================ 10986487273 ld.so.1 may open arbitrary locale files when relative path is built 1099 from locale environment vars 11006487284 ld.so.1: buffer overflow in doprf() function 1101-------------------------------------------------------------------------------- 1102All the above changes are incorporated in the following patches: 1103 Solaris/SunOS 5.10_sparc patch T124922-01 1104 Solaris/SunOS 5.10_x86 patch T124923-01 1105 Solaris/SunOS 5.9_sparc patch T112963-27 1106 Solaris/SunOS 5.9_x86 patch T113986-22 1107 Solaris/SunOS 5.8_sparc patch T109147-42 1108 Solaris/SunOS 5.8_x86 patch T109148-41 1109-------------------------------------------------------------------------------- 11106477132 ld.so.1: memory leak when running set*id application 1111-------------------------------------------------------------------------------- 1112All the above changes are incorporated in the following patches: 1113 Solaris/SunOS 5.10_sparc patch T124922-02 1114 Solaris/SunOS 5.10_x86 patch T124923-02 1115 Solaris/SunOS 5.9_sparc patch T112963-30 1116 Solaris/SunOS 5.9_x86 patch T113986-24 1117-------------------------------------------------------------------------------- 11186340814 ld.so.1 core dump with HWCAP relocatable object + updated statistics 11196307274 crle bug with LD_LIBRARY_PATH 11206317969 elfheader limited to 65535 segments (link-editor components only) 11216350027 ld.so.1 aborts with assertion failed on amd64 11226362044 ld(1) inconsistencies with LD_DEBUG=-Dunused and -zignore 11236362047 ld.so.1 dumps core when combining HWCAP and LD_PROFILE 11246304206 runtime linker may respect LANG and LC_MESSAGE more than LC_ALL 11256363495 Catchup required with Intel relocations 11266326497 ld.so not properly processing LD_LIBRARY_PATH ending in : 11276307146 mcs dumps core when appending null string to comment section 11286371877 LD_PROFILE_64 with gprof does not produce correct results on amd64 11296372082 ld -r erroneously creates .got section on i386 11306201866 amd64: linker symbol elimination is broken 11316372620 printstack() segfaults when called from static function (D) 11326380470 32-bit ld(1) incorrectly builds 64-bit relocatable objects 11336391407 Insufficient alignment of 32-bit object in archive makes ld segfault 1134 (libelf component only) (D) 11356316708 LD_DEBUG should provide a means of identifying/isolating individual 1136 link-map lists (P) 11376280209 elfdump cores on memory model 0x3 11386197234 elfdump and dump don't handle 64-bit symbols correctly 11396398893 Extended section processing needs some work 11406397256 ldd dumps core in elf_fix_name 11416327926 ld does not set etext symbol correctly for AMD64 medium model (D) 11426390410 64-bit LD_PROFILE can fail: relocation error when binding profile plt 11436382945 AMD64-GCC: dbx: internal error: dwarf reference attribute out of bounds 11446262333 init section of .so dlopened from audit interface not being called 11456409613 elf_outsync() should fsync() 11466426048 C++ exceptions broken in Nevada for amd64 11476429418 ld.so.1: need work-around for Nvidia drivers use of static TLS 11486429504 crle(1) shows wrong defaults for non-existent 64-bit config file 11496431835 data corruption on x64 in 64-bit mode while LD_PROFILE is in effect 11506423051 static TLS support within the link-editors needs a major face lift (D) 11516388946 attempting to dlopen a .o file mislabeled as .so fails 11526446740 allow mapfile symbol definitions to create backing storage (D) 11534986360 linker crash on exec of .so (as opposed to a.out) -- error preferred 1154 instead 11556229145 ld: initarray/finiarray processing occurs after got size is determined 11566324924 the linker should warn if there's a .init section but not _init 11576424132 elfdump inserts extra whitespace in bitmap value display 11586449485 ld(1) creates misaligned TLS in binary compiled with -xpg 11596424550 Write to unallocated (wua) errors when libraries are built with 1160 -z lazyload 11616464235 executing the 64-bit ld(1) should be easy (D) 11626465623 need a way of building unix without an interpreter 11636467925 ld: section deletion (-z ignore) requires improvement 11646357230 specfiles should be nuked (link-editor components only) 1165-------------------------------------------------------------------------------- 1166All the above changes are incorporated in the following patches: 1167 Solaris/SunOS 5.10_sparc patch T124922-03 1168 Solaris/SunOS 5.10_x86 patch T124923-03 1169 1170These patches also include the framework changes for the following bug fixes. 1171However, the associated feature has not been enabled in Solaris 10 or earlier 1172releases: 1173 11746174390 crle configuration files are inconsistent across platforms (D, P) 11756432984 ld(1) output file removal - change default behavior (D) 1176 PSARC/2006/353 ld(1) output file removal - change default behavior 1177-------------------------------------------------------------------------------- 1178 1179------------------------------------- 1180Solaris 10 508 (5th Q-update - s10u5) 1181------------------------------------- 1182Bugid Risk Synopsis 1183================================================================================ 11846561987 data vac_conflict faults on lipthread libthread libs in s10. 1185-------------------------------------------------------------------------------- 1186All the above changes are incorporated in the following patches: 1187 Solaris/SunOS 5.10_sparc patch T127111-01 1188 Solaris/SunOS 5.10_x86 patch T127112-01 1189-------------------------------------------------------------------------------- 11906501793 GOTOP relocation transition (optimization) fails with offsets > 2^32 11916532924 AMD64: Solaris 5.11 55b: SEGV after whocatches 11926551627 OGL: SIGSEGV when trying to use OpenGL pipeline with splash screen, 1193 Solaris/Nvidia only 1194-------------------------------------------------------------------------------- 1195All the above changes are incorporated in the following patches: 1196 Solaris/SunOS 5.10_sparc patch T127111-04 1197 Solaris/SunOS 5.10_x86 patch T127112-04 1198-------------------------------------------------------------------------------- 11996479848 Enhancements to the linker support interface needed. (D) 1200 PSARC/2006/595 link-editor support library interface - ld_open() 12016521608 assertion failure in runtime linker related to auditing 12026494228 pclose() error when an audit library calls popen() and the main target 1203 is being run under ldd (D) 12046568745 segfault when using LD_DEBUG with bit_audit library when instrumenting 1205 mozilla (D) 1206 PSARC/2007/413 Add -zglobalaudit option to ld 12076602294 ps_pbrandname breaks apps linked directly against librtld_db 1208-------------------------------------------------------------------------------- 1209All the above changes are incorporated in the following patches: 1210 Solaris/SunOS 5.10_sparc patch T127111-07 1211 Solaris/SunOS 5.10_x86 patch T127112-07 1212-------------------------------------------------------------------------------- 1213 1214------------------------------------- 1215Solaris 10 908 (6th Q-update - s10u6) 1216------------------------------------- 1217Bugid Risk Synopsis 1218================================================================================ 12196672544 elf_rtbndr must support non-ABI aligned stacks on amd64 12206668050 First trip through PLT does not preserve args in xmm registers 1221-------------------------------------------------------------------------------- 1222All the above changes are incorporated in the following patch: 1223 Solaris/SunOS 5.10_x86 patch T137138-01 1224-------------------------------------------------------------------------------- 1225 1226------------------------------------- 1227Solaris 10 409 (7th Q-update - s10u7) 1228------------------------------------- 1229Bugid Risk Synopsis 1230================================================================================ 12316629404 ld with -z ignore doesn't scale 12326606203 link editor ought to allow creation of >2gb sized objects (P) 1233-------------------------------------------------------------------------------- 1234All the above changes are incorporated in the following patches: 1235 Solaris/SunOS 5.10_sparc patch T139574-01 1236 Solaris/SunOS 5.10_x86 patch T139575-01 1237-------------------------------------------------------------------------------- 12386746674 setuid applications do not find libraries any more because trusted 1239 directories behavior changed (D) 1240-------------------------------------------------------------------------------- 1241All the above changes are incorporated in the following patches: 1242 Solaris/SunOS 5.10_sparc patch T139574-02 1243 Solaris/SunOS 5.10_x86 patch T139575-02 1244-------------------------------------------------------------------------------- 12456703683 Can't build VirtualBox on Build 88 or 89 12466737579 process_req_lib() in libld consumes file descriptors 12476685125 ld/elfdump do not handle ZERO terminator .eh_frame amd64 unwind entry 1248-------------------------------------------------------------------------------- 1249All the above changes are incorporated in the following patches: 1250 Solaris/SunOS 5.10_sparc patch T139574-03 1251 Solaris/SunOS 5.10_x86 patch T139575-03 1252-------------------------------------------------------------------------------- 1253 1254------------------------------------- 1255Solaris 10 1009 (8th Q-update - s10u8) 1256------------------------------------- 1257Bugid Risk Synopsis 1258================================================================================ 12596782597 32-bit ld.so.1 needs to accept objects with large inode number 12606805502 The addition of "inline" keywords to sgs code broke the lint 1261 verification in S10 12626807864 ld.so.1 is susceptible to a fatal dlsym()/setlocale() race 1263-------------------------------------------------------------------------------- 1264All the above changes are incorporated in the following patches: 1265 Solaris/SunOS 5.10_sparc patch T141692-01 1266 Solaris/SunOS 5.10_x86 patch T141693-01 1267NOTE: The fix for 6805502 is only applicable to s10. 1268-------------------------------------------------------------------------------- 12696826410 ld needs to sort sections using 32-bit sort keys 1270-------------------------------------------------------------------------------- 1271All the above changes are incorporated in the following patches: 1272 Solaris/SunOS 5.10_sparc patch T141771-01 1273 Solaris/SunOS 5.10_x86 patch T141772-01 1274NOTE: The fix for 6826410 is also available for s9 in the following patches: 1275 Solaris/SunOS 5.9_sparc patch T112963-33 1276 Solaris/SunOS 5.9_x86 patch T113986-27 1277-------------------------------------------------------------------------------- 12786568447 bcp is broken by 6551627 12796599700 librtld_db needs better plugin support 12806713830 mdb dumped core reading a gcore 12816756048 rd_loadobj_iter() should always invoke brand plugin callback 12826786744 32-bit dbx failed with unknown rtld_db.so error on snv_104 1283-------------------------------------------------------------------------------- 1284All the above changes are incorporated in the following patches: 1285 Solaris/SunOS 5.10_sparc patch T141444-06 1286 Solaris/SunOS 5.10_x86 patch T141445-06 1287-------------------------------------------------------------------------------- 1288 1289-------------------------------------- 1290Solaris 10 1005 (9th Q-update - s10u9) 1291-------------------------------------- 1292Bugid Risk Synopsis 1293================================================================================ 12946850124 dlopen reports "No such file or directory" in spite of ENOMEM 1295 when mmap fails in anon_map() 12966826513 ldd gets confused by a crle(1) LD_PRELOAD setting 12976684577 ld should propagate SHF_LINK_ORDER flag to ET_REL objects 12986524709 executables using /usr/lib/libc.so.1 as the ELF interpreter dump core 1299 (link-editor components only) 1300-------------------------------------------------------------------------------- 1301All the above changes are incorporated in the following patches: 1302 Solaris/SunOS 5.10_sparc patch T143895-01 1303 Solaris/SunOS 5.10_x86 patch T143896-01 1304-------------------------------------------------------------------------------- 1305 1306---------------------------------------- 1307Solaris 10 XXXX (10th Q-update - s10u10) 1308---------------------------------------- 1309Bugid Risk Synopsis 1310================================================================================ 13116478684 isainfo/cpuid reports pause instruction not supported on amd64 1312 PSARC/2010/089 Removal of AV_386_PAUSE and AV_386_MON 1313-------------------------------------------------------------------------------- 1314All the above changes are incorporated in the following patches: 1315 Solaris/SunOS 5.10_sparc patch TXXXXXX-XX 1316 Solaris/SunOS 5.10_x86 patch TXXXXXX-XX 1317-------------------------------------------------------------------------------- 1318 1319-------------------------------------------- 1320Solaris Nevada (OpenSolaris 2008.05, snv_86) 1321-------------------------------------------- 1322Bugid Risk Synopsis 1323================================================================================ 13246409350 BrandZ project integration into Solaris (link-editor components only) 13256459189 UNIX03: *VSC* c99 compiler overwrites non-writable file 13266423746 add an option to relax the resolution of COMDAT relocs (D) 13274934427 runtime linker should load up static symbol names visible to 1328 dladdr() (D) 1329 PSARC 2006/526 SHT_SUNW_LDYNSYM - default local symbol addition 13306448719 sys/elf.h could be updated with additional machine and ABI types 13316336605 link-editors need to support R_*_SIZE relocations 1332 PSARC/2006/558 R_*_SIZE relocation support 13336475375 symbol search optimization to reduce rescans 13346475497 elfdump(1) is misreporting sh_link 13356482058 lari(1) could be faster, and handle per-symbol filters better 13366482974 defining virtual address of text segment can result in an invalid data 1337 segment 13386476734 crle(1m) "-l" as described fails system, crle cores trying to fix 1339 /a/var/ld/ld.config in failsafe 13406487499 link_audit "make clobber" creates and populates proto area 13416488141 ld(1) should detect attempt to reference 0-length .bss section 13426496718 restricted visibility symbol references should trigger archive 1343 extraction 13446515970 HWCAP processing doesn't clean up fmap structure - browser fails to 1345 run java applet 13466494214 Refinements to symbolic binding, symbol declarations and 1347 interposition (D) 1348 PSARC/2006/714 ld(1) mapfile: symbol interpose definition 13496475344 DTrace needs ELF function and data symbols sorted by address (D) 1350 PSARC/2007/026 ELF symbol sort sections 13516518480 ld -melf_i386 doesn't complain (D) 13526519951 bfu is just another word for exit today (RPATH -> RUNPATH conversion 1353 bites us) (D) 13546521504 ld: hardware capabilities processing from relocatables objects needs 1355 hardening. 13566518322 Some ELF utilities need updating for .SUNW_ldynsym section (D) 1357 PSARC/2007/074 -L option for nm(1) to display SHT_SUNW_LDYNSYM symbols 13586523787 dlopen() handle gets mistakenly orphaned - results in access to freed 1359 memory 13606531189 SEGV in dladdr() 13616527318 dlopen(name, RTLD_NOLOAD) returns handle for unloaded library 13626518359 extern mapfiles references to _init/_fini can create INIT/FINI 1363 addresses of 0 13646533587 ld.so.1: init/fini processing needs to compensate for interposer 1365 expectations 13666516118 Reserved space needed in ELF dynamic section and string table (D) 1367 PSARC/2007/127 Reserved space for editing ELF dynamic sections 13686535688 elfdump could be more robust in the face of Purify (D) 13696516665 The link-editors should be more resilient against gcc's symbol 1370 versioning 13716541004 hwcap filter processing can leak memory 13725108874 elfdump SEGVs on bad object file 13736547441 Uninitialized variable causes ld.so.1 to crash on object cleanup 13746341667 elfdump should check alignments of ELF header elements 13756387860 elfdump cores, when processing linux built ELF file 13766198202 mcs -d dumps core 13776246083 elfdump should allow section index specification 1378 (numeric -N equivalent) (D) 1379 PSARC/2007/247 Add -I option to elfdump 13806556563 elfdump section overlap checking is too slow for large files 13815006034 need ?E mapfile feature extension (D) 13826565476 rtld symbol version check prevents GNU ld binary from running 13836567670 ld(1) symbol size/section size verification uncovers Haskell 1384 compiler inconsistency 13856530249 elfdump should handle ELF files with no section header table (D) 1386 PSARC/2007/395 Add -P option to elfdump 13876573641 ld.so.1 does not maintain parent relationship to a dlopen() caller. 13886577462 Additional improvements needed to handling of gcc's symbol versioning 13896583742 ELF string conversion library needs to lose static writable buffers 13906589819 ld generated reference to __tls_get_addr() fails when resolving to a 1391 shared object reference 13926595139 various applications should export yy* global variables for libl 1393 PSARC/2007/474 new ldd(1) -w option 13946597841 gelf_getdyn() reads one too many dynamic entries 13956603313 dlclose() can fail to unload objects after fix for 6573641 13966234471 need a way to edit ELF objects (D) 1397 PSARC/2007/509 elfedit 13985035454 mixing -Kpic and -KPIC may cause SIGSEGV with -xarch=v9 13996473571 strip and mcs get confused and corrupt files when passed 1400 non-ELF arguments 14016253589 mcs has problems handling multiple SHT_NOTE sections 14026610591 do_reloc() should not require unused arguments 14036602451 new symbol visibilities required: EXPORTED, SINGLETON and ELIMINATE (D) 1404 PSARC/2007/559 new symbol visibilities - EXPORTED, SINGLETON, and 1405 ELIMINATE 14066570616 elfdump should display incorrectly aligned note section 14076614968 elfedit needs string table module (D) 14086620533 HWCAP filtering can leave uninitialized data behind - results in 1409 "rejected: Invalid argument" 14106617855 nodirect tag can be ignored when other syminfo tags are available 1411 (link-editor components only) 14126621066 Reduce need for new elfdump options with every section type (D) 1413 PSARC/2007/620 elfdump -T, and simplified matching 14146627765 soffice failure after integration of 6603313 - dangling GROUP pointer. 14156319025 SUNWbtool packaging issues in Nevada and S10u1. 14166626135 elfedit capabilities str->value mapping should come from 1417 usr/src/common/elfcap 14186642769 ld(1) -z combreloc should become default behavior (D) 1419 PSARC/2008/006 make ld(1) -z combreloc become default behavior 14206634436 XFFLAG should be updated. (link-editor components only) 14216492726 Merge SHF_MERGE|SHF_STRINGS input sections (D) 14224947191 OSNet should use direct bindings (link-editor components only) 14236654381 lazy loading fall-back needs optimizing 14246658385 ld core dumps when building Xorg on nv_82 14256516808 ld.so.1's token expansion provides no escape for platforms that don't 1426 report HWCAP 14276668534 Direct bindings can compromise function address comparisons from 1428 executables 14296667661 Direct bindings can compromise executables with insufficient copy 1430 relocation information 14316357282 ldd should recognize PARENT and EXTERN symbols (D) 1432 PSARC/2008/148 new ldd(1) -p option 14336672394 ldd(1) unused dependency processing is tricked by relocations errors 1434-------------------------------------------------------------------------------- 1435 1436--------------------------------------------- 1437Solaris Nevada (OpenSolaris 2008.11, snv_101) 1438--------------------------------------------- 1439Bugid Risk Synopsis 1440================================================================================ 14416671255 link-editor should support cross linking (D) 1442 PSARC/2008/179 cross link-editor 14436674666 elfedit dyn:posflag1 needs option to locate element via NEEDED item 14446675591 elfwrap - wrap data in an ELF file (D,P) 1445 PSARC/2008/198 elfwrap - wrap data in an ELF file 14466678244 elfdump dynamic section sanity checking needs refinement 14476679212 sgs use of SCCS id for versioning is obstacle to mercurial migration 14486681761 lies, darn lies, and linker README files 14496509323 Need to disable the Multiple Files loading - same name, different 1450 directories (or its stat() use) 14516686889 ld.so.1 regression - bad pointer created with 6509323 integration 14526695681 ldd(1) crashes when run from a chrooted environment 14536516212 usr/src/cmd/sgs/libelf warlock targets should be fixed or abandoned 14546678310 using LD_AUDIT, ld.so.1 calls shared library's .init before library is 1455 fully relocated (link-editor components only) 14566699594 The ld command has a problem handling 'protected' mapfile keyword. 14576699131 elfdump should display core file notes (D) 14586702260 single threading .init/.fini sections breaks staroffice 14596703919 boot hangs intermittently on x86 with onnv daily.0430 and on 14606701798 ld can enter infinite loop processing bad mapfile 14616706401 direct binding copy relocation fallback is insufficient for ild 1462 generated objects 14636705846 multithreaded C++ application seems to get deadlocked in the dynamic 1464 linker code 14656686343 ldd(1) - unused search path diagnosis should be enabled 14666712292 ld.so.1 should fall back to an interposer for failed direct bindings 14676716350 usr/src/cmd/sgs should be linted by nightly builds 14686720509 usr/src/cmd/sgs/sgsdemangler should be removed 14696617475 gas creates erroneous FILE symbols [was: ld.so.1 is reported as 1470 false positive by wsdiff] 14716724311 dldump() mishandles R_AMD64_JUMP_SLOT relocations 14726724774 elfdump -n doesn't print siginfo structure 14736728555 Fix for amd64 aw (6617475) breaks pure gcc builds 14746734598 ld(1) archive processing failure due to mismatched file descriptors (D) 14756735939 ld(1) discarded symbol relocations errors (Studio and GNU). 14766354160 Solaris linker includes more than one copy of code in binary when 1477 linking gnu object code 14786744003 ld(1) could provide better argument processing diagnostics (D) 1479 PSARC 2008/583 add gld options to ld(1) 14806749055 ld should generate GNU style VERSYM indexes for VERNEED records (D) 1481 PSARC/2008/603 ELF objects to adopt GNU-style Versym indexes 14826752728 link-editor can enter UNDEF symbols in symbol sort sections 14836756472 AOUT search path pruning (D) 1484-------------------------------------------------------------------------------- 1485 1486--------------------------------------------- 1487Solaris Nevada (OpenSolaris 2009.06, snv_111) 1488--------------------------------------------- 1489Bugid Risk Synopsis 1490================================================================================ 1491 14926754965 introduce the SF1_SUNW_ADDR32 bit in software capabilities (D) 1493 (link-editor components only) 1494 PSARC/2008/622 32-bit Address Restriction Software Capabilities Flag 14956756953 customer requests that DT_CONFIG strings be honored for secure apps (D) 14966765299 ld --version-script option not compatible with GNU ld (D) 14976748160 problem with -zrescan (D) 1498 PSARC/2008/651 New ld archive rescan options 14996763342 sloppy relocations need to get sloppier 15006736890 PT_SUNWBSS should be disabled (D) 1501 PSARC/2008/715 PT_SUNWBSS removal 15026772661 ldd/lddstub/ld.so.1 dump core in current nightly while processing 1503 libsoftcrypto_hwcap.so.1 15046765931 mcs generates unlink(NULL) system calls 15056775062 remove /usr/lib/libldstab.so (D) 15066782977 ld segfaults after support lib version error sends bad args to vprintf() 15076773695 ld -z nopartial can break non-pic objects 15086778453 RTLD_GROUP prevents use of application defined malloc 15096789925 64-bit applications with SF1_SUNW_ADDR32 require non-default starting 1510 address 15116792906 ld -z nopartial fix breaks TLS 15126686372 ld.so.1 should use mmapobj(2) 15136726108 dlopen() performance could be improved. 15146792836 ld is slow when processing GNU linkonce sections 15156797468 ld.so.1: orphaned handles aren't processed correctly 15166798676 ld.so.1: enters infinite loop with realloc/defragmentation logic 15176237063 request extension to dl* family to provide segment bounds 1518 information (D) 1519 PSARC/2009/054 dlinfo(3c) - segment mapping retrieval 15206800388 shstrtab can be sized incorrectly when -z ignore is used 15216805009 ld.so.1: link map control list tear down leaves dangling pointer - 1522 pfinstall does it again. 15236807050 GNU linkonce sections can create duplicate and incompatible 1524 eh_frame FDE entries 1525-------------------------------------------------------------------------------- 1526 1527-------------- 1528Solaris Nevada 1529-------------- 1530Bugid Risk Synopsis 1531================================================================================ 15326813909 generalize eh_frame support to non-amd64 platforms 15336801536 ld: mapfile processing oddities unveiled through mmapobj(2) observations 15346802452 libelf shouldn't use MS_SYNC 15356818012 nm tries to modify readonly segment and dumps core 15366821646 xVM dom0 doesn't boot on daily.0324 and beyond 15376822828 librtld_db can return RD_ERR before RD_NOMAPS, which compromises dbx 1538 expectations. 15396821619 Solaris linkers need systematic approach to ELF OSABI (D) 1540 PSARC/2009/196 ELF objects to set OSABI / elfdump -O option 15416827468 6801536 breaks 'ld -s' if there are weak/strong symbol pairs 15426715578 AOUT (BCP) symbol lookup can be compromised with lazy loading. 15436752883 ld.so.1 error message should be buffered (not sent to stderr). 15446577982 ld.so.1 calls getpid() before it should when any LD_* are set 15456831285 linker LD_DEBUG support needs improvements (D) 15466806791 filter builds could be optimized (link-editor components only) 15476823371 calloc() uses suboptimal memset() causing 15% regression in SpecCPU2006 1548 gcc code (link-editor components only) 15496831308 ld.so.1: symbol rescanning does a little too much work 15506837777 ld ordered section code uses too much memory and works too hard 15516841199 Undo 10 year old workaround and use 64-bit ld on 32-bit objects 15526784790 ld should examine archives to determine output object class/machine (D) 1553 PSARC/2009/305 ld -32 option 15546849998 remove undocumented mapfile $SPECVERS and $NEED options 15556851224 elf_getshnum() and elf_getshstrndx() incompatible with 2002 ELF gABI 1556 agreement (D) 1557 PSARC/2009/363 replace elf_getphnum, elf_getshnum, and elf_getshstrndx 15586853809 ld.so.1: rescan fallback optimization is invalid 15596854158 ld.so.1: interposition can be skipped because of incorrect 1560 caller/destination validation 15616862967 rd_loadobj_iter() failing for core files 15626856173 streams core dumps when compiled in 64bit with a very large static 1563 array size 15646834197 ld pukes when given an empty plate 15656516644 per-symbol filtering shouldn't be allowed in executables 15666878605 ld should accept '%' syntax when matching input SHT_PROGBITS sections 15676850768 ld option to autogenerate wrappers/interposers similar to GNU ld 1568 --wrap (D) 1569 PSARC/2009/493 ld -z wrap option 15706888489 Null environment variables are not overriding crle(1) replaceable 1571 environment variables. 15726885456 Need to implement GNU-ld behavior in construction of .init/.fini 1573 sections 15746900241 ld should track SHT_GROUP sections by symbol name, not section name 15756901773 Special handling of STT_SECTION group signature symbol for GNU objects 15766901895 Failing asserts in ld update_osym() trying to build gcc 4.5 develpment 1577 head 15786909523 core dump when run "LD_DEBUG=help ls" in non-English locale 15796903688 mdb(1) can't resolve certain symbols in solaris10-branded processes 1580 from the global zone 15816923449 elfdump misinterprets _init/_fini symbols in dynamic section test 15826914728 Add dl_iterate_phdr() function to ld.so.1 (D) 1583 PSARC/2010/015 dl_iterate_phdr 15846916788 ld version 2 mapfile syntax (D) 1585 PSARC/2009/688 Human readable and extensible ld mapfile syntax 15866929607 ld generates incorrect VERDEF entries for ET_REL output objects 15876924224 linker should ignore SUNW_dof when calculating the elf checksum 15886918143 symbol capabilities (D) 1589 PSARC/2010/022 Linker-editors: Symbol Capabilities 15906910387 .tdata and .tbss separation invalidates TLS program header information 15916934123 elfdump -d coredumps on PA-RISC elf 15926931044 ld should not allow SHT_PROGBITS .eh_frame sections on amd64 (D) 15936931056 pvs -r output can include empty versions in output 15946938628 ld.so.1 should produce diagnostics for all dl*() entry points 15956938111 nm `No symbol table data' message goes to stdout 15966941727 ld relocation cache memory use is excessive 15976932220 ld -z allextract skips objects that lack global symbols 15986943772 Testing for a symbols existence with RTLD_PROBE is compromised by 1599 RTLD_BIND_NOW 1600 PSARC/2010/XXX Deferred symbol references 16016943432 dlsym(RTLD_PROBE) should only bind to symbol definitions 16026668759 an external method for determining whether an ELF dependency is optional 16036954032 Support library with ld_open and -z allextract in snv_139 do not mix 16046949596 wrong section alignment generated in joint compilation with shared 1605 library 16066961755 ld.so.1's -e arguments should take precedence over environment 1607 variables. (D) 16086748925 moe returns wrong hwcap library in some circumstances 16096916796 OSnet mapfiles should use version 2 link-editor syntax 16106964517 OSnet mapfiles should use version 2 link-editor syntax (2nd pass) 16116948720 SHT_INIT_ARRAY etc. section names don't follow ELF gABI (D) 16126962343 sgsmsg should use mkstemp() for temporary file creation 16136965723 libsoftcrypto symbol capabilities rely on compiler generated 1614 capabilities - gcc failure (link-editor components only) 16156952219 ld support for archives larger than 2 GB (D, P) 1616 PSARC/2010/224 Support for archives larger than 2 GB 16176956152 dlclose() from an auditor can be fatal. Preinit/activity events should 1618 be more flexible. (D) 16196971440 moe can core dump while processing libc. 16206972234 sgs demo's could use some cleanup 16216935867 .dynamic could be readonly in sharable objects 16226975290 ld mishandles GOT relocation against local ABS symbol 16236972860 ld should provide user guidance to improve objects (D) 1624 PSARC/2010/312 Link-editor guidance 1625-------------------------------------------------------------------------------- 1626 1627-------------- 1628illumos 1629-------------- 1630Bugid Risk Synopsis 1631================================================================================ 1632 1633308 ld may misalign sections only preceded by empty sections 16341301 ld crashes with '-z ignore' due to a null data descriptor 16351626 libld may accidentally return success while failing 16362413 %ymm* need to be preserved on way through PLT 16373210 ld should tolerate SHT_PROGBITS for .eh_frame sections on amd64 16383228 Want -zassert-deflib for ld 16393230 ld.so.1 should check default paths for DT_DEPAUDIT 16403260 linker is insufficiently careful with strtok 16413261 linker should ignore unknown hardware capabilities 16423265 link-editor builds bogus .eh_frame_hdr on ia32 16433453 GNU comdat redirection does exactly the wrong thing 16443439 discarded sections shouldn't end up on output lists 16453436 relocatable objects also need sloppy relocation 16463451 archive libraries with no symbols shouldn't require a string table 16473616 SHF_GROUP sections should not be discarded via other COMDAT mechanisms 16483709 need sloppy relocation for GNU .debug_macro 16493722 link-editor is over restrictive of R_AMD64_32 addends 16503926 multiple extern map file definitions corrupt symbol table entry 16513999 libld extended section handling is broken 16524003 dldump() can't deal with extended sections 16534227 ld --library-path is translated to -l-path, not -L 16544270 ld(1) argument error reporting is still pretty bad 16554383 libelf can't write extended sections when ELF_F_LAYOUT 16564959 completely discarded merged string sections will corrupt output objects 16574996 rtld _init race leads to incorrect symbol values 16585688 ELF tools need to be more careful with dwarf data 16596098 ld(1) should not require symbols which identify group sections be global 16606252 ld should merge function/data-sections in the same manner as GNU ld 16617323 ld(1) -zignore can erroneously discard init and fini arrays as unreferenced 16627594 ld -zaslr should accept Solaris-compatible values 16638616 ld has trouble parsing -z options specified with -Wl 166410267 ld and GCC disagree about i386 local dynamic TLS 166510471 ld(1) amd64 LD->LE TLS transition causes memory corruption 166610346 ld(1) should not reduce symbol visibility of COMDAT symbols when 1667 producing relocatable objects 166810366 ld(1) should support GNU-style linker sets 166910581 ld(1) should know kernel modules are a thing 167011057 hidden undefined weak symbols should not leave relocations 167111067 debug statistics crash ld(1) when -z allextract 167213481 ld(1) should skip GCC local aliases when building symsort sections 167313684 ld aborts when input object has no file name 167413487 want mapfile-based assertions about symbol properties 167513487 want mapfile-based assertions about symbol properties (fix SPARC) 167614090 ld(1) could use a normal allocator 167714090 backout: turns over big rocks, discovers big bugs 167814152 ld(1) should be more careful about empty alists 167914127 ld(1) can double free when cleaning up 168014155 ld(1) string table merging could be much faster 168114157 ld(1) string table merging should follow gABI more closely 168214207 want updated ELF relocation definitions from the psABI 168314209 partial support for new relaxable relocations 168414250 ld should resolve discarded COMDAT symbols against their mates 168514283 ldd should not complain about non-executable shared objects 168614308 discard SHF_EXCLUDE sections when linking kernel modules 168714319 ld shouldn't warn about SHF_EXCLUDE unknown sections 168814401 elfdump should understand LLVM section types 16894795 /usr/bin/ld manpage and help should indicate '-soname' not '--soname' 169014090 ld(1) could use a normal allocator 1691