From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 6 Oct 2010 20:13:55 +0400 From: "Dmitry V. Levin" To: ALT Devel discussion list Message-ID: <20101006161355.GA11562@altlinux.org> Mail-Followup-To: ALT Devel discussion list References: <20101005101717.GF9992@altlinux.org> <20101005213906.GA7528@altlinux.org> <20101005215602.GD13828@altlinux.org> <20101005220144.GA18362@altlinux.org> <20101005220435.GE13828@altlinux.org> <20101005221209.GB18362@altlinux.org> <20101005222941.GC18362@altlinux.org> <20101006082222.GA23143@altlinux.org> <20101006091845.GD8102@altlinux.org> <20101006093652.GB23143@altlinux.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wac7ysb48OaltWcw" Content-Disposition: inline In-Reply-To: <20101006093652.GB23143@altlinux.org> X-fingerprint: FE4C 93AB E19A 2E4C CB5D 3E4E 7CAB E6AC 9E35 361E Subject: Re: [devel] I: rpm 4.0.4-alt98.49, latter rain X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Oct 2010 16:13:55 -0000 Archived-At: List-Archive: List-Post: --wac7ysb48OaltWcw Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 06, 2010 at 01:36:52PM +0400, Alexey I. Froloff wrote: > On Wed, Oct 06, 2010 at 01:18:45PM +0400, Dmitry V. Levin wrote: > > > =FC=D4=CF =CE=C5 =C4=CC=D1 =C2=C9=C2=CC=C9=CF=D4=C5=CB: > > =E4=CC=D1 =CE=C5-=C2=C9=C2=CC=C9=CF=D4=C5=CB, =D0=CF=D6=C1=CC=D5=CA, = =C9 =D4=C1=CB =D5=D6=C5 =D7=D3=A3 =CE=C5=D0=CC=CF=C8=CF. > > =F7 =D0=C5=D2=D7=CF=CE=C1=DE=C1=CC=D8=CE=CF=CA =D0=CF=D3=D4=C1=CE=CF=D7= =CB=C5 =DA=C1=C4=C1=DE=C9 =D7=CF=D0=D2=CF=D3 =C2=D9=CC =C9=CD=C5=CE=CE=CF = =D0=D2=CF =C2=C9=C2=CC=C9=CF=D4=C5=CB=C9. > =EE=D5 =CD=CF=D6=CE=CF =D4=C1=CB: >=20 > $ alias gcc=3D'gcc -Wl,--no-undefined' > $ echo 'int foo1(){return 1;}' | gcc -fpic -shared -o libfoo1.so > -xc - && echo 'int foo2(){return foo1()+1;}' | gcc -fpic -shared > -o libfoo2.so -xc - -Wl,--rpath,$PWD -L. -lfoo1 && echo 'int > foo3(){return foo1()+foo2();}' | gcc -fpic -shared -o libfoo3.so > -xc - -Wl,--rpath,$PWD -L. -lfoo2 && /usr/lib/rpm/lib.req > libfoo3.so > /tmp/.private/raorn/cc4GWbBZ.o: In function `foo3': > :(.text+0xf): undefined reference to `foo1' > collect2: ld returned 1 exit status --no-undefined =C5=DD=A3 =D2=C1=DA =D0=CF=CB=C1=DA=D9=D7=C1=C5=D4, =DE=D4= =CF libfoo3.so =CE=C5 =CC=C9=CE=CB=D5=C5=D4=D3=D1 =D3 libfoo1.so; =CC=D5=DE=DB=C5 =C2=D9 =CF=CE=CF =D3=CC=C9=CE=CB=CF=D7=C1=CC=CF= =D3=D8, =CC=C9=CE=CB=D5=C0=D4=D3=D1 =D7=C5=C4=D8 =CF=C2=D9=DE=CE=D9=C5 exec= utables. --=20 ldv --wac7ysb48OaltWcw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkysoEMACgkQfKvmrJ41Nh48EwCgmrlcvidV8sR4CdNdL03cYGIh Va8An0V/SarYQQYH5/7rJGgrRkyDfNiK =NCNv -----END PGP SIGNATURE----- --wac7ysb48OaltWcw--