ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Andrii Dobrovol`s`kii <dobr@iop.kiev.ua>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] compile error: undefined reference to
Date: Tue, 06 Feb 2007 16:23:42 +0200
Message-ID: <45C88F6E.3080907@iop.kiev.ua> (raw)
In-Reply-To: <679044850702020151h2ee1a1aand16898605c3381b9@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2178 bytes --]

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. Так? Или я не прав?
-- 
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************************


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2007-02-06 14:23 UTC|newest]

Thread overview: 81+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-23 14:00 Andrii Dobrovol`s`kii
2007-01-23 14:16 ` Slava Dubrovskiy
2007-01-23 14:26 ` Damir Shayhutdinov
2007-01-23 16:20   ` Andrii Dobrovol`s`kii
2007-01-23 16:40     ` Damir Shayhutdinov
2007-01-23 18:03       ` Andrii Dobrovol`s`kii
2007-01-23 18:41         ` Damir Shayhutdinov
2007-01-23 20:24           ` Dmitry V. Levin
2007-01-24 10:25             ` Andrii Dobrovol`s`kii
2007-01-24 12:46           ` Andrii Dobrovol`s`kii
2007-01-24 13:00             ` Damir Shayhutdinov
2007-01-24 13:21               ` Andrii Dobrovol`s`kii
2007-01-24 13:46                 ` Damir Shayhutdinov
2007-01-24 13:35               ` Andrii Dobrovol`s`kii
2007-01-24 13:49                 ` Damir Shayhutdinov
2007-01-24 13:56                   ` Andrii Dobrovol`s`kii
2007-01-24 14:07                     ` Damir Shayhutdinov
2007-01-24 14:31                       ` Andrii Dobrovol`s`kii
2007-01-24 14:52                         ` Andrii Dobrovol`s`kii
2007-01-24 14:58                           ` Damir Shayhutdinov
2007-01-24 15:15                             ` Andrii Dobrovol`s`kii
2007-01-24 15:31                               ` Damir Shayhutdinov
2007-01-26 15:49                                 ` Andrii Dobrovol`s`kii
2007-01-26 16:03                                   ` Damir Shayhutdinov
2007-01-29 13:08                                     ` Andrii Dobrovol`s`kii
2007-01-29 13:19                                       ` Damir Shayhutdinov
2007-01-29 13:45                                         ` Andrii Dobrovol`s`kii
2007-01-29 13:51                                           ` Damir Shayhutdinov
2007-01-29 13:59                                             ` Andrii Dobrovol`s`kii
2007-01-29 14:05                                               ` Slava Semushin
2007-01-29 13:52                                           ` Slava Semushin
2007-01-29 14:09                                             ` Andrii Dobrovol`s`kii
2007-01-29 14:22                                               ` Damir Shayhutdinov
2007-01-29 14:25                                                 ` Andrii Dobrovol`s`kii
2007-01-29 14:40                                                   ` Damir Shayhutdinov
2007-01-29 15:43                                                     ` Andrii Dobrovol`s`kii
2007-01-29 15:52                                                       ` Damir Shayhutdinov
2007-01-29 16:08                                                         ` Andrii Dobrovol`s`kii
2007-01-29 16:23                                                           ` Damir Shayhutdinov
2007-02-01 17:03                                                             ` Andrii Dobrovol`s`kii
2007-02-01 18:57                                                               ` Damir Shayhutdinov
2007-02-02  9:21                                                                 ` Andrii Dobrovol`s`kii
2007-02-02  9:51                                                                   ` Damir Shayhutdinov
2007-02-02 10:48                                                                     ` Andrii Dobrovol`s`kii
2007-02-06 14:23                                                                     ` Andrii Dobrovol`s`kii [this message]
2007-02-06 14:30                                                                       ` Led
2007-02-06 15:17                                                                         ` Andrii Dobrovol`s`kii
2007-02-06 14:36                                                                       ` Damir Shayhutdinov
2007-02-06 15:22                                                                         ` Andrii Dobrovol`s`kii
2007-02-06 20:09                                                                       ` Alexey Rusakov
2007-02-07  9:11                                                                         ` Andrii Dobrovol`s`kii
2007-02-07 18:07                                                                         ` Andrey Rahmatullin
2007-02-07 15:57                                                                       ` Dmitry V. Levin
2007-02-08 11:12                                                                         ` Andrii Dobrovol`s`kii
2007-02-08 14:46                                                                           ` Dmitry V. Levin
2007-02-07 22:21                                                                       ` Dmitry V. Levin
2007-02-08 11:15                                                                         ` Andrii Dobrovol`s`kii
2007-05-10  9:19               ` Andrii Dobrovol`s`kii
2007-05-10  9:30                 ` Damir Shayhutdinov
2007-05-10  9:47                   ` Andrii Dobrovol`s`kii
2007-05-10 10:37                     ` Damir Shayhutdinov
2007-05-10 10:41                       ` Andrii Dobrovol`s`kii
2007-05-10 14:35                         ` Andrii Dobrovol`s`kii
2007-05-10 14:46                           ` Damir Shayhutdinov
2007-05-10 15:41                             ` Andrii Dobrovol`s`kii
2007-05-10 15:57                               ` Andrii Dobrovol`s`kii
2007-05-10 16:05                                 ` Igor Zubkov
2007-05-10 16:02                                   ` Andrii Dobrovol`s`kii
2007-05-10 12:03                   ` Igor Zubkov
2007-05-10 12:10                     ` Andrii Dobrovol`s`kii
2007-05-10 12:58                       ` Igor Zubkov
2007-05-10 14:02                     ` Sergey Vlasov
2007-05-10 14:16                       ` Andrii Dobrovol`s`kii
2007-01-26 15:16           ` Andrii Dobrovol`s`kii
2007-01-26 15:24             ` Damir Shayhutdinov
2007-01-26 15:32               ` Andrii Dobrovol`s`kii
2007-01-24  5:03 ` Ildar Mulyukov
2007-01-24  6:06 ` Хихин Руслан
2007-01-24  8:10   ` Alexei V. Mezin
2007-01-24  8:37     ` Anton Gorlov
2007-01-24 10:23       ` Andrii Dobrovol`s`kii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45C88F6E.3080907@iop.kiev.ua \
    --to=dobr@iop.kiev.ua \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git