readme_revision
1 #!/usr/bin/perl -w
2 #
3 # Copyright 2008 Sun Microsystems, Inc. All rights reserved.
4 # Use is subject to license terms.
5 #
6 # CDDL HEADER START
7 #
8 # The contents of this file are subject to the terms of the
9 # Common Development and Distribution License (the "License").
10 # You may not use this file except in compliance with the License.
11 #
12 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
13 # or http://www.opensolaris.org/os/licensing.
14 # See the License for the specific language governing permissions
15 # and limitations under the License.
16 #
17 # When distributing Covered Code, include this CDDL HEADER in each
18 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
19 # If applicable, add the following below this CDDL HEADER, with the
20 # fields enclosed by brackets "[]" replaced with your own identifying
21 # information: Portions Copyright [yyyy] [name of copyright owner]
22 #
23 # CDDL HEADER END
24 #
25 #pragma ident "%Z%%M% %I% %E% SMI"
26
27
28 #
29 # Generate a revision number for the sgs linker components, based
30 # on usr/src/cmd/sgs/packages/common/SUNWonld-README.
31 #
32 # usage: readme_revision [-d] [readme-file]
33 #
34 # This revision number used to be the SCCS revision id for that file,
35 # in the form 1.xxx (where xxx was the revision). There were two benefits:
36 #
37 # (1) You could examine the sccs revision log to determine the CR
38 # of the putback that created the revision.
39 # (2) The revisions were monotonically increasing.
40 #
41 # In order to remove the hard wired dependence on sccs, this script generates
42 # a replacement revision number, by returning the string '1.xxx', where
43 # xxx is an integer giving the number of unique CR lines found in the file.
44 # This means that the revision goes up by one for each CR we fix, which
45 # makes intutive sense, and is similar to the way the SCCS revision worked.
46 #
47 # If this is a debug/development build (-d option), then we include
48 # additional information at the end of the revision:
49 #
50 # - Workspace name
51 # - user
52 # - CR # of last item in the readme file
53 # - date,
54 #
55 # This extra information is useful when we need to identify SUNWonld
56 # linker packages in the field, and provides the information previously
57 # supplied by (1) above.
58 #
59
60 use vars qw($script $usage $readme $cnt);
61 use vars qw($debug $last_cr $wsname $date);
62
63 # Use the basename of the name we're invoked under as the script name
64 @_ = split /\//, $0;
65 $script = $_[$#_];
66 $usage = "usage: $script [-d] [readme-file]\n";
67
68 $debug = 0;
69 # Process the options
70 while ((scalar(@ARGV) > 0) && ($_ = $ARGV[0],/^-/)) {
71 ARG: {
72 if (/^-d$/) {
73 $debug = 1;
74 last ARG;
75 }
76
77
78 # If it gets here, the option is unknown.
79 die $usage;
80 }
81 shift;
82 }
83
84 # Plain argument
85 $cnt = scalar @ARGV;
86 {
87 if ($cnt == 0) {
88 $readme = 'SUNWonld-README';
89 next;
90 }
91
92 if ($cnt == 1) {
93 $readme = $ARGV[0];
94 next;
95 }
96
97 die $usage;
98 }
99
100
101 open(FILE, $readme) || die "$script: Unable to open $readme\n";
102
103 # At the date this script was put into service, the SCCS revision
104 # of SUNWonld-README was 1.627, and SUNWonld-README had 588 unique
105 # CRs. Revisions are supposed to always increase monotonically, so
106 # we add 1000 to the number of unique CRs.
107 #
108 # This means that any linker with a version <1000 was built using
109 # the SCCS revision, and any linker with version >=1000 was built
110 # with this script.
111 $cnt = 1000;
112
113 while ($_ = <FILE>) {
114 chomp $_;
115
116 # If the line starts with a number, it is taken as a CR.
117 if ($_ =~ /^(\d+)\s/) {
118 $cnt++;
119 $last_cr = $1;
120 }
121 }
122 close FILE;
123
124 # If this is a standard build, the revision # is all we want
125 if ($debug == 0) {
126 print "1.$cnt\n";
127 exit 0;
128 }
129
130 # For debug mode, add diagnostic data
131 #
132 ($wsname = $ENV{'CODEMGR_WS'}) ne '' || ($wsname = 'unknown');
133 @wsname = split /\//, $wsname;
134 $wsname = $wsname[$#wsname];
135
136 $date = `date +%m/%d/%y`;
137
138 print "1.$cnt:$wsname-$ENV{USER}-$last_cr-$date\n";
139
140 exit 0;
141 SUNWonld-README
1 #
2 # Copyright 2009 Sun Microsystems, Inc. All rights reserved.
3 # Use is subject to license terms.
4 #
5 # CDDL HEADER START
6 #
7 # The contents of this file are subject to the terms of the
8 # Common Development and Distribution License (the "License").
9 # You may not use this file except in compliance with the License.
10 #
11 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
12 # or http://www.opensolaris.org/os/licensing.
13 # See the License for the specific language governing permissions
14 # and limitations under the License.
15 #
16 # When distributing Covered Code, include this CDDL HEADER in each
17 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
18 # If applicable, add the following below this CDDL HEADER, with the
19 # fields enclosed by brackets "[]" replaced with your own identifying
20 # information: Portions Copyright [yyyy] [name of copyright owner]
21 #
22 # CDDL HEADER END
23 #
24 # Note: The contents of this file are used to determine the versioning
25 # information for the SGS toolset. The number of CRs listed in
26 # this file must grow monotonically, or the SGS version will
27 # move backwards, causing a great deal of confusion. As such,
28 # CRs must never be removed from this file. See
29 # libconv/common/bld_vernote.ksh, and bug#4519569 for more
30 # details on SGS versioning.
31 #
32 --------------------------------------------------------------------------------
33 SUNWonld - link-editors development package.
34 --------------------------------------------------------------------------------
35
36 The SUNWonld package is an internal development package containing the
37 link-editors and some related tools. All components live in the OSNET
38 source base, but not all components are delivered as part of the normal
39 OSNET consolidation. The intent of this package is to provide access
40 to new features/bugfixes before they become generally available.
41
42 General link-editor information can be found:
43
44 http://linkers.central/
45 http://linkers.sfbay/ (also known as linkers.eng)
46
47 Comments and Questions:
48
49 Contact Rod Evans, Ali Bahrami, and/or Seizo Sakurai.
50
51 Warnings:
52
53 The postremove script for this package employs /usr/sbin/static/mv,
54 and thus, besides the common core dependencies, this package also
55 has a dependency on the SUNWsutl package.
56
57 Patches:
58
59 If the patch has been made official, you'll find it in:
60
61 http://sunsolve.Ebay.Sun.COM/cgi/show.pl?target=patches/os-patches
62
63 If it hasn't been released, the patch will be in:
64
65 /net/sunsoftpatch/patches/temporary
66
67 Note, any patches logged here refer to the temporary ("T") name, as we
68 never know when they're made official, and although we try to keep all
69 patch information up-to-date the real status of any patch can be
70 determined from:
71
72 http://sunsoftpatch.eng
73
74 If it has been obsoleted, the patch will be in:
75
76 /net/on${RELEASE}-patch/on${RELEASE}/patches/${MACH}/obsolete
77
78
79 History:
80
81 Note, starting after Solaris 10, letter codes in parenthesis may
82 be found following the bug synopsis. Their meanings are as follows:
83
84 (D) A documentation change accompanies the implementation change.
85 (P) A packaging change accompanies the implementation change.
86
87 In all cases, see the implementation bug report for details.
88
89 The following bug fixes exist in the OSNET consolidation workspace
90 from which this package is created:
91
92 ---------
93 Solaris 8
94 ---------
95 Bugid Risk Synopsis
96 ================================================================================
97 4225937 i386 linker emits sparc specific warning messages
98 4215164 shf_order flag handling broken by fix for 4194028.
99 4215587 using ld and the -r option on solaris 7 with compiler option -xarch=v9
100 causes link errors.
101 4234657 103627-08 breaks purify 4.2 (plt padding should not be enabled for
102 32-bit)
103 4235241 dbx no longer gets dlclose notification.
104 --------------------------------------------------------------------------------
105 All the above changes are incorporated in the following patches:
106 Solaris/SunOS 5.7_sparc patch 106950-05 (never released)
107 Solaris/SunOS 5.7_x86 patch 106951-05 (never released)
108 Solaris/SunOS 5.6_sparc patch 107733-02 (never released)
109 Solaris/SunOS 5.6_x86 patch 107734-02
110 --------------------------------------------------------------------------------
111 4248290 inetd dumps core upon bootup - failure in dlclose() logic.
112 4238071 dlopen() leaks while descriptors under low memory conditions
113 --------------------------------------------------------------------------------
114 All the above changes are incorporated in the following patches:
115 Solaris/SunOS 5.7_sparc patch 106950-06
116 Solaris/SunOS 5.7_x86 patch 106951-06
117 Solaris/SunOS 5.6_sparc patch 107733-03 (never released)
118 Solaris/SunOS 5.6_x86 patch 107734-03
119 --------------------------------------------------------------------------------
120 4267980 INITFIRST flag of the shard object could be ignored.
121 --------------------------------------------------------------------------------
122 All the above changes plus:
123 4238973 fix for 4121152 affects linking of Ada objects
124 4158744 patch 103627-02 causes core when RPATH has blank entry and
125 dlopen/dlclose is used
126 are incorporated in the following patches:
127 Solaris/SunOS 5.5.1_sparc patch 103627-12 (never released)
128 Solaris/SunOS 5.5.1_x86 patch 103628-11
129 --------------------------------------------------------------------------------
130 4256518 miscalculated calloc() during dlclose/tsorting can result in segv
131 4254171 DT_SPARC_REGISTER has invalid value associated with it.
132 --------------------------------------------------------------------------------
133 All the above changes are incorporated in the following patches:
134 Solaris/SunOS 5.7_sparc patch 106950-07
135 Solaris/SunOS 5.7_x86 patch 106951-07
136 Solaris/SunOS 5.6_sparc patch 107733-04 (never released)
137 Solaris/SunOS 5.6_x86 patch 107734-04
138 --------------------------------------------------------------------------------
139 4293159 ld needs to combine sections with and without SHF_ORDERED flag(comdat)
140 4292238 linking a library which has a static char ptr invokes mprotect() call
141 --------------------------------------------------------------------------------
142 All the above changes except for:
143 4256518 miscalculated calloc() during dlclose/tsorting can result in segv
144 4254171 DT_SPARC_REGISTER has invalid value associated with it.
145 plus:
146 4238973 fix for 4121152 affects linking of Ada objects
147 4158744 patch 103627-02 causes core when RPATH has blank entry and
148 dlopen/dlclose is used
149 are incorporated in the following patches:
150 Solaris/SunOS 5.5.1_sparc patch 103627-13
151 Solaris/SunOS 5.5.1_x86 patch 103628-12
152 --------------------------------------------------------------------------------
153 All the above changes are incorporated in the following patches:
154 Solaris/SunOS 5.7_sparc patch 106950-08
155 Solaris/SunOS 5.7_x86 patch 106951-08
156 Solaris/SunOS 5.6_sparc patch 107733-05
157 Solaris/SunOS 5.6_x86 patch 107734-05
158 --------------------------------------------------------------------------------
159 4295613 COMMON symbol resolution can be incorrect
160 --------------------------------------------------------------------------------
161 All the above changes plus:
162 4238973 fix for 4121152 affects linking of Ada objects
163 4158744 patch 103627-02 causes core when RPATH has blank entry and
164 dlopen/dlclose is used
165 are incorporated in the following patches:
166 Solaris/SunOS 5.5.1_sparc patch 103627-14
167 Solaris/SunOS 5.5.1_x86 patch 103628-13
168 --------------------------------------------------------------------------------
169 All the above changes plus:
170 4351197 nfs performance problem by 103627-13
171 are incorporated in the following patches:
172 Solaris/SunOS 5.5.1_sparc patch 103627-15
173 Solaris/SunOS 5.5.1_x86 patch 103628-14
174 --------------------------------------------------------------------------------
175 All the above changes are incorporated in the following patches:
176 Solaris/SunOS 5.7_sparc patch 106950-09
177 Solaris/SunOS 5.7_x86 patch 106951-09
178 Solaris/SunOS 5.6_sparc patch 107733-06
179 Solaris/SunOS 5.6_x86 patch 107734-06
180 --------------------------------------------------------------------------------
181 4158971 increase the default segment alignment for i386 to 64k
182 4064994 Add an $ISALIST token to those understood by the dynamic linker
183 xxxxxxx ia64 common code putback
184 4239308 LD_DEBUG busted for sparc machines
185 4239008 Support MAP_ANON
186 4238494 link-auditing extensions required
187 4232239 R_SPARC_LOX10 truncates field
188 4231722 R_SPARC_UA* relocations are busted
189 4235514 R_SPARC_OLO10 relocation fails
190 4244025 sgsmsg update
191 4239281 need to support SECREL relocations for ia64
192 4253751 ia64 linker must support PT_IA_64_UNWIND tables
193 4259254 dlmopen mistakenly closes fd 0 (stdin) under certain error conditions
194 4260872 libelf hangs when libthread present
195 4224569 linker core dumping when profiling specified
196 4270937 need mechanism to suppress ld.so.1's use of a default search path.
197 1050476 ld.so to permit configuration of search path
198 4273654 filtee processing using $ISALIST could be optimized
199 4271860 get MERCED cruft out of elf.h
200 4248991 Dynamic loader (via PLT) corrupts register G4
201 4275754 cannot mmap file: Resource temporarily unavailable
202 4277689 The linker can not handle relocation against MOVE tabl
203 4270766 atexit processing required on dlclose().
204 4279229 Add a "release" token to those understood by the dynamic linker
205 4215433 ld can bus error when insufficient disc space exists for output file
206 4285571 Pssst, want some free disk space? ld's miscalculating.
207 4286236 ar gives confusing "bad format" error with a null .stab section
208 4286838 ld.so.1 can't handle a no-bits segment
209 4287364 ld.so.1 runtime configuration cleanup
210 4289573 disable linking of ia64 binaries for Solaris8
211 4293966 crle(1)'s default directories should be supplied
212 --------------------------------------------------------------------------------
213
214 ------------------------------------
215 Solaris 8 600 (1st Q-update - s28u1)
216 ------------------------------------
217 Bugid Risk Synopsis
218 ================================================================================
219 4309212 dlsym can't find symbol
220 4311226 rejection of preloading in secure apps is inconsistent
221 4312449 dlclose: invalid deletion of dependency can occur using RTLD_GLOBAL
222 --------------------------------------------------------------------------------
223 All the above changes are incorporated in the following patches:
224 Solaris/SunOS 5.8_sparc patch 109147-01
225 Solaris/SunOS 5.8_x86 patch 109148-01
226 Solaris/SunOS 5.7_sparc patch 106950-10
227 Solaris/SunOS 5.7_x86 patch 106951-10
228 Solaris/SunOS 5.6_sparc patch 107733-07
229 Solaris/SunOS 5.6_x86 patch 107734-07
230 --------------------------------------------------------------------------------
231
232 ------------------------------------
233 Solaris 8 900 (2nd Q-update - s28u2)
234 ------------------------------------
235 Bugid Risk Synopsis
236 ================================================================================
237 4324775 non-PIC code & -zcombreloc don't mix very well...
238 4327653 run-time linker should preload tables it will process (madvise)
239 4324324 shared object code can be referenced before .init has fired
240 4321634 .init firing of multiple INITFIRST objects can fail
241 --------------------------------------------------------------------------------
242 All the above changes are incorporated in the following patches:
243 Solaris/SunOS 5.8_sparc patch 109147-03
244 Solaris/SunOS 5.8_x86 patch 109148-03
245 Solaris/SunOS 5.7_sparc patch 106950-11
246 Solaris/SunOS 5.7_x86 patch 106951-11
247 Solaris/SunOS 5.6_sparc patch 107733-08
248 Solaris/SunOS 5.6_x86 patch 107734-08
249 --------------------------------------------------------------------------------
250 4338812 crle(1) omits entries in the directory cache
251 4341496 RFE: provide a static version of /usr/bin/crle
252 4340878 rtld should treat $ORIGIN like LD_LIBRARY_PATH in security issues
253 --------------------------------------------------------------------------------
254 All the above changes are incorporated in the following patches:
255 Solaris/SunOS 5.8_sparc patch 109147-04
256 Solaris/SunOS 5.8_x86 patch 109148-04
257 Solaris/SunOS 5.7_sparc patch 106950-12
258 Solaris/SunOS 5.7_x86 patch 106951-12
259 --------------------------------------------------------------------------------
260 4349563 auxiliary filter error handling regression introduced in 4165487
261 4355795 ldd -r now gives "displacement relocated" warnings
262 --------------------------------------------------------------------------------
263 All the above changes are incorporated in the following patches:
264 Solaris/SunOS 5.7_sparc patch 106950-13
265 Solaris/SunOS 5.7_x86 patch 106951-13
266 Solaris/SunOS 5.6_sparc patch 107733-09
267 Solaris/SunOS 5.6_x86 patch 107734-09
268 --------------------------------------------------------------------------------
269 4210412 versioning a static executable causes ld to core dump
270 4219652 Linker gives misleading error about not finding main (xarch=v9)
271 4103449 ld command needs a command line flag to force 64-bits
272 4187211 problem with RDISP32 linking in copy-relocated objects
273 4287274 dladdr, dlinfo do not provide the full path name of a shared object
274 4297563 dlclose still does not remove all objects.
275 4250694 rtld_db needs a new auxvec entry
276 4235315 new features for rtld_db (DT_CHECKSUM, dynamic linked .o files
277 4303609 64bit libelf.so.1 does not properly implement elf_hash()
278 4310901 su.static fails when OSNet build with lazy-loading
279 4310324 elf_errno() causes Bus Error(coredump) in 64-bit multithreaded programs
280 4306415 ld core dump
281 4316531 BCP: possible failure with dlclose/_preexec_exit_handlers
282 4313765 LD_BREADTH should be shot
283 4318162 crle uses automatic strings in putenv.
284 4255943 Description of -t option incomplete.
285 4322528 sgs message test infrastucture needs improvement
286 4239213 Want an API to obtain linker's search path
287 4324134 use of extern mapfile directives can contribute unused symbols
288 4322581 ELF data structures could be layed out more efficiently...
289 4040628 Unnecessary section header symbols should be removed from .dynsym
290 4300018 rtld: bindlock should be freed before calling call_fini()
291 4336102 dlclose with non-deletable objects can mishandle dependencies
292 4329785 mixing of SHT_SUNW_COMDAT & SHF_ORDERED causes ld to seg fault
293 4334617 COPY relocations should be produces for references to .bss symbols
294 4248250 relcoation of local ABS symbols incorrect
295 4335801 For complimentary alignments eliminate ld: warning: symbol `ll'
296 has differing a
297 4336980 ld.so.1 relative path processing revisited
298 4243097 dlerror(3DL) is not affected by setlocale(3C).
299 4344528 dump should remove -D and -l usage message
300 xxxxxxx enable LD_ALTEXEC to access alternate link-editor
301 --------------------------------------------------------------------------------
302 All the above changes are incorporated in the following patches:
303 Solaris/SunOS 5.8_sparc patch 109147-06
304 Solaris/SunOS 5.8_x86 patch 109148-06
305 --------------------------------------------------------------------------------
306
307 ------------------------------------
308 Solaris 8 101 (3rd Q-update - s28u3)
309 ------------------------------------
310 Bugid Risk Synopsis
311 ================================================================================
312 4346144 link-auditing: plt_tracing fails if LA_SYMB_NOPLTENTER given after
313 being bound
314 4346001 The ld should support mapfile syntax to generate PT_SUNWSTACK segment
315 4349137 rtld_db: A third fallback method for locating the linkmap
316 4343417 dladdr interface information inadequate
317 4343801 RFE: crle(1): provide option for updating configuration files
318 4346615 ld.so.1 attempting to open a directory gives: No such device
319 4352233 crle should not honor umask
320 4352330 LD_PRELOAD cannot use absolute path for privileged program
321 4357805 RFE: man page for ld(1) does not document all -z or -B options in
322 Solaris 8 9/00
323 4358751 ld.so.1: LD_XXX environ variables and LD_FLAGS should be synchronized.
324 4358862 link editors should reference "64" symlinks instead of sparcv9 (ia64).
325 4356879 PLTs could use faster code sequences in some cases
326 4367118 new fast baplt's fail when traversed twice in threaded application
327 4366905 Need a way to determine path to a shared library
328 4351197 nfs performance problem by 103627-13
329 4367405 LD_LIBRARY_PATH_64 not being used
330 4354500 SHF_ORDERED ordered scections does not properly sort sections
331 4369068 ld(1)'s weak symbol processing is inefficient (slow and doesn't scale).
332 --------------------------------------------------------------------------------
333 All the above changes are incorporated in the following patches:
334 Solaris/SunOS 5.8_sparc patch 109147-07
335 Solaris/SunOS 5.8_x86 patch 109148-07
336 Solaris/SunOS 5.7_sparc patch 106950-14
337 Solaris/SunOS 5.7_x86 patch 106951-14
338 --------------------------------------------------------------------------------
339
340 ------------------------------------
341 Solaris 8 701 (5th Q-update - s28u5)
342 ------------------------------------
343 Bugid Risk Synopsis
344 ================================================================================
345 4368846 ld(1) fails to version some interfaces given in a mapfile
346 4077245 dump core dump on null pointer.
347 4372554 elfdump should demangle symbols (like nm, dump)
348 4371114 dlclose may unmap a promiscuous object while it's still in use.
349 4204447 elfdump should understand SHN_AFTER/SHN_BEGIN macro
350 4377941 initialization of interposers may not occur
351 4381116 ldd/ld.so.1 could aid in detecting unused dependencies
352 4381783 dlopen/dlclose of a libCrun+libthread can dump core
353 4385402 linker & run-time linker must support gABI ELF updates
354 4394698 ld.so.1 does not process DF_SYMBOLIC - not gABI conforming
355 4394212 the link editor quietly ignores missing support libraries
356 4390308 ld.so.1 should provide more flexibility LD_PRELOAD'ing 32-bit/64-bit
357 objects
358 4401232 crle(1) could provide better flexibility for alternatives
359 4401815 fix misc nits in debugging output...
360 4402861 cleanup /usr/demo/link_audit & /usr/tmp/librtld_db demo source code...
361 4393044 elfdump should allow raw dumping of sections
362 4413168 SHF_ORDERED bit causes linker to generate a separate section
363 --------------------------------------------------------------------------------
364 All the above changes are incorporated in the following patches:
365 Solaris/SunOS 5.8_sparc patch 109147-08
366 Solaris/SunOS 5.8_x86 patch 109148-08
367 --------------------------------------------------------------------------------
368 4452202 Typos in <sys/link.h>
369 4452220 dump doesn't support RUNPATH
370 --------------------------------------------------------------------------------
371 All the above changes are incorporated in the following patches:
372 Solaris/SunOS 5.8_sparc patch 109147-09
373 Solaris/SunOS 5.8_x86 patch 109148-09
374 --------------------------------------------------------------------------------
375
376 -------------------------------------
377 Solaris 8 1001 (6th Q-update - s28u6)
378 -------------------------------------
379 Bugid Risk Synopsis
380 ================================================================================
381 4421842 fixups in SHT_GROUP processing required...
382 4450433 problem with liblddbg output on -Dsection,detail when
383 processing SHF_LINK_ORDER
384 --------------------------------------------------------------------------------
385 All the above changes are incorporated in the following patches:
386 Solaris/SunOS 5.8_sparc patch 109147-10
387 Solaris/SunOS 5.8_x86 patch 109148-10
388 Solaris/SunOS 5.7_sparc patch 106950-15
389 Solaris/SunOS 5.7_x86 patch 106951-15
390 --------------------------------------------------------------------------------
391 4463473 pldd showing wrong output
392 --------------------------------------------------------------------------------
393 All the above changes are incorporated in the following patches:
394 Solaris/SunOS 5.8_sparc patch 109147-11
395 Solaris/SunOS 5.8_x86 patch 109148-11
396 --------------------------------------------------------------------------------
397
398 ------------------------------------
399 Solaris 8 202 (7th Q-update - s28u7)
400 ------------------------------------
401 Bugid Risk Synopsis
402 ================================================================================
403 4488954 ld.so.1 reuses same buffer to send ummapping range to
404 _preexec_exit_handlers()
405 --------------------------------------------------------------------------------
406 All the above changes are incorporated in the following patches:
407 Solaris/SunOS 5.8_sparc patch 109147-12
408 Solaris/SunOS 5.8_x86 patch 109148-12
409 --------------------------------------------------------------------------------
410
411 ---------
412 Solaris 9
413 ---------
414 Bugid Risk Synopsis
415 ================================================================================
416 4505289 incorrect handling of _START_ and _END_
417 4506164 mcs does not recognize #linkbefore or #linkafter qualifiers
418 4447560 strip is creating unexecutable files...
419 4513842 library names not in ld.so string pool cause corefile bugs
420 --------------------------------------------------------------------------------
421 All the above changes are incorporated in the following patches:
422 Solaris/SunOS 5.8_sparc patch 109147-13
423 Solaris/SunOS 5.8_x86 patch 109148-13
424 Solaris/SunOS 5.7_sparc patch 106950-16
425 Solaris/SunOS 5.7_x86 patch 106951-16
426 --------------------------------------------------------------------------------
427 4291384 ld -M with a mapfile does not properly align Fortran REAL*8 data
428 4413322 SunOS 5.9 librtld_db doesn't show dlopened ".o" files anymore?
429 4429371 librtld_db busted on ia32 with SC6.x compilers...
430 4418274 elfdump dumps core on invalid input
431 4432224 libelf xlate routines are out of date
432 4433643 Memory leak using dlopen()/dlclose() in Solaris 8
433 4446564 ldd/lddstub - core dump conditions
434 4446115 translating SUNW_move sections is broken
435 4450225 The rdb command can fall into an infinite loop
436 4448531 Linker Causes Segmentation Fault
437 4453241 Regression in 4291384 can result in empty symbol table.
438 4453398 invalid runpath token can cause ld to spin.
439 4460230 ld (for OS 5.8 and 5.9) loses error message
440 4462245 ld.so.1 core dumps when executed directly...
441 4455802 need more flexibility in establishing a support library for ld
442 4467068 dyn_plt_entsize not properly initialized in ld.so.1
443 4468779 elf_plt_trace_write() broken on i386 (link-auditing)
444 4465871 -zld32 and -zld64 does not work the way it should
445 4461890 bad shared object created with -zredlocsym
446 4469400 ld.so.1: is_so_loaded isn't as efficient as we thought...
447 4469566 lazy loading fallback can reference un-relocated objects
448 4470493 libelf incorectly translates NOTE sections accross architectures...
449 4469684 rtld leaks dl_handles and permits on dlopen/dlclose
450 4475174 ld.so.1 prematurly reports the failure to load a object...
451 4475514 ld.so.1 can core dump in memory allocation fails (no swap)
452 4481851 Setting ld.so.1 environment variables globally would be useful
453 4482035 setting LD_PROFILE & LD_AUDIT causes ping command to issue warnings
454 on 5.8
455 4377735 segment reservations cause sbrk() to fail
456 4491434 ld.so.1 can leak file-descriptors when loading same named objects
457 4289232 some of warning/error/debugging messages from libld.so can be revised
458 4462748 Linker Portion of TLS Support
459 4496718 run-time linkers mutex_locks not working with ld_libc interface
460 4497270 The -zredlocsym option should not eliminate partially initialized local
461 symbols
462 4496963 dumping an object with crle(1) that uses $ORIGIN can loose its
463 dependencies
464 4499413 Sun linker orders of magnitude slower than gnu linker
465 4461760 lazy loading libXm and libXt can fail.
466 4469031 The partial initialized (local) symbols for intel platform is not
467 working.
468 4492883 Add link-editor option to multi-pass archives to resolve unsatisfied
469 symbols
470 4503731 linker-related commands misspell "argument"
471 4503768 whocalls(1) should output messages to stderr, not stdout
472 4503748 whocalls(1) usage message and manpage could be improved
473 4503625 nm should be taught about TLS symbols - that they aren't allowed that is
474 4300120 segment address validation is too simplistic to handle segment
475 reservations
476 4404547 krtld/reloc.h could have better error message, has typos
477 4270931 R_SPARC_HIX22 relocation is not handled properly
478 4485320 ld needs to support more the 32768 PLTs
479 4516434 sotruss can not watch libc_psr.so.1
480 4213100 sotruss could use more flexible pattern matching
481 4503457 ld seg fault with comdat
482 4510264 sections with SHF_TLS can come in different orders...
483 4518079 link-editor support library unable to modify section header flags
484 4515913 ld.so.1 can incorrectly decrement external reference counts on dlclose()
485 4519569 ld -V does not return a interesting value...
486 4524512 ld.so.1 should allow alternate termination signals
487 4524767 elfdump dies on bogus sh_name fields...
488 4524735 ld getopt processing of '-' changed
489 4521931 subroutine in a shared object as LOCL instead of GLOB
490 --------------------------------------------------------------------------------
491 All the above changes are incorporated in the following patches:
492 Solaris/SunOS 5.8_sparc patch 109147-14
493 Solaris/SunOS 5.8_x86 patch 109148-14
494 Solaris/SunOS 5.7_sparc patch 106950-17
495 Solaris/SunOS 5.7_x86 patch 106951-17
496 --------------------------------------------------------------------------------
497 4532729 tentative definition of TLS variable causes linker to dump core
498 4526745 fixup ld error message about duplicate dependencies/needed names
499 4522999 Solaris linker one order of magnitude slower than GNU linker
500 4518966 dldump undoes existing relocations with no thought of alignment or size.
501 4587441 Certain libraries have race conditions when setting error codes
502 4523798 linker option to align bss to large pagesize alignments.
503 4524008 ld can improperly set st_size of symbols named "_init" or "_fini"
504 4619282 ld cannot link a program with the option -sb
505 4620846 Perl Configure probing broken by ld changes
506 4621122 multiple ld '-zinitarray=' on a commandline fails
507 --------------------------------------------------------------------------------
508 Solaris/SunOS 5.8_sparc patch 109147-15
509 Solaris/SunOS 5.8_x86 patch 109148-15
510 Solaris/SunOS 5.7_sparc patch 106950-18
511 Solaris/SunOS 5.7_x86 patch 106951-18
512 Solaris/SunOS 5.6_sparc patch 107733-10
513 Solaris/SunOS 5.6_x86 patch 107734-10
514 --------------------------------------------------------------------------------
515 All the above changes plus:
516 4616944 ar seg faults when order of object file is reversed.
517 are incorporated in the following patches:
518 Solaris/SunOS 5.8_sparc patch 109147-16
519 Solaris/SunOS 5.8_x86 patch 109148-16
520 --------------------------------------------------------------------------------
521 All the above changes plus:
522 4872634 Large LD_PRELOAD values can cause SEGV of process
523 are incorporated in the following patches:
524 Solaris/SunOS 5.6_sparc patch T107733-11
525 Solaris/SunOS 5.6_x86 patch T107734-11
526 --------------------------------------------------------------------------------
527
528 ------------------------------------
529 Solaris 9 1202 (2nd Q-update - s9u2)
530 ------------------------------------
531 Bugid Risk Synopsis
532 ================================================================================
533 4546416 add help messages to ld.so mdbmodule
534 4526752 we should build and ship ld.so's mdb module
535 4624658 update 386 TLS relocation values
536 4622472 LA_SYMB_DLSYM not set for la_symbind() invocations
537 4638070 ldd/ld.so.1 could aid in detecting unreferenced dependencies
538 PSARC/2002/096 Detecting unreferenced dependencies with ldd(1)
539 4633860 Optimization for unused static global variables
540 PSARC/2002/113 ld -zignore - section elimination
541 4642829 ld.so.1 mprotect()'s text segment for weak relocations (it shouldn't)
542 4621479 'make' in $SRC/cmd/sgs/tools tries to install things in the proto area
543 4529912 purge ia64 source from sgs
544 4651709 dlopen(RTLD_NOLOAD) can disable lazy loading
545 4655066 crle: -u with nonexistent config file doesn't work
546 4654406 string tables created by the link-editor could be smaller...
547 PSARC/2002/160 ld -znocompstrtab - disable string-table compression
548 4651493 RTLD_NOW can result in binding to an object prior to its init being run.
549 4662575 linker displacement relocation checking introduces significant
550 linker overhead
551 4533195 ld interposes on malloc()/free() preventing support library from freeing
552 memory
553 4630224 crle get's confused about memory layout of objects...
554 4664855 crle on application failed with ld.so.1 encountering mmap() returning
555 ENOMEM err
556 4669582 latest dynamic linker causes libthread _init to get skipped
557 4671493 ld.so.1 inconsistantly assigns PATHNAME() on primary objects
558 4668517 compile with map.bssalign doesn't copy _iob to bss
559 --------------------------------------------------------------------------------
560 All the above changes are incorporated in the following patches:
561 Solaris/SunOS 5.9_sparc patch T112963-01
562 Solaris/SunOS 5.8_sparc patch T109147-17
563 Solaris/SunOS 5.8_x86 patch T109148-17
564 --------------------------------------------------------------------------------
565 4701749 On Solaris 8 + 109147-16 ld crashes when building a dynamic library.
566 4707808 The ldd command is broken in the latest 2.8 linker patch.
567 --------------------------------------------------------------------------------
568 All the above changes are incorporated in the following patches:
569 Solaris/SunOS 5.9_sparc patch T112963-02
570 Solaris/SunOS 5.8_sparc patch T109147-18
571 Solaris/SunOS 5.8_x86 patch T109148-18
572 --------------------------------------------------------------------------------
573 4696204 enable extended section indexes in relocatable objects
574 PSARC/2001/332 ELF gABI updates - round II
575 PSARC/2002/369 libelf interfaces to support ELF Extended Sections
576 4706503 linkers need to cope with EF_SPARCV9_PSO/EF_SPARCV9_RMO
577 4716929 updating of local register symbols in dynamic symtab busted...
578 4710814 add "official" support for the "symbolic" keyword in linker map-file
579 PSARC/2002/439 linker mapfile visibility declarations
580 --------------------------------------------------------------------------------
581 All the above changes are incorporated in the following patches:
582 Solaris/SunOS 5.9_sparc patch T112963-03
583 Solaris/SunOS 5.8_sparc patch T109147-19
584 Solaris/SunOS 5.8_x86 patch T109148-19
585 Solaris/SunOS 5.7_sparc patch T106950-19
586 Solaris/SunOS 5.7_x86 patch T106951-19
587 --------------------------------------------------------------------------------
588
589 -----------------------------------
590 Solaris 9 403 (3nd Q-update - s9u3)
591 -----------------------------------
592 Bugid Risk Synopsis
593 ================================================================================
594 4731174 strip(1) does not fixup SHT_GROUP data
595 4733697 -zignore with gcc may exclude C++ exception sections
596 4733317 R_SPARC_*_HIX22 calculations are wrong with 32bit LD building
597 ELF64 binaries
598 4735165 fatal linker error when compiling C++ programs with -xlinkopt
599 4736951 The mcs broken when the target file is an archive file
600 --------------------------------------------------------------------------------
601 All the above changes are incorporated in the following patches:
602 Solaris/SunOS 5.8_sparc patch T109147-20
603 Solaris/SunOS 5.8_x86 patch T109148-20
604 Solaris/SunOS 5.7_sparc patch T106950-20
605 Solaris/SunOS 5.7_x86 patch T106951-20
606 --------------------------------------------------------------------------------
607 4739660 Threads deadlock in schedlock and dynamic linker lock.
608 4653148 ld.so.1/libc should unregister its dlclose() exit handler via a fini.
609 4743413 ld.so.1 doesn't terminate argv with NULL pointer when invoked directly
610 4746231 linker core-dumps when SECTION relocations are made against discarded
611 sections
612 4730433 ld.so.1 wastes time repeatedly opening dependencies
613 4744337 missing RD_CONSISTENT event with dlmopen(LD_ID_NEWLM, ...)
614 4670835 rd_load_objiter can ignore callback's return value
615 4745932 strip utility doesn't strip out Dwarf2 debug section
616 4754751 "strip" command doesn't remove comdat stab sections.
617 4755674 Patch 109147-18 results in coredump.
618 --------------------------------------------------------------------------------
619 All the above changes are incorporated in the following patches:
620 Solaris/SunOS 5.9_sparc patch T112963-04
621 Solaris/SunOS 5.7_sparc patch T106950-21
622 Solaris/SunOS 5.7_x86 patch T106951-21
623 --------------------------------------------------------------------------------
624 4772927 strip core dumps on an archive library
625 4774727 direct-bindings can fail against copy-reloc symbols
626 --------------------------------------------------------------------------------
627 All the above changes are incorporated in the following patches:
628 Solaris/SunOS 5.9_sparc patch T112963-05
629 Solaris/SunOS 5.9_x86 patch T113986-01
630 Solaris/SunOS 5.8_sparc patch T109147-21
631 Solaris/SunOS 5.8_x86 patch T109148-21
632 Solaris/SunOS 5.7_sparc patch T106950-22
633 Solaris/SunOS 5.7_x86 patch T106951-22
634 --------------------------------------------------------------------------------
635
636 -----------------------------------
637 Solaris 9 803 (4th Q-update - s9u4)
638 -----------------------------------
639 Bugid Risk Synopsis
640 ================================================================================
641 4730110 ld.so.1 list implementation could scale better
642 4728822 restrict the objects dlsym() searches.
643 PSARC/2002/478 New dlopen(3dl) flag - RTLD_FIRST
644 4714146 crle: 64-bit secure pathname is incorrect.
645 4504895 dlclose() does not remove all objects
646 4698800 Wrong comments in /usr/lib/ld/sparcv9/map.*
647 4745129 dldump is inconsistent with .dynamic processing errors.
648 4753066 LD_SIGNAL isn't very useful in a threaded environment
649 PSARC/2002/569 New dlinfo(3dl) flag - RTLD_DI_SIGNAL
650 4765536 crle: symbolic links can confuse alternative object configuration info
651 4766815 ld -r of object the TLS data fails
652 4770484 elfdump can not handle stripped archive file
653 4770494 The ld command gives improper error message handling broken archive
654 4775738 overwriting output relocation table when 'ld -zignore' is used
655 4778247 elfdump -e of core files fails
656 4779976 elfdump dies on bad relocation entries
657 4787579 invalid SHT_GROUP entries can cause linker to seg fault
658 4783869 dlclose: filter closure exhibits hang/failure - introduced with 4504895
659 4778418 ld.so.1: there be nits out there
660 4792461 Thread-Local Storage - x86 instruction sequence updates
661 PSARC/2002/746 Thread-Local Storage - x86 instruction sequence updates
662 4461340 sgs: ugly build output while suppressing ia64 (64-bit) build on Intel
663 4790194 dlopen(..., RTLD_GROUP) has an odd interaction with interposition
664 4804328 auditing of threaded applications results in deadlock
665 4806476 building relocatable objects with SHF_EXCLUDE loses relocation
666 information
667 --------------------------------------------------------------------------------
668 All the above changes are incorporated in the following patches:
669 Solaris/SunOS 5.9_sparc patch T112963-06
670 Solaris/SunOS 5.9_x86 patch T113986-02
671 Solaris/SunOS 5.8_sparc patch T109147-22
672 Solaris/SunOS 5.8_x86 patch T109148-22
673 --------------------------------------------------------------------------------
674 4731183 compiler creates .tlsbss section instead of .tbss as documented
675 4816378 TLS: a tls test case dumps core with C and C++ compilers
676 4817314 TLS_GD relocations against local symbols do not reference symbol...
677 4811951 non-default symbol visibility overriden by definition in shared object
678 4802194 relocation error of mozilla built by K2 compiler
679 4715815 ld should allow linking with no output file (or /dev/null)
680 4793721 Need a way to null all code in ISV objects enabling ld performance
681 tuning
682 --------------------------------------------------------------------------------
683 All the above changes plus:
684 4796237 RFE: link-editor became extremely slow with patch 109147-20 and
685 static libraries
686 are incorporated in the following patches:
687 Solaris/SunOS 5.9_sparc patch T112963-07
688 Solaris/SunOS 5.9_x86 patch T113986-03
689 Solaris/SunOS 5.8_sparc patch T109147-23
690 Solaris/SunOS 5.8_x86 patch T109148-23
691 --------------------------------------------------------------------------------
692
693 ------------------------------------
694 Solaris 9 1203 (5th Q-update - s9u5)
695 ------------------------------------
696 Bugid Risk Synopsis
697 ================================================================================
698 4830584 mmap for the padding region doesn't get freed after dlclose
699 4831650 ld.so.1 can walk off the end of it's call_init() array...
700 4831544 ldd using .so modules compiled with FD7 compiler caused a core dump
701 4834784 Accessing members in a TLS structure causes a core dump in Oracle
702 4824026 segv when -z combreloc is used with -xlinkopt
703 4825296 typo in elfdump
704 --------------------------------------------------------------------------------
705 All the above changes are incorporated in the following patches:
706 Solaris/SunOS 5.9_sparc patch T112963-08
707 Solaris/SunOS 5.9_x86 patch T113986-04
708 Solaris/SunOS 5.8_sparc patch T109147-24
709 Solaris/SunOS 5.8_x86 patch T109148-24
710 --------------------------------------------------------------------------------
711 4470917 Solaris Process Model Unification (link-editor components only)
712 PSARC/2002/117 Solaris Process Model Unification
713 4744411 Bloomberg wants a faster linker.
714 4811969 64-bit links can be much slower than 32-bit.
715 4825065 ld(1) should ignore consecutive empty sections.
716 4838226 unrelocated shared objects may be erroneously collected for init firing
717 4830889 TLS: testcase coredumps with -xarch=v9 and -g
718 4845764 filter removal can leave dangling filtee pointer
719 4811093 apptrace -F libc date core dumps
720 4826315 Link editors need to be pre- and post- Unified Process Model aware
721 4868300 interposing on direct bindings can fail
722 4872634 Large LD_PRELOAD values can cause SEGV of process
723 --------------------------------------------------------------------------------
724 All the above changes are incorporated in the following patches:
725 Solaris/SunOS 5.9_sparc patch T112963-09
726 Solaris/SunOS 5.9_x86 patch T113986-05
727 Solaris/SunOS 5.8_sparc patch T109147-25
728 Solaris/SunOS 5.8_x86 patch T109148-25
729 --------------------------------------------------------------------------------
730
731 ------------------------------------
732 Solaris 9 404 (6th Q-update - s9u6)
733 ------------------------------------
734 Bugid Risk Synopsis
735 ================================================================================
736 4870260 The elfdump command should produce more warning message on invalid move
737 entries.
738 4865418 empty PT_TLS program headers cause problems in TLS enabled applications
739 4825151 compiler core dumped with a -mt -xF=%all test
740 4845829 The runtime linker fails to dlopen() long path name.
741 4900684 shared libraries with more then 32768 plt's fail for sparc ELF64
742 4906062 Makefiles under usr/src/cmd/sgs needs to be updated
743 --------------------------------------------------------------------------------
744 All the above changes are incorporated in the following patches:
745 Solaris/SunOS 5.9_sparc patch T112963-10
746 Solaris/SunOS 5.9_x86 patch T113986-06
747 Solaris/SunOS 5.8_sparc patch T109147-26
748 Solaris/SunOS 5.8_x86 patch T109148-26
749 Solaris/SunOS 5.7_sparc patch T106950-24
750 Solaris/SunOS 5.7_x86 patch T106951-24
751 --------------------------------------------------------------------------------
752 4900320 rtld library mapping could be faster
753 4911775 implement GOTDATA proposal in ld
754 PSARC/2003/477 SPARC GOTDATA instruction sequences
755 4904565 Functionality to ignore relocations against external symbols
756 4764817 add section types SHT_DEBUG and SHT_DEBUGSTR
757 PSARC/2003/510 New ELF DEBUG and ANNOTATE sections
758 4850703 enable per-symbol direct bindings
759 4716275 Help required in the link analysis of runtime interfaces
760 PSARC/2003/519 Link-editors: Direct Binding Updates
761 4904573 elfdump may hang when processing archive files
762 4918310 direct binding from an executable can't be interposed on
763 4918938 ld.so.1 has become SPARC32PLUS - breaks 4.x binary compatibility
764 4911796 S1S8 C++: ld dump core when compiled and linked with xlinkopt=1.
765 4889914 ld crashes with SEGV using -M mapfile under certain conditions
766 4911936 exception are not catch from shared library with -zignore
767 --------------------------------------------------------------------------------
768 All the above changes are incorporated in the following patches:
769 Solaris/SunOS 5.9_sparc patch T112963-11
770 Solaris/SunOS 5.9_x86 patch T113986-07
771 Solaris/SunOS 5.8_sparc patch T109147-27
772 Solaris/SunOS 5.8_x86 patch T109148-27
773 Solaris/SunOS 5.7_sparc patch T106950-25
774 Solaris/SunOS 5.7_x86 patch T106951-25
775 --------------------------------------------------------------------------------
776 4946992 ld crashes due to huge number of sections (>65,000)
777 4951840 mcs -c goes into a loop on executable program
778 4939869 Need additional relocation types for abs34 code model
779 PSARC/2003/684 abs34 ELF relocations
780 --------------------------------------------------------------------------------
781 All the above changes are incorporated in the following patches:
782 Solaris/SunOS 5.9_sparc patch T112963-12
783 Solaris/SunOS 5.9_x86 patch T113986-08
784 Solaris/SunOS 5.8_sparc patch T109147-28
785 Solaris/SunOS 5.8_x86 patch T109148-28
786 --------------------------------------------------------------------------------
787
788 ------------------------------------
789 Solaris 9 904 (7th Q-update - s9u7)
790 ------------------------------------
791 Bugid Risk Synopsis
792 ================================================================================
793 4912214 Having multiple of libc.so.1 in a link map causes malloc() to fail
794 4526878 ld.so.1 should pass MAP_ALIGN flag to give kernel more flexibility
795 4930997 sgs bld_vernote.ksh script needs to be hardend...
796 4796286 ld.so.1: scenario for trouble?
797 4930985 clean up cruft under usr/src/cmd/sgs/tools
798 4933300 remove references to Ultra-1 in librtld_db demo
799 4936305 string table compression is much too slow...
800 4939626 SUNWonld internal package must be updated...
801 4939565 per-symbol filtering required
802 4948119 ld(1) -z loadfltr fails with per-symbol filtering
803 4948427 ld.so.1 gives fatal error when multiple RTLDINFO objects are loaded
804 4940894 ld core dumps using "-xldscope=symbolic
805 4955373 per-symbol filtering refinements
806 4878827 crle(1M) - display post-UPM search paths, and compensate for pre-UPM.
807 4955802 /usr/ccs/bin/ld dumps core in process_reld()
808 4964415 elfdump issues wrong relocation error message
809 4966465 LD_NOAUXFLTR fails when object is both a standard and auxiliary filter
810 4973865 the link-editor does not scale properly when linking objects with
811 lots of syms
812 4975598 SHT_SUNW_ANNOTATE section relocation not resolved
813 4974828 nss_files nss_compat r_mt tests randomly segfaulting
814 --------------------------------------------------------------------------------
815 All the above changes are incorporated in the following patches:
816 Solaris/SunOS 5.9_sparc patch T112963-13
817 Solaris/SunOS 5.9_x86 patch T113986-09
818 --------------------------------------------------------------------------------
819 4860508 link-editors should create/promote/verify hardware capabilities
820 5002160 crle: reservation for dumped objects gets confused by mmaped object
821 4967869 linking stripped library causes segv in linker
822 5006657 link-editor doesn't always handle nodirect binding syminfo information
823 4915901 no way to see ELF information
824 5021773 ld.so.1 has trouble with objects having more than 2 segments.
825 --------------------------------------------------------------------------------
826 All the above changes are incorporated in the following patches:
827 Solaris/SunOS 5.9_sparc patch T112963-14
828 Solaris/SunOS 5.9_x86 patch T113986-10
829 Solaris/SunOS 5.8_sparc patch T109147-29
830 Solaris/SunOS 5.8_x86 patch T109148-29
831 --------------------------------------------------------------------------------
832
833 ----------
834 Solaris 10
835 ----------
836 Bugid Risk Synopsis
837 ================================================================================
838 5044797 ld.so.1: secure directory testing is being skipped during filtee
839 processing
840 4963676 Remove remaining static libraries
841 5021541 unnecessary PT_SUNWBSS segment may be created
842 5031495 elfdump complains about bad symbol entries in core files
843 5012172 Need error when creating shared object with .o compiled
844 -xarch=v9 -xcode=abs44
845 4994738 rd_plt_resolution() resolves ebx-relative PLT entries incorrectly
846 5023493 ld -m output with patch 109147-25 missing .o information
847 --------------------------------------------------------------------------------
848 All the above changes are incorporated in the following patches:
849 Solaris/SunOS 5.9_sparc patch T112963-15
850 Solaris/SunOS 5.9_x86 patch T113986-11
851 Solaris/SunOS 5.8_sparc patch T109147-30
852 Solaris/SunOS 5.8_x86 patch T109148-30
853 --------------------------------------------------------------------------------
854 5071614 109147-29 & -30 break the build of on28-patch on Solaris 8 2/04
855 5029830 crle: provide for optional alternative dependencies.
856 5034652 ld.so.1 should save, and print, more error messages
857 5036561 ld.so.1 outputs non-fatal fatal message about auxiliary filter libraries
858 5042713 4866170 broke ld.so's ::setenv
859 5047082 ld can core dump on bad gcc objects
860 5047612 ld.so.1: secure pathname verification is flawed with filter use
861 5047235 elfdump can core dump printing PT_INTERP section
862 4798376 nits in demo code
863 5041446 gelf_update_*() functions inconsistently return NULL or 0
864 5032364 M_ID_TLSBSS and M_ID_UNKNOWN have the same value
865 4707030 Empty LD_PRELOAD_64 doesn't override LD_PRELOAD
866 4968618 symbolic linkage causes core dump
867 5062313 dladdr() can cause deadlock in MT apps.
868 5056867 $ISALIST/$HWCAP expansion should be more flexible.
869 4918303 0@0.so.1 should not use compiler-supplied crt*.o files
870 5058415 whocalls cannot take more than 10 arguments
871 5067518 The fix for 4918303 breaks the build if a new work space is used.
872 --------------------------------------------------------------------------------
873 All the above changes are incorporated in the following patches:
874 Solaris/SunOS 5.9_sparc patch T112963-16
875 Solaris/SunOS 5.9_x86 patch T113986-12
876 Solaris/SunOS 5.8_sparc patch T109147-31
877 Solaris/SunOS 5.8_x86 patch T109148-31
878 --------------------------------------------------------------------------------
879 5013759 *file* should report hardware/software capabilities (link-editor
880 components only)
881 5063580 libldstab: file /tmp/posto..: .stab[.index|.sbfocus] found with no
882 matching stri
883 5076838 elfdump(1) is built with a CTF section (the wrong one)
884 5080344 Hardware capabilities are not enforced for a.out
885 5079061 RTLD_DEFAULT can be expensive
886 5064973 allow normal relocs against TLS symbols for some sections
887 5085792 LD_XXXX_64 should override LD_XXXX
888 5096272 every executable or library has a .SUNW_dof section
889 5094135 Bloomberg wants a faster ldd.
890 5086352 libld.so.3 should be built with a .SUNW_ctf ELF section, ready for CR
891 5098205 elfdump gives wrong section name for the global offset table
892 5092414 Linker patch 109147-29 makes Broadvison One-To-One server v4.1
893 installation fail
894 5080256 dump(1) doesn't list ELF hardware capabilities
895 5097347 recursive read lock in gelf_getsym()
896 --------------------------------------------------------------------------------
897 All the above changes are incorporated in the following patches:
898 Solaris/SunOS 5.9_sparc patch T112963-17
899 Solaris/SunOS 5.9_x86 patch T113986-13
900 Solaris/SunOS 5.8_sparc patch T109147-32
901 Solaris/SunOS 5.8_x86 patch T109148-32
902 --------------------------------------------------------------------------------
903 5106206 ld.so.1 fail to run a Solaris9 program that has libc linked with
904 -z lazyload
905 5102601 ON should deliver a 64-bit operating system for Opteron systems
906 (link-editor components only)
907 6173852 enable link_auditing technology for amd64
908 6174599 linker does not create .eh_frame_hdr sections for eh_frame sections
909 with SHF_LINK_ORDER
910 6175609 amd64 run-time linker has a corrupted note section
911 6175843 amd64 rdb_demo files not installed
912 6182293 ld.so.1 can repeatedly relocate object .plts (RTLD_NOW).
913 6183645 ld core dumps when automounter fails
914 6178667 ldd list unexpected (file not found) in x86 environment.
915 6181928 Need new reloc types R_AMD64_GOTOFF64 and R_AMD64_GOTPC32
916 6182884 AMD64: ld coredumps when building a shared library
917 6173559 The ld may set incorrect value for sh_addralign under some conditions.
918 5105601 ld.so.1 gets a little too enthusiastic with interposition
919 6189384 ld.so.1 should accommodate a files dev/inode change (libc loopback mnt)
920 6177838 AMD64: linker cannot resolve PLT for 32-bit a.out(s) on amd64-S2 kernel
921 6190863 sparc disassembly code should be removed from rdb_demo
922 6191488 unwind eh_frame_hdr needs corrected encoding value
923 6192490 moe(1) returns /lib/libc.so.1 for optimal expansion of libc HWCAP
924 libraries
925 6192164 AMD64: introduce dlamd64getunwind interface
926 PSARC/2004/747 libc::dlamd64getunwind()
927 6195030 libdl has bad version name
928 6195521 64-bit moe(1) missed the train
929 6198358 AMD64: bad eh_frame_hdr data when C and C++ mixed in a.out
930 6204123 ld.so.1: symbol lookup fails even after lazy loading fallback
931 6207495 UNIX98/UNIX03 vsx namespace violation DYNL.hdr/misc/dlfcn/T.dlfcn
932 14 Failed
933 6217285 ctfmerge crashed during full onnv build
934 --------------------------------------------------------------------------------
935
936 -------------------------------------
937 Solaris 10 106 (1st Q-update - s10u1)
938 -------------------------------------
939 Bugid Risk Synopsis
940 ================================================================================
941 6209350 Do not include signature section from dynamic dependency library into
942 relocatable object
943 6212797 The binary compiled on SunOS4.x doesn't run on Solaris8 with Patch
944 109147-31
945 --------------------------------------------------------------------------------
946 All the above changes are incorporated in the following patches:
947 Solaris/SunOS 5.9_sparc patch T112963-18
948 Solaris/SunOS 5.9_x86 patch T113986-14
949 Solaris/SunOS 5.8_sparc patch T109147-33
950 Solaris/SunOS 5.8_x86 patch T109148-33
951 --------------------------------------------------------------------------------
952 6219538 112963-17: linker patch causes binary to dump core
953 --------------------------------------------------------------------------------
954 All the above changes are incorporated in the following patches:
955 Solaris/SunOS 5.10_sparc patch T117461-01
956 Solaris/SunOS 5.10_x86 patch T118345-01
957 Solaris/SunOS 5.9_sparc patch T112963-19
958 Solaris/SunOS 5.9_x86 patch T113986-15
959 Solaris/SunOS 5.8_sparc patch T109147-34
960 Solaris/SunOS 5.8_x86 patch T109148-34
961 --------------------------------------------------------------------------------
962 6257177 incremental builds of usr/src/cmd/sgs can fail...
963 6219651 AMD64: Linker does not issue error for out of range R_AMD64_PC32
964 --------------------------------------------------------------------------------
965 All the above changes are incorporated in the following patches:
966 Solaris/SunOS 5.10_sparc patch T117461-02
967 Solaris/SunOS 5.10_x86 patch T118345-02
968 Solaris/SunOS 5.9_sparc patch T112963-20
969 Solaris/SunOS 5.9_x86 patch T113986-16
970 Solaris/SunOS 5.8_sparc patch T109147-35
971 Solaris/SunOS 5.8_x86 patch T109148-35
972 NOTE: The fix for 6219651 is only applicable for 5.10_x86 platform.
973 --------------------------------------------------------------------------------
974 5080443 lazy loading failure doesn't clean up after itself (D)
975 6226206 ld.so.1 failure when processing single segment hwcap filtee
976 6228472 ld.so.1: link-map control list stacking can loose objects
977 6235000 random packages not getting installed in snv_09 and snv_10 -
978 rtld/common/malloc.c Assertion
979 6219317 Large page support is needed for mapping executables, libraries and
980 files (link-editor components only)
981 6244897 ld.so.1 can't run apps from commandline
982 6251798 moe(1) returns an internal assertion failure message in some
983 circumstances
984 6251722 ld fails silently with exit 1 status when -z ignore passed
985 6254364 ld won't build libgenunix.so with absolute relocations
986 6215444 ld.so.1 caches "not there" lazy libraries, foils svc.startd(1M)'s logic
987 6222525 dlsym(3C) trusts caller(), which may return wrong results with tail call
988 optimization
989 6241995 warnings in sgs should be fixed (link-editor components only)
990 6258834 direct binding availability should be verified at runtime
991 6260361 lari shouldn't count a.out non-zero undefined entries as interesting
992 6260780 ldd doesn't recognize LD_NOAUXFLTR
993 6266261 Add ld(1) -Bnodirect support (D)
994 6261990 invalid e_flags error could be a little more friendly
995 6261803 lari(1) should find more events uninteresting (D)
996 6267352 libld_malloc provides inadequate alignment
997 6268693 SHN_SUNW_IGNORE symbols should be allowed to be mulitiply defined
998 6262789 Infosys wants a faster linker
999 --------------------------------------------------------------------------------
1000 All the above changes are incorporated in the following patches:
1001 Solaris/SunOS 5.10_sparc patch T117461-03
1002 Solaris/SunOS 5.10_x86 patch T118345-03
1003 Solaris/SunOS 5.9_sparc patch T112963-21
1004 Solaris/SunOS 5.9_x86 patch T113986-17
1005 Solaris/SunOS 5.8_sparc patch T109147-36
1006 Solaris/SunOS 5.8_x86 patch T109148-36
1007 --------------------------------------------------------------------------------
1008 6283601 The usr/src/cmd/sgs/packages/common/copyright contains old information
1009 legally problematic
1010 6276905 dlinfo gives inconsistent results (relative vs absolute linkname) (D)
1011 PSARC/2005/357 dlinfo(3c) RTLD_DI_ARGSINFO
1012 6284941 excessive link times with many groups/sections
1013 6280467 dlclose() unmaps shared library before library's _fini() has finished
1014 6291547 ld.so mishandles LD_AUDIT causing security problems.
1015 --------------------------------------------------------------------------------
1016 All the above changes are incorporated in the following patches:
1017 Solaris/SunOS 5.10_sparc patch T117461-04
1018 Solaris/SunOS 5.10_x86 patch T118345-04
1019 Solaris/SunOS 5.9_sparc patch T112963-22
1020 Solaris/SunOS 5.9_x86 patch T113986-18
1021 Solaris/SunOS 5.8_sparc patch T109147-37
1022 Solaris/SunOS 5.8_x86 patch T109148-37
1023 --------------------------------------------------------------------------------
1024 6295971 UNIX98/UNIX03 *vsx* DYNL.hdr/misc/dlfcn/T.dlfcn 14 fails, auxv.h syntax
1025 error
1026 6299525 .init order failure when processing cycles
1027 6273855 gcc and sgs/crle don't get along
1028 6273864 gcc and sgs/libld don't get along
1029 6273875 gcc and sgs/rtld don't get along
1030 6272563 gcc and amd64/krtld/doreloc.c don't get along
1031 6290157 gcc and sgs/librtld_db/rdb_demo don't get along
1032 6301218 Matlab dumps core on startup when running on 112963-22 (D)
1033 --------------------------------------------------------------------------------
1034 All the above changes are incorporated in the following patches:
1035 Solaris/SunOS 5.10_sparc patch T117461-06
1036 Solaris/SunOS 5.10_x86 patch T118345-08
1037 Solaris/SunOS 5.9_sparc patch T112963-23
1038 Solaris/SunOS 5.9_x86 patch T113986-19
1039 Solaris/SunOS 5.8_sparc patch T109147-38
1040 Solaris/SunOS 5.8_x86 patch T109148-38
1041 --------------------------------------------------------------------------------
1042 6314115 Checkpoint refuses to start, crashes on start, after application of
1043 linker patch 112963-22
1044 --------------------------------------------------------------------------------
1045 All the above changes are incorporated in the following patches:
1046 Solaris/SunOS 5.9_sparc patch T112963-24
1047 Solaris/SunOS 5.9_x86 patch T113986-20
1048 Solaris/SunOS 5.8_sparc patch T109147-39
1049 Solaris/SunOS 5.8_x86 patch T109148-39
1050 --------------------------------------------------------------------------------
1051 6318306 a dlsym() from a filter should be redirected to an associated filtee
1052 6318401 mis-aligned TLS variable
1053 6324019 ld.so.1: malloc alignment is insufficient for new compilers
1054 6324589 psh coredumps on x86 machines on snv_23
1055 6236594 AMD64: Linker needs to handle the new .lbss section (D)
1056 PSARC 2005/514 AMD64 - large section support
1057 6314743 Linker: incorrect resolution for R_AMD64_GOTPC32
1058 6311865 Linker: x86 medium model; invalid ELF program header
1059 --------------------------------------------------------------------------------
1060 All the above changes are incorporated in the following patches:
1061 Solaris/SunOS 5.10_sparc patch T117461-07
1062 Solaris/SunOS 5.10_x86 patch T118345-12
1063 --------------------------------------------------------------------------------
1064 6309061 link_audit should use __asm__ with gcc
1065 6310736 gcc and sgs/libld don't get along on SPARC
1066 6329796 Memory leak with iconv_open/iconv_close with patch 109147-33
1067 6332983 s9 linker patches 112963-24/113986-20 causing cluster machines not
1068 to boot
1069 --------------------------------------------------------------------------------
1070 All the above changes are incorporated in the following patches:
1071 Solaris/SunOS 5.10_sparc patch T117461-08
1072 Solaris/SunOS 5.10_x86 patch T121208-02
1073 Solaris/SunOS 5.9_sparc patch T112963-25
1074 Solaris/SunOS 5.9_x86 patch T113986-21
1075 Solaris/SunOS 5.8_sparc patch T109147-40
1076 Solaris/SunOS 5.8_x86 patch T109148-40
1077 --------------------------------------------------------------------------------
1078 6445311 The sparc S8/S9/S10 linker patches which include the fix for the
1079 CR6222525 are hit by the CR6439613.
1080 --------------------------------------------------------------------------------
1081 All the above changes are incorporated in the following patches:
1082 Solaris/SunOS 5.9_sparc patch T112963-26
1083 Solaris/SunOS 5.8_sparc patch T109147-41
1084 --------------------------------------------------------------------------------
1085
1086 -------------------------------------
1087 Solaris 10 807 (4th Q-update - s10u4)
1088 -------------------------------------
1089 Bugid Risk Synopsis
1090 ================================================================================
1091 6487273 ld.so.1 may open arbitrary locale files when relative path is built
1092 from locale environment vars
1093 6487284 ld.so.1: buffer overflow in doprf() function
1094 --------------------------------------------------------------------------------
1095 All the above changes are incorporated in the following patches:
1096 Solaris/SunOS 5.10_sparc patch T124922-01
1097 Solaris/SunOS 5.10_x86 patch T124923-01
1098 Solaris/SunOS 5.9_sparc patch T112963-27
1099 Solaris/SunOS 5.9_x86 patch T113986-22
1100 Solaris/SunOS 5.8_sparc patch T109147-42
1101 Solaris/SunOS 5.8_x86 patch T109148-41
1102 --------------------------------------------------------------------------------
1103 6477132 ld.so.1: memory leak when running set*id application
1104 --------------------------------------------------------------------------------
1105 All the above changes are incorporated in the following patches:
1106 Solaris/SunOS 5.10_sparc patch T124922-02
1107 Solaris/SunOS 5.10_x86 patch T124923-02
1108 Solaris/SunOS 5.9_sparc patch T112963-30
1109 Solaris/SunOS 5.9_x86 patch T113986-24
1110 --------------------------------------------------------------------------------
1111 6340814 ld.so.1 core dump with HWCAP relocatable object + updated statistics
1112 6307274 crle bug with LD_LIBRARY_PATH
1113 6317969 elfheader limited to 65535 segments (link-editor components only)
1114 6350027 ld.so.1 aborts with assertion failed on amd64
1115 6362044 ld(1) inconsistencies with LD_DEBUG=-Dunused and -zignore
1116 6362047 ld.so.1 dumps core when combining HWCAP and LD_PROFILE
1117 6304206 runtime linker may respect LANG and LC_MESSAGE more than LC_ALL
1118 6363495 Catchup required with Intel relocations
1119 6326497 ld.so not properly processing LD_LIBRARY_PATH ending in :
1120 6307146 mcs dumps core when appending null string to comment section
1121 6371877 LD_PROFILE_64 with gprof does not produce correct results on amd64
1122 6372082 ld -r erroneously creates .got section on i386
1123 6201866 amd64: linker symbol elimination is broken
1124 6372620 printstack() segfaults when called from static function (D)
1125 6380470 32-bit ld(1) incorrectly builds 64-bit relocatable objects
1126 6391407 Insufficient alignment of 32-bit object in archive makes ld segfault
1127 (libelf component only) (D)
1128 6316708 LD_DEBUG should provide a means of identifying/isolating individual
1129 link-map lists (P)
1130 6280209 elfdump cores on memory model 0x3
1131 6197234 elfdump and dump don't handle 64-bit symbols correctly
1132 6398893 Extended section processing needs some work
1133 6397256 ldd dumps core in elf_fix_name
1134 6327926 ld does not set etext symbol correctly for AMD64 medium model (D)
1135 6390410 64-bit LD_PROFILE can fail: relocation error when binding profile plt
1136 6382945 AMD64-GCC: dbx: internal error: dwarf reference attribute out of bounds
1137 6262333 init section of .so dlopened from audit interface not being called
1138 6409613 elf_outsync() should fsync()
1139 6426048 C++ exceptions broken in Nevada for amd64
1140 6429418 ld.so.1: need work-around for Nvidia drivers use of static TLS
1141 6429504 crle(1) shows wrong defaults for non-existent 64-bit config file
1142 6431835 data corruption on x64 in 64-bit mode while LD_PROFILE is in effect
1143 6423051 static TLS support within the link-editors needs a major face lift (D)
1144 6388946 attempting to dlopen a .o file mislabeled as .so fails
1145 6446740 allow mapfile symbol definitions to create backing storage (D)
1146 4986360 linker crash on exec of .so (as opposed to a.out) -- error preferred
1147 instead
1148 6229145 ld: initarray/finiarray processing occurs after got size is determined
1149 6324924 the linker should warn if there's a .init section but not _init
1150 6424132 elfdump inserts extra whitespace in bitmap value display
1151 6449485 ld(1) creates misaligned TLS in binary compiled with -xpg
1152 6424550 Write to unallocated (wua) errors when libraries are built with
1153 -z lazyload
1154 6464235 executing the 64-bit ld(1) should be easy (D)
1155 6465623 need a way of building unix without an interpreter
1156 6467925 ld: section deletion (-z ignore) requires improvement
1157 6357230 specfiles should be nuked (link-editor components only)
1158 --------------------------------------------------------------------------------
1159 All the above changes are incorporated in the following patches:
1160 Solaris/SunOS 5.10_sparc patch T124922-03
1161 Solaris/SunOS 5.10_x86 patch T124923-03
1162
1163 These patches also include the framework changes for the following bug fixes.
1164 However, the associated feature has not been enabled in Solaris 10 or earlier
1165 releases:
1166
1167 6174390 crle configuration files are inconsistent across platforms (D, P)
1168 6432984 ld(1) output file removal - change default behavior (D)
1169 PSARC/2006/353 ld(1) output file removal - change default behavior
1170 --------------------------------------------------------------------------------
1171
1172 -------------------------------------
1173 Solaris 10 508 (5th Q-update - s10u5)
1174 -------------------------------------
1175 Bugid Risk Synopsis
1176 ================================================================================
1177 6561987 data vac_conflict faults on lipthread libthread libs in s10.
1178 --------------------------------------------------------------------------------
1179 All the above changes are incorporated in the following patches:
1180 Solaris/SunOS 5.10_sparc patch T127111-01
1181 Solaris/SunOS 5.10_x86 patch T127112-01
1182 --------------------------------------------------------------------------------
1183 6501793 GOTOP relocation transition (optimization) fails with offsets > 2^32
1184 6532924 AMD64: Solaris 5.11 55b: SEGV after whocatches
1185 6551627 OGL: SIGSEGV when trying to use OpenGL pipeline with splash screen,
1186 Solaris/Nvidia only
1187 --------------------------------------------------------------------------------
1188 All the above changes are incorporated in the following patches:
1189 Solaris/SunOS 5.10_sparc patch T127111-04
1190 Solaris/SunOS 5.10_x86 patch T127112-04
1191 --------------------------------------------------------------------------------
1192 6479848 Enhancements to the linker support interface needed. (D)
1193 PSARC/2006/595 link-editor support library interface - ld_open()
1194 6521608 assertion failure in runtime linker related to auditing
1195 6494228 pclose() error when an audit library calls popen() and the main target
1196 is being run under ldd (D)
1197 6568745 segfault when using LD_DEBUG with bit_audit library when instrumenting
1198 mozilla (D)
1199 PSARC/2007/413 Add -zglobalaudit option to ld
1200 6602294 ps_pbrandname breaks apps linked directly against librtld_db
1201 --------------------------------------------------------------------------------
1202 All the above changes are incorporated in the following patches:
1203 Solaris/SunOS 5.10_sparc patch T127111-07
1204 Solaris/SunOS 5.10_x86 patch T127112-07
1205 --------------------------------------------------------------------------------
1206
1207 -------------------------------------
1208 Solaris 10 908 (6th Q-update - s10u6)
1209 -------------------------------------
1210 Bugid Risk Synopsis
1211 ================================================================================
1212 6672544 elf_rtbndr must support non-ABI aligned stacks on amd64
1213 6668050 First trip through PLT does not preserve args in xmm registers
1214 --------------------------------------------------------------------------------
1215 All the above changes are incorporated in the following patch:
1216 Solaris/SunOS 5.10_x86 patch T137138-01
1217 --------------------------------------------------------------------------------
1218
1219 -------------------------------------
1220 Solaris 10 409 (7th Q-update - s10u7)
1221 -------------------------------------
1222 Bugid Risk Synopsis
1223 ================================================================================
1224 6629404 ld with -z ignore doesn't scale
1225 6606203 link editor ought to allow creation of >2gb sized objects (P)
1226 --------------------------------------------------------------------------------
1227 All the above changes are incorporated in the following patches:
1228 Solaris/SunOS 5.10_sparc patch T139574-01
1229 Solaris/SunOS 5.10_x86 patch T139575-01
1230 --------------------------------------------------------------------------------
1231 6746674 setuid applications do not find libraries any more because trusted
1232 directories behavior changed (D)
1233 --------------------------------------------------------------------------------
1234 All the above changes are incorporated in the following patches:
1235 Solaris/SunOS 5.10_sparc patch T139574-02
1236 Solaris/SunOS 5.10_x86 patch T139575-02
1237 --------------------------------------------------------------------------------
1238 6703683 Can't build VirtualBox on Build 88 or 89
1239 6737579 process_req_lib() in libld consumes file descriptors
1240 6685125 ld/elfdump do not handle ZERO terminator .eh_frame amd64 unwind entry
1241 --------------------------------------------------------------------------------
1242 All the above changes are incorporated in the following patches:
1243 Solaris/SunOS 5.10_sparc patch T139574-03
1244 Solaris/SunOS 5.10_x86 patch T139575-03
1245 --------------------------------------------------------------------------------
1246
1247 -------------------------------------
1248 Solaris 10 1009 (8th Q-update - s10u8)
1249 -------------------------------------
1250 Bugid Risk Synopsis
1251 ================================================================================
1252 6782597 32-bit ld.so.1 needs to accept objects with large inode number
1253 6805502 The addition of "inline" keywords to sgs code broke the lint
1254 verification in S10
1255 6807864 ld.so.1 is susceptible to a fatal dlsym()/setlocale() race
1256 --------------------------------------------------------------------------------
1257 All the above changes are incorporated in the following patches:
1258 Solaris/SunOS 5.10_sparc patch T141692-01
1259 Solaris/SunOS 5.10_x86 patch T141693-01
1260 NOTE: The fix for 6805502 is only applicable to s10.
1261 --------------------------------------------------------------------------------
1262 6826410 ld needs to sort sections using 32-bit sort keys
1263 --------------------------------------------------------------------------------
1264 All the above changes are incorporated in the following patches:
1265 Solaris/SunOS 5.10_sparc patch T141771-01
1266 Solaris/SunOS 5.10_x86 patch T141772-01
1267 NOTE: The fix for 6826410 is also available for s9 in the following patches:
1268 Solaris/SunOS 5.9_sparc patch T112963-33
1269 Solaris/SunOS 5.9_x86 patch T113986-27
1270 --------------------------------------------------------------------------------
1271 6568447 bcp is broken by 6551627
1272 6599700 librtld_db needs better plugin support
1273 6713830 mdb dumped core reading a gcore
1274 6756048 rd_loadobj_iter() should always invoke brand plugin callback
1275 6786744 32-bit dbx failed with unknown rtld_db.so error on snv_104
1276 --------------------------------------------------------------------------------
1277 All the above changes are incorporated in the following patches:
1278 Solaris/SunOS 5.10_sparc patch TXXXXXX-XX
1279 Solaris/SunOS 5.10_x86 patch TXXXXXX-XX
1280 --------------------------------------------------------------------------------
1281
1282 --------------------------------------------
1283 Solaris Nevada (OpenSolaris 2008.05, snv_86)
1284 --------------------------------------------
1285 Bugid Risk Synopsis
1286 ================================================================================
1287 6409350 BrandZ project integration into Solaris (link-editor components only)
1288 6459189 UNIX03: *VSC* c99 compiler overwrites non-writable file
1289 6423746 add an option to relax the resolution of COMDAT relocs (D)
1290 4934427 runtime linker should load up static symbol names visible to
1291 dladdr() (D)
1292 PSARC 2006/526 SHT_SUNW_LDYNSYM - default local symbol addition
1293 6448719 sys/elf.h could be updated with additional machine and ABI types
1294 6336605 link-editors need to support R_*_SIZE relocations
1295 PSARC/2006/558 R_*_SIZE relocation support
1296 6475375 symbol search optimization to reduce rescans
1297 6475497 elfdump(1) is misreporting sh_link
1298 6482058 lari(1) could be faster, and handle per-symbol filters better
1299 6482974 defining virtual address of text segment can result in an invalid data
1300 segment
1301 6476734 crle(1m) "-l" as described fails system, crle cores trying to fix
1302 /a/var/ld/ld.config in failsafe
1303 6487499 link_audit "make clobber" creates and populates proto area
1304 6488141 ld(1) should detect attempt to reference 0-length .bss section
1305 6496718 restricted visibility symbol references should trigger archive
1306 extraction
1307 6515970 HWCAP processing doesn't clean up fmap structure - browser fails to
1308 run java applet
1309 6494214 Refinements to symbolic binding, symbol declarations and
1310 interposition (D)
1311 PSARC/2006/714 ld(1) mapfile: symbol interpose definition
1312 6475344 DTrace needs ELF function and data symbols sorted by address (D)
1313 PSARC/2007/026 ELF symbol sort sections
1314 6518480 ld -melf_i386 doesn't complain (D)
1315 6519951 bfu is just another word for exit today (RPATH -> RUNPATH conversion
1316 bites us) (D)
1317 6521504 ld: hardware capabilities processing from relocatables objects needs
1318 hardening.
1319 6518322 Some ELF utilities need updating for .SUNW_ldynsym section (D)
1320 PSARC/2007/074 -L option for nm(1) to display SHT_SUNW_LDYNSYM symbols
1321 6523787 dlopen() handle gets mistakenly orphaned - results in access to freed
1322 memory
1323 6524709 executables using /usr/lib/libc.so.1 as the ELF interpreter dump core
1324 (link-editor components only)
1325 6531189 SEGV in dladdr()
1326 6527318 dlopen(name, RTLD_NOLOAD) returns handle for unloaded library
1327 6518359 extern mapfiles references to _init/_fini can create INIT/FINI
1328 addresses of 0
1329 6533587 ld.so.1: init/fini processing needs to compensate for interposer
1330 expectations
1331 6516118 Reserved space needed in ELF dynamic section and string table (D)
1332 PSARC/2007/127 Reserved space for editing ELF dynamic sections
1333 6535688 elfdump could be more robust in the face of Purify (D)
1334 6516665 The link-editors should be more resilient against gcc's symbol
1335 versioning
1336 6541004 hwcap filter processing can leak memory
1337 5108874 elfdump SEGVs on bad object file
1338 6547441 Uninitialized variable causes ld.so.1 to crash on object cleanup
1339 6341667 elfdump should check alignments of ELF header elements
1340 6387860 elfdump cores, when processing linux built ELF file
1341 6198202 mcs -d dumps core
1342 6246083 elfdump should allow section index specification
1343 (numeric -N equivalent) (D)
1344 PSARC/2007/247 Add -I option to elfdump
1345 6556563 elfdump section overlap checking is too slow for large files
1346 5006034 need ?E mapfile feature extension (D)
1347 6565476 rtld symbol version check prevents GNU ld binary from running
1348 6567670 ld(1) symbol size/section size verification uncovers Haskell
1349 compiler inconsistency
1350 6530249 elfdump should handle ELF files with no section header table (D)
1351 PSARC/2007/395 Add -P option to elfdump
1352 6573641 ld.so.1 does not maintain parent relationship to a dlopen() caller.
1353 6577462 Additional improvements needed to handling of gcc's symbol versioning
1354 6583742 ELF string conversion library needs to lose static writable buffers
1355 6589819 ld generated reference to __tls_get_addr() fails when resolving to a
1356 shared object reference
1357 6595139 various applications should export yy* global variables for libl
1358 PSARC/2007/474 new ldd(1) -w option
1359 6597841 gelf_getdyn() reads one too many dynamic entries
1360 6603313 dlclose() can fail to unload objects after fix for 6573641
1361 6234471 need a way to edit ELF objects (D)
1362 PSARC/2007/509 elfedit
1363 5035454 mixing -Kpic and -KPIC may cause SIGSEGV with -xarch=v9
1364 6473571 strip and mcs get confused and corrupt files when passed
1365 non-ELF arguments
1366 6253589 mcs has problems handling multiple SHT_NOTE sections
1367 6610591 do_reloc() should not require unused arguments
1368 6602451 new symbol visibilities required: EXPORTED, SINGLETON and ELIMINATE (D)
1369 PSARC/2007/559 new symbol visibilities - EXPORTED, SINGLETON, and
1370 ELIMINATE
1371 6570616 elfdump should display incorrectly aligned note section
1372 6614968 elfedit needs string table module (D)
1373 6620533 HWCAP filtering can leave uninitialized data behind - results in
1374 "rejected: Invalid argument"
1375 6617855 nodirect tag can be ignored when other syminfo tags are available
1376 (link-editor components only)
1377 6621066 Reduce need for new elfdump options with every section type (D)
1378 PSARC/2007/620 elfdump -T, and simplified matching
1379 6627765 soffice failure after integration of 6603313 - dangling GROUP pointer.
1380 6319025 SUNWbtool packaging issues in Nevada and S10u1.
1381 6626135 elfedit capabilities str->value mapping should come from
1382 usr/src/common/elfcap
1383 6642769 ld(1) -z combreloc should become default behavior (D)
1384 PSARC/2008/006 make ld(1) -z combreloc become default behavior
1385 6634436 XFFLAG should be updated. (link-editor components only)
1386 6492726 Merge SHF_MERGE|SHF_STRINGS input sections
1387 4947191 OSNet should use direct bindings (link-editor components only)
1388 6654381 lazy loading fall-back needs optimizing
1389 6658385 ld core dumps when building Xorg on nv_82
1390 6516808 ld.so.1's token expansion provides no escape for platforms that don't
1391 report HWCAP
1392 6668534 Direct bindings can compromise function address comparisons from
1393 executables
1394 6667661 Direct bindings can compromise executables with insufficient copy
1395 relocation information
1396 6357282 ldd should recognize PARENT and EXTERN symbols (D)
1397 PSARC/2008/148 new ldd(1) -p option
1398 6672394 ldd(1) unused dependency processing is tricked by relocations errors
1399 --------------------------------------------------------------------------------
1400
1401 ---------------------------------------------
1402 Solaris Nevada (OpenSolaris 2008.11, snv_101)
1403 ---------------------------------------------
1404 Bugid Risk Synopsis
1405 ================================================================================
1406 6671255 link-editor should support cross linking (D)
1407 PSARC/2008/179 cross link-editor
1408 6674666 elfedit dyn:posflag1 needs option to locate element via NEEDED item
1409 6675591 elfwrap - wrap data in an ELF file (D,P)
1410 PSARC/2008/198 elfwrap - wrap data in an ELF file
1411 6678244 elfdump dynamic section sanity checking needs refinement
1412 6679212 sgs use of SCCS id for versioning is obstacle to mercurial migration
1413 6681761 lies, darn lies, and linker README files
1414 6509323 Need to disable the Multiple Files loading - same name, different
1415 directories (or its stat() use)
1416 6686889 ld.so.1 regression - bad pointer created with 6509323 integration
1417 6695681 ldd(1) crashes when run from a chrooted environment
1418 6516212 usr/src/cmd/sgs/libelf warlock targets should be fixed or abandoned
1419 6678310 using LD_AUDIT, ld.so.1 calls shared library's .init before library is
1420 fully relocated (link-editor components only)
1421 6699594 The ld command has a problem handling 'protected' mapfile keyword.
1422 6699131 elfdump should display core file notes (D)
1423 6702260 single threading .init/.fini sections breaks staroffice
1424 6703919 boot hangs intermittently on x86 with onnv daily.0430 and on
1425 6701798 ld can enter infinite loop processing bad mapfile
1426 6706401 direct binding copy relocation fallback is insufficient for ild
1427 generated objects
1428 6705846 multithreaded C++ application seems to get deadlocked in the dynamic
1429 linker code
1430 6686343 ldd(1) - unused search path diagnosis should be enabled
1431 6712292 ld.so.1 should fall back to an interposer for failed direct bindings
1432 6716350 usr/src/cmd/sgs should be linted by nightly builds
1433 6720509 usr/src/cmd/sgs/sgsdemangler should be removed
1434 6617475 gas creates erroneous FILE symbols [was: ld.so.1 is reported as
1435 false positive by wsdiff]
1436 6724311 dldump() mishandles R_AMD64_JUMP_SLOT relocations
1437 6724774 elfdump -n doesn't print siginfo structure
1438 6728555 Fix for amd64 aw (6617475) breaks pure gcc builds
1439 6734598 ld(1) archive processing failure due to mismatched file descriptors
1440 6684577 ld should propagate SHF_LINK_ORDER flag to ET_REL objects
1441 6735939 ld(1) discarded symbol relocations errors (Studio and GNU).
1442 6354160 Solaris linker includes more than one copy of code in binary when
1443 linking gnu object code
1444 6744003 ld(1) could provide better argument processing diagnostics (D)
1445 PSARC 2008/583 add gld options to ld(1)
1446 6749055 ld should generate GNU style VERSYM indexes for VERNEED records (D)
1447 PSARC/2008/603 ELF objects to adopt GNU-style Versym indexes
1448 6752728 link-editor can enter UNDEF symbols in symbol sort sections
1449 6756472 AOUT search path pruning (D)
1450 --------------------------------------------------------------------------------
1451
1452 ---------------------------------------------
1453 Solaris Nevada (OpenSolaris 2009.06, snv_111)
1454 ---------------------------------------------
1455 Bugid Risk Synopsis
1456 ================================================================================
1457
1458 6754965 introduce the SF1_SUNW_ADDR32 bit in software capabilities (D)
1459 (link-editor components only)
1460 PSARC/2008/622 32-bit Address Restriction Software Capabilities Flag
1461 6756953 customer requests that DT_CONFIG strings be honored for secure apps (D)
1462 6765299 ld --version-script option not compatible with GNU ld (D)
1463 6748160 problem with -zrescan (D)
1464 PSARC/2008/651 New ld archive rescan options
1465 6763342 sloppy relocations need to get sloppier
1466 6736890 PT_SUNWBSS should be disabled (D)
1467 PSARC/2008/715 PT_SUNWBSS removal
1468 6772661 ldd/lddstub/ld.so.1 dump core in current nightly while processing
1469 libsoftcrypto_hwcap.so.1
1470 6765931 mcs generates unlink(NULL) system calls
1471 6775062 remove /usr/lib/libldstab.so (D)
1472 6782977 ld segfaults after support lib version error sends bad args to vprintf()
1473 6773695 ld -z nopartial can break non-pic objects
1474 6778453 RTLD_GROUP prevents use of application defined malloc
1475 6789925 64-bit applications with SF1_SUNW_ADDR32 require non-default starting
1476 address
1477 6792906 ld -z nopartial fix breaks TLS
1478 6686372 ld.so.1 should use mmapobj(2)
1479 6726108 dlopen() performance could be improved.
1480 6792836 ld is slow when processing GNU linkonce sections
1481 6797468 ld.so.1: orphaned handles aren't processed correctly
1482 6798676 ld.so.1: enters infinite loop with realloc/defragmentation logic
1483 6237063 request extension to dl* family to provide segment bounds
1484 information (D)
1485 PSARC/2009/054 dlinfo(3c) - segment mapping retrieval
1486 6800388 shstrtab can be sized incorrectly when -z ignore is used
1487 6805009 ld.so.1: link map control list tear down leaves dangling pointer -
1488 pfinstall does it again.
1489 6807050 GNU linkonce sections can create duplicate and incompatible
1490 eh_frame FDE entries
1491 --------------------------------------------------------------------------------
1492
1493 --------------
1494 Solaris Nevada
1495 --------------
1496 Bugid Risk Synopsis
1497 ================================================================================
1498 6813909 generalize eh_frame support to non-amd64 platforms
1499 6801536 ld: mapfile processing oddities unveiled through mmapobj(2) observations
1500 6802452 libelf shouldn't use MS_SYNC
1501 6818012 nm tries to modify readonly segment and dumps core
1502 6821646 xVM dom0 doesn't boot on daily.0324 and beyond
1503 6822828 librtld_db can return RD_ERR before RD_NOMAPS, which compromises dbx
1504 expectations.
1505 6821619 Solaris linkers need systematic approach to ELF OSABI
1506 PSARC/2009/196 ELF objects to set OSABI / elfdump -O option
1507 6827468 6801536 breaks 'ld -s' if there are weak/strong symbol pairs
1508 6715578 AOUT (BCP) symbol lookup can be compromised with lazy loading.
1509 6752883 ld.so.1 error message should be buffered (not sent to stderr).
1510 6577982 ld.so.1 calls getpid() before it should when any LD_* are set
1511 6826513 ldd gets confused by a crle(1) LD_PRELOAD setting
1512 6831285 linker LD_DEBUG support needs improvements
1513 6806791 filter builds could be optimized (link-editor components only)
1514 6823371 calloc() uses suboptimal memset() causing 15% regression in SpecCPU2006
1515 gcc code (link-editor components only)
1516 6831308 ld.so.1: symbol rescanning does a little too much work
1517 6837777 ld ordered section code uses too much memory and works too hard
1518 6841199 Undo 10 year old workaround and use 64-bit ld on 32-bit objects
1519 6784790 ld should examine archives to determine output object class/machine
1520 PSARC/2009/305 ld -32 option
1521 6849998 remove undocumented mapfile $SPECVERS and $NEED options
1522 6851224 elf_getshnum() and elf_getshstrndx() incompatible with 2002 ELF gABI
1523 agreement
1524 PSARC/2009/363 replace elf_getphnum, elf_getshnum, and elf_getshstrndx
1525 6853809 ld.so.1: rescan fallback optimization is invalid
1526 6854158 ld.so.1: interposition can be skipped because of incorrect
1527 caller/destination validation
1528 6862967 rd_loadobj_iter() failing for core files
1529 6856173 streams core dumps when compiled in 64bit with a very large static
1530 array size
1531 6834197 ld pukes when given an empty plate
1532 6516644 per-symbol filtering shouldn't be allowed in executables
1533 6878605 ld should accept '%' syntax when matching input SHT_PROGBITS sections
1534 6850768 ld option to autogenerate wrappers/interposers similar to GNU ld --wrap
1535 PSARC/2009/493 ld -z wrap option
1536 6888489 Null environment variables are not overriding crle(1) replaceable
1537 environment variables.
1538 6885456 Need to implement GNU-ld behavior in construction of .init/.fini sections
1539