From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sun, 19 Mar 2006 02:21:27 +0300 From: "Dmitry V. Levin" To: ALT Devel discussion list Message-ID: <20060318232127.GB3799@basalt.office.altlinux.org> Mail-Followup-To: ALT Devel discussion list References: <20060306030940.GA17733@basalt.office.altlinux.org> <20060306053626.GN6860@wrars-comp.wrarsdomain> <20060306120843.GA7241@basalt.office.altlinux.org> <20060306132203.GB11690@basalt.office.altlinux.org> <20060306153733.GD2873@master.mivlgu.local> <20060307095433.GH18807@basalt.office.altlinux.org> <1141728461.4187.20.camel@localhost.localdomain> <20060307131126.GB4524@basalt.office.altlinux.org> <20060318190645.GA24097@basalt.office.altlinux.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qlTNgmc+xy1dBmNv" Content-Disposition: inline In-Reply-To: <20060318190645.GA24097@basalt.office.altlinux.org> X-fingerprint: FE4C 93AB E19A 2E4C CB5D 3E4E 7CAB E6AC 9E35 361E Subject: Re: [devel] --as-needed X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: ALT Devel discussion list List-Id: ALT Devel discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Mar 2006 23:21:28 -0000 Archived-At: List-Archive: List-Post: --qlTNgmc+xy1dBmNv Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 18, 2006 at 10:06:45PM +0300, Dmitry V. Levin wrote: [...] > $ gcc -Wall foo3.c -o foo3 -L. -lfoo2 -Wl,-rpath-link,. >=20 > =F4=CF=CE=CB=CF=D3=D4=D8 =D7 =D4=CF=CD, =DE=D4=CF =D2=C1=CE=D8=DB=C5 =C5= =DD=A3 =C9 =D4=C1=CB =D2=C1=C2=CF=D4=C1=CC=CF (=C8=CF=D4=D8 =C9 =D2=D5=C7= =C1=CC=CF=D3=D8): > $ gcc -Wall foo3.c -o foo3 -L. -lfoo2 -lfoo1 > /usr/bin/ld: warning: libfoo1.so, needed by ./libfoo2.so, not found (try = using -rpath or -rpath-link) >=20 > =E1 =D4=C5=D0=C5=D2=D8 =D4=C1=CB =CE=C5 =D2=C1=C2=CF=D4=C1=C5=D4: > $ gcc -Wall foo3.c -o foo3 -L. -lfoo2 -lfoo1 > /usr/bin/ld: warning: libfoo1.so, needed by ./libfoo2.so, not found (try = using -rpath or -rpath-link) > ./libfoo2.so: undefined reference to `foo1' > collect2: ld returned 1 exit status >=20 > =F1 =D0=CF=CB=C1 =DE=D4=CF =CE=C5 =DA=CE=C1=C0, =DC=D4=CF =C6=C9=DE=C1 = =C9=CC=C9 =CE=C5=D4. =F3=CB=CF=D2=CF =D3=C9=D4=D5=C1=C3=C9=D1 =D0=D2=CF=D1= =D3=CE=C9=D4=D3=D1. =FC=D4=CF bugfix, =D3=CD. http://sourceware.org/ml/binutils/2006-03/msg0025= 9.html =F4=C1=CB =DE=D4=CF =CE=C1=C4=CF =C2=D5=C4=C5=D4 =D0=CF=D3=D4=C5=D0=C5=CE= =CE=CF =D7=D3=A3 =DC=D4=CF =DA=C1=C6=C9=CB=D3=C9=D4=D8 =C9 =DA=C1'upstream'= =C9=D4=D8. --=20 ldv --qlTNgmc+xy1dBmNv Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFEHJX3fKvmrJ41Nh4RAt09AKCvuw1Rf19Q/Glv4StgvtiN+MKAogCgm/RS OJqP0apSXHzGKiOQd7qESJk= =lV/w -----END PGP SIGNATURE----- --qlTNgmc+xy1dBmNv--