From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Led To: ALT Linux Sisyphus discussion list Date: Tue, 6 Feb 2007 16:30:27 +0200 User-Agent: KMail/1.9.6 References: <45B614EC.1090803@iop.kiev.ua> <679044850702020151h2ee1a1aand16898605c3381b9@mail.gmail.com> <45C88F6E.3080907@iop.kiev.ua> In-Reply-To: <45C88F6E.3080907@iop.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200702061630.27629.led@ukr-fin.com.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:29:54 -0000 Archived-At: List-Archive: List-Post: В сообщении от Вторник 06 февраля 2007 Andrii Dobrovol`s`kii написал(a): > Damir Shayhutdinov пишет: > > 1, Explicit linking dynamic objects with all dso it needs ensures > > correct soname dependencies and prevent ABI incompatibilities. > > > > 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. > > > > An encumbered package requires extra packages when installed, and > > needs extra care when one of unused libraries was updated and its > > soname was changed. > > Увы. Переговоры с апстримом закончились ничем... Править мейкфайлы > для поддержки --as-needed автор отказался. Аргументы оказались > неубедительными. > 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. > и т.д... > А т.к. это, похоже, исключительно наша фишка, нужны боле сильные > аргументы или правка в процессе сборки rpm-а. > Насколько я знаю, rpm не умеет вызывать при наложении патчей > autoconf/automake. Так? Или я не прав? %__autoreconf умеет -- Led.