From: Boris Savelev <boris@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Cc: Alexey Tourbin <at@altlinux.ru>
Subject: Re: [devel] Как пролезли undefined symbol?
Date: Sat, 16 May 2009 12:32:14 +0400
Message-ID: <4d6cc2f20905160132g1993773dk9e0f8002d17140bb@mail.gmail.com> (raw)
In-Reply-To: <20090516082339.GR10323@altlinux.org>
16 мая 2009 г. 12:23 пользователь Alexey Tourbin <at@altlinux.ru> написал:
> On Sat, May 16, 2009 at 11:56:21AM +0400, Max Ivanov wrote:
>> Добрый день! Как такое могло получиться: /usr/lib/mlt/libmltcore.so:
>> undefined symbol: pow
>> столько закручивали гайки, а оно всё равно вот такое пропускает.
>>
>> Пофиксил, отправил, вина моя и посыпаю голову пеплом. Но всё же, может
>> есть какой макрос, что б проверяло на эти самые undefined и не
>> пропускало?
>
> В "плагинах" в общем случае нельзя требовать чтобы все символы были
> непосредственно разрешены.
>
> $ ldd -r /usr/lib64/zsh/zpty.so |& head
> undefined symbol: mypid (/usr/lib64/zsh/zpty.so)
> undefined symbol: lines (/usr/lib64/zsh/zpty.so)
> undefined symbol: errflag (/usr/lib64/zsh/zpty.so)
> undefined symbol: scriptname (/usr/lib64/zsh/zpty.so)
> undefined symbol: coprocin (/usr/lib64/zsh/zpty.so)
> undefined symbol: columns (/usr/lib64/zsh/zpty.so)
> undefined symbol: contflag (/usr/lib64/zsh/zpty.so)
> undefined symbol: retflag (/usr/lib64/zsh/zpty.so)
> undefined symbol: breaks (/usr/lib64/zsh/zpty.so)
> undefined symbol: lastval (/usr/lib64/zsh/zpty.so)
> $
>
> Эти символы определны в /bin/zsh. Для этого /bin/zsh линкуется
> с флагом -rdynamic. Это такая легальная схема, почему в elf shared
> object могут допускаться undefined symbols.
>
> Макрос называется
> %set_verify_elf_method strict
>
а что означает "bad_elf_symbols"?
http://git.altlinux.org/tasks/6284/task/log
--
С уважением, Борис Савельев
next prev parent reply other threads:[~2009-05-16 8:32 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 [this message]
2009-05-16 8:43 ` Alexey Tourbin
2009-05-16 9:09 ` Boris Savelev
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=4d6cc2f20905160132g1993773dk9e0f8002d17140bb@mail.gmail.com \
--to=boris@altlinux.org \
--cc=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