ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Boris Savelev <boris@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Как пролезли undefined symbol?
Date: Sat, 16 May 2009 13:09:10 +0400
Message-ID: <4d6cc2f20905160209r20bef540o3ce444c7ab07a131@mail.gmail.com> (raw)
In-Reply-To: <20090516084313.GS10323@altlinux.org>

16 мая 2009 г. 12:43 пользователь Alexey Tourbin <at@altlinux.ru> написал:
> On Sat, May 16, 2009 at 12:32:14PM +0400, Boris Savelev wrote:
>> а что означает "bad_elf_symbols"?
>> http://git.altlinux.org/tasks/6284/task/log
>
> bad_elf_symbols означает глобальную проверку одновременно для всех
> имеющихся бинариков в репозитарии.  Она сбрабатывает только тогда,
> когда какого-то символа вообще нигде нет.  А если для undefined symbol
> в одном бинарике имеется определение в каком-то другом бинарике, то
> считается что всё нормально.  То есть связи между бинариками она вообще
> не анализирует.
>
> Эта проверка работает так:
> 1) Составляет полный список определенных символов (def) для всех
> бинариков в репозитарии.
> 2) Составляет полный список неопределенных/ссылочных символов (ref) для
> всех бинариков в репозитарии.
> 3) Из ref вычитает def, результат называется bad_elf_symbols.
>
> Наличие bad_elf_symbols обычно означает, что в бинарике содержатся
> вызовы несуществующих функций.  В момент вызова несуществующей функции
> всё упадёт (а с LD_BIND_NOW=1 упадёт сразу же).
>
ааа. дело в том что символы есть, но бинарник с нужными символами не в
%_bindir, а в %_libdir/%name/
из-за этого проверка валится?

-- 
С уважением, Борис Савельев

  reply	other threads:[~2009-05-16  9:09 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-16  7:56 Max Ivanov
2009-05-16  8:00 ` Damir Shayhutdinov
2009-05-16  8:23 ` Alexey Tourbin
2009-05-16  8:32   ` Boris Savelev
2009-05-16  8:43     ` Alexey Tourbin
2009-05-16  9:09       ` Boris Savelev [this message]
2009-05-16  9:21         ` Alexey Tourbin
2009-05-16  9:36           ` Boris Savelev
2009-05-16  9:54             ` Alexey Tourbin
2009-05-16 10:17               ` Boris Savelev
2009-05-16  9:49   ` Max Ivanov
2009-05-16  9:52     ` Mikhail Gusarov

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=4d6cc2f20905160209r20bef540o3ce444c7ab07a131@mail.gmail.com \
    --to=boris@altlinux.org \
    --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