From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] PIE Executables
Date: Sat, 31 May 2008 03:05:33 +0400
Message-ID: <20080530230533.GD11322@wo.int.altlinux.org> (raw)
In-Reply-To: <200805310200.24336.ledest@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1062 bytes --]
On Sat, May 31, 2008 at 02:00:24AM +0300, Led wrote:
> Saturday, 31 May 2008 01:47:44 Dmitry V. Levin написав:
> > On Thu, May 22, 2008 at 09:50:27AM +0300, Led wrote:
> > > Thursday, 22 May 2008 08:02:03 Kirill A. Shutemov написав:
> >
> > [...]
> >
> > > > Эвристику ломает преждеверменный strip. Опция -s при линковке удаляет
> > > > символ __preinit_array_end по которому shared library отделяется от
> > > > position independed executable.
> > >
> > > Точно! Спасибо!
> > > Надо бы это где-то задокументировать. Потому как ИМХО неочевидно, что
> > > strip при сборке у нас, получается, недопустим :(
> >
> > У нас strip происходит автоматически по окончании %install, поэтому ручной
> > strip не нужен, а иногда бывает и вреден. Например, для debuginfo он
> > смертелен, поэтому FC/RH везде отпатчивают strip.
>
> ИМХО логично.
> А у нас strip не срабатывает в %install, если
> %def_with debug
> или
> %def_enable debug
> ?
При включённом debug автоматический strip блокируется.
Есть ещё %set_strip_method и пр.
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
prev parent reply other threads:[~2008-05-30 23:05 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-21 18:02 Led
2008-05-21 18:16 ` Led
2008-05-21 18:24 ` Andrey Rahmatullin
2008-05-21 19:21 ` Kirill A. Shutemov
2008-05-21 20:44 ` Led
2008-05-21 21:49 ` Dmitry V. Levin
2008-05-21 22:06 ` Led
2008-05-21 22:34 ` Led
2008-05-21 23:41 ` Dmitry V. Levin
2008-05-22 0:04 ` Led
2008-05-22 5:02 ` Kirill A. Shutemov
2008-05-22 6:50 ` Led
2008-05-22 7:14 ` Kirill A. Shutemov
2008-05-22 8:15 ` [devel] [JT] " Andrey Rahmatullin
2008-05-30 22:53 ` [devel] " Dmitry V. Levin
2008-05-31 8:54 ` Kirill A. Shutemov
2008-05-31 10:47 ` Dmitry V. Levin
2008-05-30 22:47 ` Dmitry V. Levin
2008-05-30 23:00 ` Led
2008-05-30 23:05 ` Dmitry V. Levin [this message]
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=20080530230533.GD11322@wo.int.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