ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] I: illegal RPATH: out of standard library tree paths
Date: Tue, 13 Dec 2011 15:17:33 +0400
Message-ID: <20111213111733.GC5638@altlinux.org> (raw)
In-Reply-To: <4EE6C9D7.70406@kemsu.ru>

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

On Tue, Dec 13, 2011 at 09:43:19AM +0600, REAL wrote:
> 12.12.2011 20:33, Dmitry V. Levin пишет:
> >Я предлагаю считать запредельные пути в 
> >RPATH ошибками,
> >приводящими к ошибке сборки в режиме 
> >проверки rpath=normal.
> 
> > readelf -a /usr/lib/petsc-real/lib/libanamod.so.0 |grep RPATH
> 0x0000000f (RPATH)                      Library rpath: 
> [/usr/lib/petsc-real/lib:/usr/lib/openmpi/lib]
> 
> Не вижу тут ничего запредельного, именно 
> такой RPATH у данной библиотеки и должен 
> быть. Считать это ошибкой считаю 
> моветоном :)

Это, возможно, и не ошибка.  По крайней мере, это не ошибка одного из трех
типов, о которых идет речь.  Однако /usr/lib/petsc-real/lib/libanamod.so.0
не единственная библиотека в пакете libsalsa-real, собирающемся из
salsa-real, и там ошибки есть:

$ sed -n '/^verify-elf: WARNING: [^:]\+: RPATH entry contains ":": / s///p' salsa-real-2.01-alt2.svn20100714 |sort -u
/usr/lib/petsc-real/lib:/usr/lib/openmpi/lib
/usr/lib/petsc-real/lib:/usr/lib:/usr/lib/openmpi/lib:/usr:/usr/lib64/oski:/usr/lib64/gcc/x86_64-alt-linux/4.5.1:/usr/path=/usr/lib/openmpi/lib:/usr/lib64/oski:path=/usr/lib/openmpi/lib

Первая строка - это RPATH собранных библиотек, вроде libanamod.so.0.
Вторая строка - это RPATH собранных утилит, таких как
/usr/lib/petsc-real/testing/syspro/u4 из пакета salsa-real-tests,
и в этом RPATH чего только нет: и /usr, и
/usr/lib64/gcc/x86_64-alt-linux/4.5.1, и даже
/usr/path=/usr/lib/openmpi/lib с path=/usr/lib/openmpi/lib.


-- 
ldv

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

  reply	other threads:[~2011-12-13 11:17 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-12 13:47 [devel] I: illegal RPATH, introduction Dmitry V. Levin
2011-12-12 14:12 ` [devel] I: illegal RPATH: relative paths Dmitry V. Levin
2011-12-12 18:01   ` Igor Vlasenko
2011-12-13  3:40     ` REAL
2011-12-13  4:18       ` Damir Shayhutdinov
2011-12-13  5:52         ` REAL
2011-12-13  6:50           ` Damir Shayhutdinov
2011-12-13  7:56             ` REAL
2011-12-13 11:06               ` Dmitry V. Levin
2011-12-13 12:11                 ` REAL
2011-12-13 17:24               ` Michael Shigorin
2011-12-13 11:30     ` Dmitry V. Levin
2011-12-13 12:33       ` REAL
2011-12-13 16:01       ` Dmitry V. Levin
2011-12-13 16:11         ` Денис Смирнов
2011-12-13 16:46           ` Damir Shayhutdinov
2011-12-14  6:44             ` Денис Смирнов
2011-12-14  8:53               ` Sergey Y. Afonin
2011-12-14 10:07                 ` REAL
2011-12-14 11:09                   ` Michael Shigorin
2011-12-14 12:11                     ` REAL
2011-12-13 17:25       ` Michael Shigorin
2011-12-13 17:32         ` Dmitry V. Levin
2011-12-13 19:17           ` Michael Shigorin
2011-12-13 21:29       ` Dmitry V. Levin
2011-12-13  3:37   ` REAL
2011-12-21 10:55   ` Michael Shigorin
2011-12-31 15:43     ` Yuri N. Sedunov
2011-12-12 14:33 ` [devel] I: illegal RPATH: out of standard library tree paths Dmitry V. Levin
2011-12-13  3:43   ` REAL
2011-12-13 11:17     ` Dmitry V. Levin [this message]
2011-12-13 12:25       ` REAL
2011-12-12 14:57 ` [devel] I: illegal RPATH: paths to standard libraries Dmitry V. Levin

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=20111213111733.GC5638@altlinux.org \
    --to=ldv@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