From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 22 Apr 2009 00:28:30 +0400 From: Alexey Tourbin To: devel@lists.altlinux.org Message-ID: <20090421202829.GV9391@altlinux.org> Mail-Followup-To: devel@lists.altlinux.org References: <20090421133755.GB28945@snowwhite.immo> <20090421142453.GC28945@snowwhite.immo> <20090421181818.GU9391@altlinux.org> <20090421183235.GF28945@snowwhite.immo> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9xA8aadJAx1hWuKz" Content-Disposition: inline In-Reply-To: <20090421183235.GF28945@snowwhite.immo> Subject: Re: [devel] =?koi8-r?b?wdfUz8fFzsXSwcPJ0SBkZWJ1Zy3QwcvF1M/XINcgcnBt?= X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Apr 2009 20:28:38 -0000 Archived-At: List-Archive: List-Post: --9xA8aadJAx1hWuKz Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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: > > > =FE=D4=CF =D3=CB=C1=D6=D5=D4 =D5=D7. =CD=C1=CE=D4=C5=CA=CE=C5=D2=D9 r= pm? > >=20 > > =EE=C5 =DA=CE=C1=C0 =D3=D4=CF=C9=D4 =DC=D4=CF =C4=C5=CC=C1=D4=D8 =C9=CC= =C9 =CE=C5=D4. > >=20 > > =F4=C1=CD =D3=C4=C5=CC=C1=CE=CF =CB=C1=CB. =E1=D7=D4=CF=CD=C1=D4=C9=DE= =C5=D3=CB=C9 =C7=C5=CE=C5=D2=C9=D2=D5=C5=D4=D3=D1 =CC=C5=D7=D9=CA =D0=C1=CB= =C5=D4 %name-debuginfo. > > =F4=CF =C5=D3=D4=D8 =D0=D2=D1=CD=CF =CB=C1=CB =C2=CF =D7=D3=D4=C1=D7=CC= =D1=C5=D4=D3=D1 =D7 =D3=D0=C5=CB=C6=C1=CA=CC=D5. > >=20 > > # 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} >=20 > =E4=C1, =DC=D4=CF =C2=D9=CC=CF =D1=D3=CE=CF. =EE=C5 =D7=C9=D6=D5 =C2=CF= =CC=D8=DB=CF=CA =D0=D2=CF=C2=CC=C5=CD=D9 =D7 =DC=D4=CF=CD. 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. --9xA8aadJAx1hWuKz Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAknuLG0ACgkQfBKgtDjnu0ZydACeLrb89RUvOsrJRVtPTFgyB7Bc +rQAn2V32Ft8yv6h0EpBHMSEYZypNxCk =44/6 -----END PGP SIGNATURE----- --9xA8aadJAx1hWuKz--