From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <45C88F6E.3080907@iop.kiev.ua> Date: Tue, 06 Feb 2007 16:23:42 +0200 From: Andrii Dobrovol`s`kii User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru-RU; rv:1.8.1.2pre) Gecko/20070119 SeaMonkey/1.1 MIME-Version: 1.0 To: ALT Linux Sisyphus discussion list References: <45B614EC.1090803@iop.kiev.ua> <45BE03C1.7050104@iop.kiev.ua> <679044850701290640g3af0ad7du57f94493fc04bb26@mail.gmail.com> <45BE1628.5020607@iop.kiev.ua> <679044850701290752u50bf8466rd2a92d0b38c11d65@mail.gmail.com> <45BE1C14.1080009@iop.kiev.ua> <679044850701290823l7e64b388se7871df8532f51b9@mail.gmail.com> <45C21D70.9000205@iop.kiev.ua> <679044850702011057r1626aa3cg28adc8695e3ad23d@mail.gmail.com> <45C302A9.5040205@iop.kiev.ua> <679044850702020151h2ee1a1aand16898605c3381b9@mail.gmail.com> In-Reply-To: <679044850702020151h2ee1a1aand16898605c3381b9@mail.gmail.com> X-Enigmail-Version: 0.94.1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigD4F23827E0E1596FFA602C3C" X-Milter: Spamilter (Reciever: rmaile.iop.kiev.ua; Sender-ip: 10.10.5.10; Sender-helo: sunrise.iop.kiev.ua; ) X-Virus-Scanned: ClamAV 0.88.7/2527/Tue Feb 6 10:14:46 2007 on rmaile.iop.kiev.ua X-Virus-Status: Clean X-Spam-Status: No, score=-3.9 required=4.2 tests=ALL_TRUSTED,BAYES_00, MIME_CHARSET_FARAWAY autolearn=ham version=3.1.7 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on rmaile.iop.kiev.ua Subject: Re: [sisyphus] compile error: undefined reference to X-BeenThere: sisyphus@lists.altlinux.org X-Mailman-Version: 2.1.9rc1 Precedence: list Reply-To: ALT Linux Sisyphus discussion list List-Id: ALT Linux Sisyphus discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Feb 2007 14:23:44 -0000 Archived-At: List-Archive: List-Post: This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD4F23827E0E1596FFA602C3C Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Damir Shayhutdinov =D0=C9=DB=C5=D4: >=20 > 1, Explicit linking dynamic objects with all dso it needs ensures > correct soname dependencies and prevent ABI incompatibilities. >=20 > 2. Unused direct dependencies encumber package with extra dependencies > (including soname dependencies). An encumbered program takes more time > to load (5% in case of gdm for example), and need more memory mapped > to its address space. >=20 > An encumbered package requires extra packages when installed, and > needs extra care when one of unused libraries was updated and its > soname was changed. =F5=D7=D9. =F0=C5=D2=C5=C7=CF=D7=CF=D2=D9 =D3 =C1=D0=D3=D4=D2=C9=CD=CF=CD= =DA=C1=CB=CF=CE=DE=C9=CC=C9=D3=D8 =CE=C9=DE=C5=CD... =F0=D2=C1=D7=C9=D4=D8= =CD=C5=CA=CB=C6=C1=CA=CC=D9 =C4=CC=D1 =D0=CF=C4=C4=C5=D2=D6=CB=C9 --as-needed =C1=D7=D4=CF=D2 =CF=D4=CB= =C1=DA=C1=CC=D3=D1. =E1=D2=C7=D5=CD=C5=CE=D4=D9 =CF=CB=C1=DA=C1=CC=C9=D3=D8= =CE=C5=D5=C2=C5=C4=C9=D4=C5=CC=D8=CE=D9=CD=C9. David> A linker feature that makes `make install' of my program run David> 5x slower, makes module loading 50% slower, etc. is not David> something that worths to support. David> In any case, --as-needed is a hack. It subverts the normal David> linker behaviour -- based on certain assumptions that may or David> may not be true. They are not true for Gwyddion. Granted, David> the linking scheme used by Gwyddion is not common, but David> there's nothing incorrect on it (in fact, it prevents some David> disasters that can occur when modules are linked with an David> independent set of libraries). The correct approach to David> --as-needed would be probably to detect it's in use in David> configure and add --no-as-needed to linker flags. This way David> everyone would be happy -- execept perhaps people who made David> it a religion. =C9 =D4.=C4... =E1 =D4.=CB. =DC=D4=CF, =D0=CF=C8=CF=D6=C5, =C9=D3=CB=CC=C0=DE=C9=D4=C5=CC= =D8=CE=CF =CE=C1=DB=C1 =C6=C9=DB=CB=C1, =CE=D5=D6=CE=D9 =C2=CF=CC=C5 =D3=C9= =CC=D8=CE=D9=C5 =C1=D2=C7=D5=CD=C5=CE=D4=D9 =C9=CC=C9 =D0=D2=C1=D7=CB=C1 =D7 =D0=D2=CF=C3= =C5=D3=D3=C5 =D3=C2=CF=D2=CB=C9 rpm-=C1. =EE=C1=D3=CB=CF=CC=D8=CB=CF =D1 =DA=CE=C1=C0, rpm =CE=C5 =D5=CD=C5=C5=D4 = =D7=D9=DA=D9=D7=C1=D4=D8 =D0=D2=C9 =CE=C1=CC=CF=D6=C5=CE=C9=C9 =D0=C1=D4=DE= =C5=CA autoconf/automake. =F4=C1=CB? =E9=CC=C9 =D1 =CE=C5 =D0=D2=C1=D7? --=20 Rgrds, Andriy ********************************************************************* email: dobr at iop dot kiev dot ua Kyiv, Ukraine Phone: (380-44) 525-7824 Department of Gas Electronics Fax: (380-44) 525-2329 Institute of Physics of NASU *********************dobrATjabber.iop.kiev.ua************************ --------------enigD4F23827E0E1596FFA602C3C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFFyI9zYy1tb7+AynYRAr6ZAJ9wUUCdc1ffx3/8+uPmEgjCO9nOmQCgohxn t3yWvf79iRAHgIM53PxTN40= =yhhS -----END PGP SIGNATURE----- --------------enigD4F23827E0E1596FFA602C3C--