ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] автогенерация debug-пакетов в rpm
Date: Wed, 22 Apr 2009 00:28:30 +0400
Message-ID: <20090421202829.GV9391@altlinux.org> (raw)
In-Reply-To: <20090421183235.GF28945@snowwhite.immo>

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

On Tue, Apr 21, 2009 at 10:32:35PM +0400, Pavlov Konstantin wrote:
> On Tue, Apr 21, 2009 at 10:18:18PM +0400, Alexey Tourbin wrote:
> > > Что скажут ув. мантейнеры rpm?
> > 
> > Не знаю стоит это делать или нет.
> > 
> > Там сделано как.  Автоматически генерируется левый пакет %name-debuginfo.
> > То есть прямо как бо вставляется в спекфайлу.
> > 
> > #       Template for debug information sub-package.
> > %debug_package \
> > %ifnarch noarch\
> > %global __debug_package 1\
> > %package debug\
> > Summary: Debug information for package %{name}\
> > Group: Development/Debug\
> > AutoReqProv: 0\
> > %description debug\
> > This package provides debug information for package %{name}.\
> > Debug information is useful when developing applications that use this\
> > package or when debugging this package.\
> > %files debug -f debugfiles.list\
> > %defattr(-,root,root)\
> > %endif\
> > %{nil}
> 
> Да, это было ясно. Не вижу большой проблемы в этом.

Okay, let's talk about global *-debuginfo support.  First off,
we need to pass -g to the compiler.  Assuming that -g does not
alter optimization, there are two ways to plug -g:

1) in %optflags; the problem is that %optflags are not always used,
and for this reason there is a second option:

2) in gcc spec, implicitly, like __chk_printf/--as-needed etc.

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

  reply	other threads:[~2009-04-21 20:28 UTC|newest]

Thread overview: 61+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-16 12:27 [devel] *-gdb пакеты Max Ivanov
2009-04-21 13:37 ` Pavlov Konstantin
2009-04-21 14:24   ` [devel] автогенерация debug-пакетов в rpm Pavlov Konstantin
2009-04-21 18:18     ` Alexey Tourbin
2009-04-21 18:28       ` Alexey I. Froloff
2009-04-21 18:32       ` Pavlov Konstantin
2009-04-21 20:28         ` Alexey Tourbin [this message]
2009-05-02 17:24           ` Andrey Rahmatullin
2009-04-21 20:34       ` Mikhail Gusarov
2009-04-27  8:58     ` Денис Смирнов
2009-04-27 22:01       ` Хихин Руслан
2009-04-28  6:23       ` Slava Semushin
2009-05-03 17:55     ` Andrey Rahmatullin
2010-08-05 17:00       ` Dmitry V. Levin
2010-08-07  3:29         ` Kirill A. Shutemov
2010-08-07  9:36           ` Andrey Rahmatullin
2010-08-07 11:05             ` Kirill A. Shutemov
2010-08-07 14:11               ` Andrey Rahmatullin
2010-08-08  4:56                 ` Денис Смирнов
2010-08-08  7:27                   ` Andrey Rahmatullin
2010-08-08 16:32                     ` Денис Смирнов
2010-08-07 16:49               ` Alexey Tourbin
2010-08-07 18:38               ` Michael Shigorin
2010-08-07 18:41                 ` Andrey Rahmatullin
2010-08-07 18:50                   ` Michael Shigorin
2010-08-07 18:55                     ` Andrey Rahmatullin
2010-08-07 19:29                     ` Led
2010-08-08  4:32                       ` Денис Смирнов
2010-08-07 19:35                     ` Kirill A. Shutemov
2010-08-07 19:44                       ` Michael Shigorin
2010-08-07 19:45                         ` Andrey Rahmatullin
2010-08-07 19:48                           ` Michael Shigorin
2010-08-07 13:57             ` Dmitry V. Levin
2010-08-07 14:09               ` Andrey Rahmatullin
2010-08-07 14:12                 ` Andrey Rahmatullin
2010-08-09 23:14           ` Kirill A. Shutemov
2010-08-11  0:28             ` Dmitry V. Levin
2010-08-11  1:11               ` Kirill A. Shutemov
2010-08-11  1:35                 ` Kirill A. Shutemov
2010-08-11 13:52                 ` Dmitry V. Levin
2010-08-12  0:09                   ` Kirill A. Shutemov
2010-08-12  0:35                     ` Dmitry V. Levin
2010-08-11 15:02           ` [devel] перевод rpm на свежий beecrypt Dmitry V. Levin
2010-08-11 19:08             ` Kirill A. Shutemov
2010-08-11 19:34               ` Dmitry V. Levin
2010-08-12  0:06                 ` Kirill A. Shutemov
2010-08-12 16:22                   ` Dmitry V. Levin
2010-08-12 21:07                     ` Dmitry V. Levin
2010-08-12 21:48                       ` Kirill A. Shutemov
2010-08-04 21:18 [devel] base2 <-> base62 Alexey Tourbin
2010-08-04 21:26 ` Dmitry V. Levin
2010-08-04 21:38   ` Alexey Tourbin
2010-08-04 22:05     ` Dmitry V. Levin
2010-08-05  7:41       ` Alexey Tourbin
2010-08-05 12:44         ` Денис Смирнов
2010-08-06 13:17         ` Alexey Tourbin
2010-08-06 14:26           ` Alexey Tourbin
2010-08-06 15:43             ` Sergey Vlasov
2010-08-10 10:50               ` Alexey Tourbin
2010-08-05 13:07 ` Alexander Bokovoy
2010-08-05 14:48   ` 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=20090421202829.GV9391@altlinux.org \
    --to=at@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