ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Grigory Batalov <bga@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] ldd check (was: incoming i586 reject: ipw3945d-1.7.19-alt1)
Date: Thu, 22 Jun 2006 23:45:13 +0400
Message-ID: <20060622234513.386f5f8c.bga@altlinux.ru> (raw)
In-Reply-To: <20060622185258.GE6065@localhost.localdomain>

On Thu, 22 Jun 2006 22:52:58 +0400
Alexey Tourbin <at@altlinux.ru> wrote:

> > А что это за проверка при помощи ldd и как с ней бороться?
> > На моей машине ldd выдаёт следующее:
> > 
> > $ ldd ipw3945d 
> >         linux-gate.so.1 =>  (0xffffe000)
> >         libc.so.6 => /lib/libc.so.6 (0xb7ded000)
> >         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
> > 
> > В чём тут криминал?
> 
> Воспроизводится.
> 
> [builder@mash ipw3945d-buildroot]$ file ./usr/sbin/ipw3945d
> ./usr/sbin/ipw3945d: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), stripped
> [builder@mash ipw3945d-buildroot]$ ldd ./usr/sbin/ipw3945d
>         not a dynamic executable

 Я тоже так могу =)

$ file ./usr/sbin/ipw3945d
./usr/sbin/ipw3945d: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), stripped

$ ldd ./usr/sbin/ipw3945d
        linux-gate.so.1 =>  (0xffffe000)
        libc.so.6 => /lib/libc.so.6 (0xb7e16000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

$ md5sum ./usr/sbin/ipw3945d
c4dfca74d6c9aa45843d7cd863c95786  ./usr/sbin/ipw3945d

 А какая у Вас md5-сумма? И на какой архитектуре проверяете?

 Поясню вопрос: в исходном пакете ipw3945d лежат два бинарника (увы),
 второй - для x86_64. На моей машине (i686) "not a dynamic executable"
 пишут именно про него.

 Скопировал его на vbga64 через malta.altlinux.ru и вот что вижу:

$ md5sum ipw3945d
b4fb13a924a561dd860b7a5391a0fefc  ipw3945d

$ ldd ipw3945d 
        libc.so.6 => /lib64/libc.so.6 (0x00002aaaaaab0000)
        /lib64/ld-linux-x86-64.so.2 (0x0000555555554000)

 Аналогично, бинарник для x86 на x86_64 не является
 "dynamic executable".

-- 
 Григорий Баталов,
 программист
 ЗАО "Ланит-Терком"


  reply	other threads:[~2006-06-22 19:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-22 14:07 Grigory Batalov
2006-06-22 18:52 ` Alexey Tourbin
2006-06-22 19:45   ` Grigory Batalov [this message]
2006-06-22 20:02     ` Alexey Tourbin
2006-06-22 21:02     ` Dmitry V. Levin
2006-06-22 19:54   ` [devel] ldd check for foreign ELF executables Dmitry V. Levin
2006-06-23  6:00     ` Anton Farygin

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=20060622234513.386f5f8c.bga@altlinux.ru \
    --to=bga@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