[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: NDEBUG when building packages?



Quoting Stephen M. Webb (2013-06-07 14:29:52)
> On 06/07/2013 07:34 AM, Kumar Appaiah wrote:
> > 
> > While we're at it, could you please let me know what is the best
> > practice for package builds that generate debug symbol packages?
> > Ideally, I would hapve to rebuild the whole package TWICE, once with
> > -O0 -g, and the other time with -O2, right?
> 
> Having debug symbols not matching the runtime would cause a great deal 
> of trouble.  If you're expecting a lot of debugging, try the new -Og 
> switch.
> 
> One build pass and let dh_strip create the debug symbols package for 
> you.  Unless you're not using dh, in which case your build system is 
> probably already broken and needs to get fixed first.

Fud!

Please support your "dh is a silver bullet" meme with some concrete 
references.


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature


Reply to: