Patch-ID# 100055-01 Keywords:ld library ld.so loader Synopsis: Many 4.1 ld and ld.so patches for 4.0.3 systems Date: 14-Mar-90 SunOS release: 4.0.3 4.0.3c Bug ID's fixed with this patch: 1004518, 1007534, 1007795, 1008417, 1008419, 1009461, 1009524, 1010386, 1010395 1010561, 1010917, 1011138, 1011385, 1011798, 1012460, 1012578, 1012650, 1012694 1014137, 1014617, 1014683, 1014732, 1014889, 1015782, 1016223, 1016359, 1016448 1017540, 1018014, 1018035, 1018957, 1019007, 1020207, 1020281, 1020327, 1028127 1029902, 1030216, 1030258, 1030299, 1030346 Patches which conflict with this patch: Architectures for which this patch is available: sun3, sun4 (includes sun3x and sun4c) Obsoleted by: Problem description: This contains most of the bugfixes which have been integrated into 4.1 back-ported to 4.0.3 systems. The following is a short on-line description of each bug. 1004518: limit to number of obj files loader can handle from library 1007534: problem with collision of library name and common name 1007795: ld option "-assert definitions" can not be turned off 1008417: ld.so exit codes do not permit graceful recovery from failures 1008419: ld.so can crash on dynamic binding to a common 1009461: loader fails 1009524: ldd of a .so produces no message, but "core" file appears 1010386: -T 0 causes error reading string table in nm and adb 1010395: ld does not report dependencies to make 1010561: multiple versions of same maj versioned library in ld.so.cache 1010917: ld produces bad output file when given both -A and -x options 1011138: ld does not recursively check for shared library dependencies 1011385: ld error messages go to standard out and not to stderr 1011798: 4.0 sun3 linker core dumps if -e option not used 1012460: Lack of swap space causes mail to be returned 1012578: ld.so checks its own version, not that of the a.out 1012650: ld -x option gives zero length symbol table 1012694: rtld's printf translates NL to CRLF; ldd not filterable 1014137: ld not able to deal with block sizes > 32K 1014617: "ld -d -r" does not force common storage for uninitialized variables. 1014683: ld dies with __GLOBAL_OFFSET_TABLE full 1014732: specific .o file causes linker to dump core 1014889: -y option does not work properly in the event of a link error 1015782: main(){} core dumps when linked 1016223: loader blows up 1016359: ld command does not work with -x option 1016448: ld complains of bad string table index from previous dynamic 1017540: "ld -r" of -pic module causes ld segmentation violation 1018014: ld "-assert pure-text" diagnostics are not useful 1018035: ld misses .sa's of .so's that have dependencies 1018957: ld core dumps when linking objects with a large number of symbols 1019007: add -unassert flag, or don't make default assertions 1020207: ld dumps core when -pic and -r combined 1020281: dynamic linking gives error message for large application 1020327: loader can't handle legal assembler output 1028127: ld ignores -L option when LD_LIBRARY_PATH environment variable 1029902: ldd silently dumps core 1030216: Dynamically linked programs fail to execute with non-page-aligned stack limits 1030258: ld.so causes stty and getty to fail 1030299: ld.so produces unexpected error: mangled dl object list 1030346: ld will not use anything but "trusted" directories Note: patch ID's 100029 and 100030 are both included in this patch.