Patch-ID# 100170-06 Keywords: jumbo-patch ld-1.138 shared LD_LIBRARY_PATH -Bstatic Synopsis: SunOS 4.1 4.1.1;jumbo patch to fix various ld problems Date: 12-Aug-91 SunOS release: 4.1 4.1.1 Topic: jumbo ld patch BugId's fixed with this patch: 1019004 1032739 1034788 1034833 1037879 1041946 1042261 1044524 1045272 1046462 1050594 1064820 1065275 Architectures for which this patch is available: sun4 sun3 Patches which may conflict with this patch: Obsoleted by: SYS_V Rel 4 Problem Description: 1.132 includes fixes for these bugs: 1032739: ld core dumps with many libs in multiple directories 1034788: -r and -pic do not mix bad secondary magic number on... (also includes 1034844 as a side effect.) ** NOTE: the above were previously supplied as the XEROX patch. 1034833: ld: can't mixed -r with -Bstatic or -A flag in 4.1prefcs... 1037879: Cannot create executable with shared object which points... (This includes the "fix to the fix" for the new problem that Brown U. reported.) 1042261: ld only recognized first directory in LD_LIBRARY_PATH 1044524: multiply defined symbols and seg. fault caused by 4.1's ld 1045272: ld -u & -r do not seem to work properly 1.135 includes all of the above and in addition includes: 1019004: -assert definitions can fail to report undefined symbols, as well as all follow-on problems relating to previous alleged fixes for this bug. 1.136 includes all of the above and in addition includes: 1046462: ld fails with segmentation fault when processing nested #include files 1.136 got updated to include fixes for: 1019004: (do not account for slots created by "definition checking.") 1050594: fix uninitialized structure entries. 1.137 includes a fix for: 1064820: ld can produce bogus diagnostics when processing cascaded .so dependencies *** This patch is 1.138 *** ADDENDUM! As of 9/19/91 patchid 100266-03 (domestic) or 100267-03 (international) is the new libc needed to repair bug 1045471. Bug 1045471 is a libc bug revealed when applying this ld patch. Many applications may be linked without necessarily being affected by bug 1045471. INSTALL: As root: mv /bin/ld to something else (e.g. /bin/ld.FCS) cp `arch`/ld /bin/ld chmod 755 /bin/ld