🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fj.sys.sun
Article #13188

Re: gcc and dynamic link

#13188
From: Soh Suzuki
Date: Fri, 15 Jan 1993 10:26
118 lines
5566 bytes
 $B;37A!wEl9)BgJ*M}$G$9!#(B

In article <3840@wakasato.cs.shinshu-u.ac.jp> znakane@sunak1.cs.shinshu-u.ac.jp (Fumimasa Nakane) writes:

> $B!t(B gcc-2.3.2 $B$G2?$b9M$($:(B$B$K(B tcsh 6.03 $B$r:n$k$H(B ioctl $B$,%(%i!<$r5/$3$7$F(B
> $B!t(Bjob ctrl $B$,$G$-$J$$(B tcsh $B$,$G(B$B$-$F$7$^$C$?!#(B

>tcsh 6.02$B$G;n$7$F$_$^$7$?$,!"LdBj$J$/F0$$$F$k$_$?$$$G$9(B$B!#(B
>ioctl$B$,%(%i!<$r5/$3$9$H$$$&$3$H$J$N$G(Bmake install-fixincludes$B$,@5$7$/$5(B
>$B$l(B$B$F$$$J$$$+$b$7$l$^$;$s!#(B

 fixinclude $B$O$7$^$7$?!#?HFb$+$i(B -traditional $B$b$D$1(B$B$?J}$,$$$$$H$$$&%U%)(B
$B%m!<$,$"$j$^$7$?!#(B

$B!J$A$J$_$K(B gcc-1.37 $B$G(B tcsh 6.02 $B$r(B$B:n$C$?;~$O$&$^$/$$$C$?$N$G$9$,!K(B

 cc $B$H(B gcc $B$N(B union $B$@$+(B static $B$@$+$NJV$7(B$BJ}$N0c$$$@$HJ9$-$^$7$?$,!"(B
$B$=$l$,860x$J$N$G$7$g$&$+!#(B

>$B$?$@$7(BSunOS 4.1.2 + JLE 1.1.2$B$G$O!"(Bsed$B$N%P%0$,$"$j!"@5$7$/(Bfixinclude$B$5$l(B
>$B$^$;$s$N$G!"Cm0U$7$F(B$B2<$5$$!#(B

 $B$&$C!"$d$i$l$?!#$"$j$,$H$&$4$6$^$9!#(BGNU sed $B$K$7$F$d$jD>$7$F(B$B$_$^$9!#(B

$B$H$3$m$G!"(BSunOS 4.1.2 $B$N%Q%C%A$K(B 

100170-07   SunOS 4.1;4.1.1;4.1.2:
                  jumbo patch to fix various ld problems

$B$H$$$&$N$,$"$j$^$9$,!J$3$l$N(B README $B$N%P%0%j%9%H$O:G8e$K$D$1$^$9!K(B

$B$3$l$N%Q%C%A$r;HMQ$7$F%@%$%J%_%C%/%j(B$B%s%/$N8zN($,$"$,$k$H$$$&$3$H$O$"$k$N(B
$B$G$7$g$&$+!#:9$7BX$($kA0$N(B ld $B$,(B$B$$$C$?$$%P!<%8%g%s$$$/$i$J$N$+$o$+$j$^$;(B
$B$s$,!":9$7BX$($k$Y$-(B ld $B$OG\(B$B$NBg$-$5$,$"$k$N$G85$N(B ld $B$O2?$+LdBj$,$"$j$=(B
$B$&$JFw$$$,$9$k$N$G$9$,!D(B

$B?7$7$$(B ld $B$,(B static link $B$H$+$$$&$3$H$G$O$J$$$G$9!#(B

------------------------------------------------------------------------
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

1.138 includes fixes for:

	1065275: program dumps core with shared objects having only statics.
	1041946: same problem.

1.141 includes fixes for:

	1019004: leave output file executable when complaining about undefines.
	1083430: fix to 1019004 that eliminates a side effect that confused
		 the loader about the number of allocated vs. number of used
		 output relocations.
	1080802: fix -r and -PIC combination

1.142 includes fixes for:

	1083430: update to fix potential null pointer dereference
	xxxxxxx: performance improvement for programs with very large numbers
		 of symbols.

1.143 includes fixes for:

        1088382: SPARCworks 2.0 unusable.

1.144 includes fixes for:

        1080802: update for -r and -PIC processing, be sure STABs symbol
                 entries are correctly counted when producing symbol table
                 indices for relocation records.
        xxxxxxx: implement table expansion for larger "ld" capacity.


*** This ld patch is 1.144 ***

    NOTE:      As of 9/19/91 patchid 100266 (domestic) or 100267
	       (international) is the new libc needed to repair bug 1045471.
	       for 4.1.1.  Bug 1045471 is a libc bug revealed when applying 
	       this ld patch.  Many applications may be linked without
	       necessarily being affected by bug 1045471.

------------------------------------------------------------------------
--
	$BEl5~9)6HBg3X(B $BJ*M}3X2J(B $BNkLZ(B $BAo(B
		e-mail yamagata@tithp3.phys.titech.ac.jp
Technical Details
Message-ID: <YAMAGATA.93Jan15192618@tithp3.phys.titech.ac.jp>
Path: arc1-ca.pugleaf.net!sparky!uunet!ccut!news.u-tokyo.ac.jp!wnoc-tyo-news!cs.titech!is.titech!phys.titech!yamagata
References: <3812@wakasato.cs.shinshu-u.ac.jp> <YAMAGATA.93Jan15055204@tithp3.phys.titech.ac.jp> <3840@wakasato.cs.shinshu-u.ac.jp>

Show Full Headers
Complete Article Headers
X-Google-Language: Japanese,JIS
X-Google-Thread: fcfb5,f6b2f30ffdc0a090
X-Google-Attributes: gidfcfb5,public
X-Google-ArrivalTime: 1993-01-15 02:26:22 PST
Newsgroups: fj.sys.sun
Path: arc1-ca.pugleaf.net!sparky!uunet!ccut!news.u-tokyo.ac.jp!wnoc-tyo-news!cs.titech!is.titech!phys.titech!yamagata
From: yamagata@phys.titech.ac.jp (Soh Suzuki)
Subject: Re: gcc and dynamic link
In-Reply-To: znakane@sunak1.cs.shinshu-u.ac.jp's message of 15 Jan 93 05:16:22 GMT
Message-ID: <YAMAGATA.93Jan15192618@tithp3.phys.titech.ac.jp>
Lines: 118
Sender: news@phys.titech.ac.jp (Usenet News System)
Reply-To: yamagata@tithp3.phys.titech.ac.jp
Organization: Tokyo Institute of Technology Dept. of Physics
References: <3812@wakasato.cs.shinshu-u.ac.jp>
 <YAMAGATA.93Jan15055204@tithp3.phys.titech.ac.jp>
 <3840@wakasato.cs.shinshu-u.ac.jp>
Distribution: fj
Date: Fri, 15 Jan 1993 10:26:22 GMT