ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] проблемы со сборкой  deadbeef
Date: Tue, 12 Jun 2012 11:57:54 +0400
Message-ID: <20120612075754.GB6639@atlas.home> (raw)
In-Reply-To: <4FD4114C.1050301@gmail.com>

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

On Sun, Jun 10, 2012 at 07:15:24AM +0400, Andrew Clark wrote:
> On 10.06.2012 05:06, REAL wrote:
> > в новом deadbeef используется ассемблер, поэтому имеет смысл в спеке 
> > указать
> > %set_verify_elf_method textrel=relaxed

Видимо, в данном случае так и придётся сделать; пакет libav (откуда и
был вытащен декодер в плагине ffap) собирается тоже с textrel=relaxed.

> А корень проблемы можно узнать? В elf файле наличие какой-то секции 
> проверяется или что?

Ассемблерный код должен быть написан с учётом использования -fPIC,
однако в данном случае для 32-битного кода эта проблема практически не
решаема из-за нехватки регистров.  Для x86_64 использование TEXTREL
запрещено полностью, однако там в наборе команд присутствует адресация
относительно %rip, в результате не требуется занимать дополнительный
регистр для адресации данных (да и самих регистров там доступно
больше).

[off]
  Хотя вообще этот APE в 99% случаев всё равно надо отправлять в
  shntool split -o 'flac ...'.
[/off]

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

  parent reply	other threads:[~2012-06-12  7:57 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-08 16:47 Andrew Clark
2012-06-09 11:31 ` REAL
2012-06-09 19:27   ` Andrew Clark
2012-06-10  1:06     ` REAL
2012-06-10  3:15       ` Andrew Clark
2012-06-10  3:21         ` REAL
2012-06-12  7:57         ` Sergey Vlasov [this message]
2012-06-12  8:04           ` Andrew Clark
2012-06-12  8:19           ` Kirill A. Shutemov

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=20120612075754.GB6639@atlas.home \
    --to=vsu@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