* [devel] запретить Stripping binaries при сборке
@ 2008-08-27 10:44 Sergey Y. Afonin
2008-08-27 10:53 ` Alexey Tourbin
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Sergey Y. Afonin @ 2008-08-27 10:44 UTC (permalink / raw)
To: ALT Linux Team development discussions
Приветствую.
А как-то средствами rpm можно запретить stripping при сборке ?
--
С уважением, Сергей Афонин
asy@altlinux.ru
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [devel] запретить Stripping binaries при сборке
2008-08-27 10:44 [devel] запретить Stripping binaries при сборке Sergey Y. Afonin
@ 2008-08-27 10:53 ` Alexey Tourbin
2008-08-27 10:56 ` Alexey Tourbin
2008-08-27 10:59 ` Kirill A. Shutemov
2008-08-27 11:03 ` Alexey I. Froloff
2 siblings, 1 reply; 6+ messages in thread
From: Alexey Tourbin @ 2008-08-27 10:53 UTC (permalink / raw)
To: ALT Linux Team development discussions
[-- Attachment #1: Type: text/plain, Size: 216 bytes --]
On Wed, Aug 27, 2008 at 03:44:18PM +0500, Sergey Y. Afonin wrote:
> А как-то средствами rpm можно запретить stripping при сборке ?
$ rpm -ql rpm rpm-build |xargs fgrep -i strip_method
%set_strip_method none
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [devel] запретить Stripping binaries при сборке
2008-08-27 10:53 ` Alexey Tourbin
@ 2008-08-27 10:56 ` Alexey Tourbin
2008-08-27 11:51 ` Sergey Y. Afonin
0 siblings, 1 reply; 6+ messages in thread
From: Alexey Tourbin @ 2008-08-27 10:56 UTC (permalink / raw)
To: ALT Linux Team development discussions
[-- Attachment #1: Type: text/plain, Size: 475 bytes --]
On Wed, Aug 27, 2008 at 02:53:42PM +0400, Alexey Tourbin wrote:
> On Wed, Aug 27, 2008 at 03:44:18PM +0500, Sergey Y. Afonin wrote:
> > А как-то средствами rpm можно запретить stripping при сборке ?
>
> $ rpm -ql rpm rpm-build |xargs fgrep -i strip_method
> %set_strip_method none
Можно сразу собирать 'rpmbuild --enable debug', тогда, помимо
%set_strip_method none, будет также использоваться %optflags_debug
вместо %optflags_optimization (т.е. -g вместо -O2).
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [devel] запретить Stripping binaries при сборке
2008-08-27 10:44 [devel] запретить Stripping binaries при сборке Sergey Y. Afonin
2008-08-27 10:53 ` Alexey Tourbin
@ 2008-08-27 10:59 ` Kirill A. Shutemov
2008-08-27 11:03 ` Alexey I. Froloff
2 siblings, 0 replies; 6+ messages in thread
From: Kirill A. Shutemov @ 2008-08-27 10:59 UTC (permalink / raw)
To: ALT Linux Team development discussions
[-- Attachment #1: Type: text/plain, Size: 428 bytes --]
On Wed, Aug 27, 2008 at 03:44:18PM +0500, Sergey Y. Afonin wrote:
> Приветствую.
>
> А как-то средствами rpm можно запретить stripping при сборке ?
Если нужно не стрипать определённый бинарники -- тогда %add_strip_skiplist
--
Regards, Kirill A. Shutemov
+ Belarus, Minsk
+ ALT Linux Team, http://www.altlinux.com/
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [devel] запретить Stripping binaries при сборке
2008-08-27 10:44 [devel] запретить Stripping binaries при сборке Sergey Y. Afonin
2008-08-27 10:53 ` Alexey Tourbin
2008-08-27 10:59 ` Kirill A. Shutemov
@ 2008-08-27 11:03 ` Alexey I. Froloff
2 siblings, 0 replies; 6+ messages in thread
From: Alexey I. Froloff @ 2008-08-27 11:03 UTC (permalink / raw)
To: ALT Devel discussion list
[-- Attachment #1: Type: text/plain, Size: 163 bytes --]
* Sergey Y. Afonin <asy@> [080827 14:49]:
> А как-то средствами rpm можно запретить stripping при сборке ?
%set_strip_method none
--
Regards,
Sir Raorn.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [devel] запретить Stripping binaries при сборке
2008-08-27 10:56 ` Alexey Tourbin
@ 2008-08-27 11:51 ` Sergey Y. Afonin
0 siblings, 0 replies; 6+ messages in thread
From: Sergey Y. Afonin @ 2008-08-27 11:51 UTC (permalink / raw)
To: ALT Linux Team development discussions
On Wednesday 27 August 2008, Alexey Tourbin wrote:
> Можно сразу собирать 'rpmbuild --enable debug', тогда, помимо
> %set_strip_method none, будет также использоваться %optflags_debug
> вместо %optflags_optimization (т.е. -g вместо -O2).
Спасибо.
--
С уважением, Сергей Афонин
asy@altlinux.ru
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-08-27 11:51 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-27 10:44 [devel] запретить Stripping binaries при сборке Sergey Y. Afonin
2008-08-27 10:53 ` Alexey Tourbin
2008-08-27 10:56 ` Alexey Tourbin
2008-08-27 11:51 ` Sergey Y. Afonin
2008-08-27 10:59 ` Kirill A. Shutemov
2008-08-27 11:03 ` Alexey I. Froloff
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