bugGNUstep - Bugs: bug #34658, gnustep-make defaults to debug=no;...

Group
 
 

bug #34658: gnustep-make defaults to debug=no; default should be debug=yes

Submitter:  Eric Wasylishen <ericw>
Submitted:  Wed 26 Oct 2011 01:41:05 AM UTC
   
 
Category:  Makefiles Severity:  3 - Normal
Item Group:  Change Request Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Analyzed
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 26 Oct 2011 06:13:59 PM UTC, comment #2: 

Ok, thanks for the info.

I think it would be a good idea to turn on that option by default, because in my experience, it is standard that when you install a free software library from the source tarball, it will build with debug symbols by default.

Eric Wasylishen <ericw>
Group Member
Wed 26 Oct 2011 10:47:47 AM UTC, comment #1: 

This depends on how you configure gnustep-make.  gnustep-make's
configure has the --enable-debug-by-default option.  From the
configure documentation:

--enable-debug-by-default
   Enable building with 'make debug=yes' by default.  When you use
   gnustep-make to build software, you have a choice of using
   debug=yes or debug=no.  The debug=no will use the default compiler
   flags determined when gnustep-make was configured (usually -g -O2),
   while debug=yes will remove the optimization flags and add a
   number of debugging compiler flags.  If you do not specify the
   --enable-debug-by-default option, gnustep-make will default to
   building with debug=no when nothing is specified.  If you
   specify the --enable-debug-by-default option, gnustep-make will
   default to building with debug=yes instead, which can be handy if you
   always want to compile software with debug=yes and want to avoid
   having to type debug=yes each time you compile (an alternative
   is to define the variable debug=yes in your shell).  If you are
   unsure, you should stick with the default and ignore this option.

So, I suppose in your case you have configured gnustep-make with
the wrong option.

Thanks

Nicola Pero <nico>
Group Member
Wed 26 Oct 2011 01:41:05 AM UTC, original submission:  

on a fresh checkout and install of GNUstep, 'make' builds packages without debug info; you need to supply debug=yes to get debug information. debug=yes should be the default in my opinion.
current system is Ubuntu linux 11.10, but I've been noticing this for a while now.

Eric Wasylishen <ericw>
Group Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by nico (Posted a comment)
  • -email is unavailable- added by ericw (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-10-26 nico Open/ClosedOpen Analyzed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code