bugrdiff-backup - Bugs: bug #24172, Building rdiff-backup from source...

 
 

bug #24172: Building rdiff-backup from source include debug symbols

Submitted by:  None
Submitted on:  Sun 31 Aug 2008 04:52:14 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Invalid
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 31 Aug 2008 05:35:52 PM UTC, comment #1:

Those options are set by Python's distutils to make sure that the modules are compiled correctly for the local machine. Rdiff-backup's setup files don't specify any debug options.

I believe the -g option is necessary to make the stacktraces work through the C module. By allowing those stacktraces to exist for all users, many users have posted their problems to the mailing list and numerous bugs have been closed.

If you're concerned about rdiff-backup's performance, dropping the debugging symbols unfortunately won't provide any noticeable (or perhaps even measurable) change. :-)

Andrew Ferguson <owsla>
Project Administrator
Sun 31 Aug 2008 04:52:14 PM UTC, original submission:

Building rdiff-backup from source include debug symbols. Running, e.g. "python setup.py build" combines "-DNDEBUG -O2 -g". Does it make sense to strip assertions, optimize the code but include debug symbols in a default build?

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by owsla (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 31 Aug 2008 05:35:52 PM UTCowslaStatusNone=>Invalid
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1