ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: Re: [devel] glibc/ld.so
Date: Thu, 14 Apr 2005 02:29:38 +0400
Message-ID: <20050413222938.GA22926@basalt.office.altlinux.org> (raw)
In-Reply-To: <20050413182612.GN5985@lrn.ru>

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

On Wed, Apr 13, 2005 at 10:26:12PM +0400, Anton D. Kachalov wrote:
> Найди 10 отличий:
> 
> $
> /home/mouse/hasher/chroot/usr/src/RPM/tmp/glibc-buildroot/lib64/ld-linux-x86-64.so.2
> --library-path
> /home/mouse/hasher/chroot/usr/src/RPM/tmp/glibc-buildroot/usr/lib64
> /usr/bin/perl -MO=PerlReq
> /home/mouse/hasher/chroot/usr/src/RPM/tmp/glibc-buildroot/usr/bin/mtrace
> Segmentation fault
> 
> $
> /home/mouse/hasher/chroot/usr/src/RPM/tmp/glibc-buildroot/lib64/ld-linux-x86-64.so.2
> --library-path
> /home/mouse/hasher/chroot/usr/src/RPM/tmp/glibc-buildroot/lib64:~/hasher/chroot/usr/src/RPM/tmp/glibc-buildroot/usr/lib64
> /usr/bin/perl -MO=PerlReq
> /home/mouse/hasher/chroot/usr/src/RPM/tmp/glibc-buildroot/usr/bin/mtrace
> /home/mouse/hasher/chroot/usr/src/RPM/tmp/glibc-buildroot/usr/bin/mtrace
> syntax OK
> 
> $ /lib64/ld-linux-x86-64.so.2 --library-path
> /home/mouse/hasher/chroot/usr/src/RPM/tmp/glibc-buildroot/lib64:~/hasher/chroot/usr/src/RPM/tmp/glibc-buildroot/usr/lib64
> /usr/bin/perl -MO=PerlReq
> /home/mouse/hasher/chroot/usr/src/RPM/tmp/glibc-buildroot/usr/bin/mtrace
> Segmentation fault
> 
> Т.е. проблема в том, что ты зря выставляешь LD_LIBRARY_PATH в perl.req.

Это намёк на 2 факта:

1. Добавлять %_libdir в LD_LIBRARY_PATH недостаточно, ибо есть ещё /%_lib.

2. Для использования свежесобранной glibc, как правило, использование
  свежесобранного же ld.so является необходимым требованием, нарушение
  которого грозит SIGSEGV'ами.
  Этот факт стоит иметь в виду всем, кто собирает или планирует собирать
  glibc.


-- 
ldv

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

  reply	other threads:[~2005-04-13 22:29 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-12 21:42 [devel] Q: deparse failed Anton D. Kachalov
2005-04-12 23:56 ` [devel] " Alexey Tourbin
2005-04-13  0:35 ` Alexey Tourbin
2005-04-13  6:53   ` Anton D. Kachalov
2005-04-13 16:05     ` Alexey Tourbin
2005-04-13 16:18       ` Alexey Tourbin
2005-04-13 18:26         ` Anton D. Kachalov
2005-04-13 22:29           ` Dmitry V. Levin [this message]
2005-04-14  5:22             ` [devel] Re: glibc/ld.so Alexey Tourbin
2005-04-14 10:46               ` Dmitry V. Levin
2005-04-14  5:15           ` [devel] Re: Q: deparse failed Alexey Tourbin
2005-04-15  7:19           ` Alexey Tourbin

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=20050413222938.GA22926@basalt.office.altlinux.org \
    --to=ldv@altlinux.org \
    --cc=devel@altlinux.ru \
    /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