From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 6 Feb 2007 23:09:00 +0300 From: Alexey Rusakov To: sisyphus@lists.altlinux.org Message-ID: <20070206230900.3ba00684@mission> In-Reply-To: <45C88F6E.3080907@iop.kiev.ua> 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> <45C88F6E.3080907@iop.kiev.ua> Organization: ALT Linux Team X-Mailer: Claws Mail 2.7.2cvs4 (GTK+ 2.10.6; i586-alt-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 20:09:03 -0000 Archived-At: List-Archive: List-Post: On Tue, 06 Feb 2007 16:23:42 +0200 Andrii Dobrovol`s`kii wrote: > =D0=A3=D0=B2=D1=8B. =D0=9F=D0=B5=D1=80=D0=B5=D0=B3=D0=BE=D0=B2=D0=BE=D1= =80=D1=8B =D1=81 =D0=B0=D0=BF=D1=81=D1=82=D1=80=D0=B8=D0=BC=D0=BE=D0=BC =D0= =B7=D0=B0=D0=BA=D0=BE=D0=BD=D1=87=D0=B8=D0=BB=D0=B8=D1=81=D1=8C =D0=BD=D0= =B8=D1=87=D0=B5=D0=BC... =D0=9F=D1=80=D0=B0=D0=B2=D0=B8=D1=82=D1=8C =D0=BC= =D0=B5=D0=B9=D0=BA=D1=84=D0=B0=D0=B9=D0=BB=D1=8B > =D0=B4=D0=BB=D1=8F =D0=BF=D0=BE=D0=B4=D0=B4=D0=B5=D1=80=D0=B6=D0=BA=D0=B8= --as-needed =D0=B0=D0=B2=D1=82=D0=BE=D1=80 =D0=BE=D1=82=D0=BA=D0=B0=D0=B7= =D0=B0=D0=BB=D1=81=D1=8F. =D0=90=D1=80=D0=B3=D1=83=D0=BC=D0=B5=D0=BD=D1=82= =D1=8B =D0=BE=D0=BA=D0=B0=D0=B7=D0=B0=D0=BB=D0=B8=D1=81=D1=8C > =D0=BD=D0=B5=D1=83=D0=B1=D0=B5=D0=B4=D0=B8=D1=82=D0=B5=D0=BB=D1=8C=D0=BD= =D1=8B=D0=BC=D0=B8. > 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. > =D0=B8 =D1=82.=D0=B4... =D0=9D=D0=B5 =D0=B1=D0=BE=D1=8E=D1=81=D1=8C =D0=BE=D0=B1=D0=B8=D0=B4=D0=B5= =D1=82=D1=8C =D0=B0=D0=B2=D1=82=D0=BE=D1=80=D0=B0 =D0=BF=D1=80=D0=BE=D0=B3= =D1=80=D0=B0=D0=BC=D0=BC=D1=8B, =D0=BF=D0=BE=D1=81=D0=BA=D0=BE=D0=BB=D1=8C= =D0=BA=D1=83 =D0=BE=D0=BD =D1=8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