ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Q: --no-copy-dt-needed-entries
Date: Wed, 24 Mar 2010 21:24:59 +0300
Message-ID: <20100324182459.GJ8193@altlinux.org> (raw)
In-Reply-To: <20100324180448.GH21538@wo.int.altlinux.org>

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

On Wed, Mar 24, 2010 at 09:04:48PM +0300, Dmitry V. Levin wrote:
> On Mon, Mar 22, 2010 at 11:23:01AM +0300, Alexey Tourbin wrote:
> > On Mon, Mar 22, 2010 at 09:28:11AM +0200, Kirill A. Shutemov wrote:
> > > Я анонсирую, когда всё будет готово. Нужно решить несколько проблем на
> > > ARM сперва.
> > 
> > Just don't do it - in conjunction with --as-needed, --copy-dt-needed-entries
> > is good by default.
> 
> Current --as-needed + --copy-dt-needed-entries combination works pretty
> well, so let's delay changing this default until we face a real bug.

Not only does it work pretty well, it also tries to do "the right
thing".  In a previous message, I tried to describe two distinct ld
modes: dumb mode and smart mode.  Dumb mode would just do what is
specified on the command line.  By contrast, smart mode could do
something more about shared library dependencies based on how symbols
are resolved.

Now, a smart mode, what could that be?  It's about either extra
dependencies which are unused (--as-needed), or missing/implicit
dependencies which can be obtained automatically (--copy-dt-needed-entries).
So, if there's anything like a smart mode, these two options togehter
are pretty smart.

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2010-03-24 18:24 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-18 22:14 [devel] Q: --no-add-needed Kirill A. Shutemov
2010-03-18 22:22 ` Dmitry V. Levin
2010-03-19  0:36 ` Max Ivanov
2010-03-19  8:40   ` Kirill A. Shutemov
2010-03-19 12:29     ` Max Ivanov
2010-03-19 12:51       ` Kirill A. Shutemov
2010-03-19 20:49         ` Dmitry V. Levin
2010-03-19 21:24           ` Kirill A. Shutemov
2010-03-21  9:54         ` Stanislav Ievlev
2010-03-21 10:02           ` Evgeny Sinelnikov
2010-03-21 10:04             ` Stanislav Ievlev
2010-03-21 10:11               ` Andrey Rahmatullin
2010-03-21 10:19                 ` Evgeny Sinelnikov
2010-03-21 13:14                   ` [devel] Q: --copy-dt-needed-entries Dmitry V. Levin
2010-03-21 14:51                     ` Alexey Tourbin
2010-03-21 15:34                       ` [devel] Q: --no-copy-dt-needed-entries Dmitry V. Levin
2010-03-21 19:18                         ` Alexey Tourbin
2010-03-22  0:26                           ` Kirill A. Shutemov
2010-03-22  0:27                             ` Kirill A. Shutemov
2010-03-22  8:11                             ` Alexey Tourbin
2010-03-22 11:00                               ` Kirill A. Shutemov
2010-03-22 13:58                                 ` Alexey Tourbin
2010-03-22 15:41                                   ` Kirill A. Shutemov
2010-03-22 17:19                                     ` Alexey Tourbin
2010-03-22 18:31                                       ` Kirill A. Shutemov
2010-03-22 14:15                                 ` Sergei Epiphanov
2010-03-22 14:31                                   ` Vitaly Kuznetsov
2010-03-22 14:41                                   ` Kirill A. Shutemov
2010-03-22  7:23                           ` [devel] Q: --no-copy-dt-needed-entries. " Любит-не =?windows-1251?b?IOv+4ejy?=". И? Sergei Epiphanov
2010-03-22  7:28                             ` Kirill A. Shutemov
2010-03-22  8:23                               ` Alexey Tourbin
2010-03-24 18:04                                 ` [devel] Q: --no-copy-dt-needed-entries Dmitry V. Levin
2010-03-24 18:24                                   ` Alexey Tourbin [this message]
2010-03-24 19:01                                     ` Kirill A. Shutemov
2010-03-24 22:01                                       ` Dmitry V. Levin
2010-03-25 17:14                                         ` Michael Shigorin
2010-03-24 18:15                         ` Dmitry V. Levin
2010-03-24 18:24                           ` Kirill A. Shutemov
2010-03-24 18:28                             ` Dmitry V. Levin
2010-03-24 18:40                               ` Kirill A. Shutemov
2010-03-22 14:48                 ` [devel] Q: --no-add-needed Stanislav Ievlev

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=20100324182459.GJ8193@altlinux.org \
    --to=at@altlinux.ru \
    --cc=devel@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 Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

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


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