FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Development

 
 
LinkBack Thread Tools
 
Old 05-07-2011, 02:20 PM
"Paweł Hajdan, Jr."
 
Default RFC: remove annoying "You should enable -g (or higher) for debugging!" message

This is mostly a nit-like RFC. The developer profile adds a
profile.bashrc, which prints the "You should enable -g (or higher) for
debugging!" message when "-g" is not in CFLAGS.

I wonder if we can remove that file. It has been added 3 years ago:

<http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/profiles/targets/developer/profile.bashrc?view=markup>

It is not obvious from looking at emerge output what prints this
message, it doesn't fit well with the rest of the output, and may be
easy to miss:

* USE: elibc_glibc gtk kernel_linux test userland_GNU x86
* FEATURES: sandbox splitdebug test userpriv usersandbox
You should enable -g (or higher) for debugging!
>>> Unpacking source...
>>> Unpacking mtr-0.80.tar.gz to /var/tmp/portage/net-analyzer/mtr-0.80/work

I think it is not necessary for every developer to add "-g" to CFLAGS -
the main point is to have any symbols at all, not just
to-the-file-and-line-precise debugging info. If the latter is needed,
the developer will obviously know what to do.

What do you think about removing
gentoo-x86/profiles/targets/developer/profile.bashrc file?
 

Thread Tools




All times are GMT. The time now is 07:19 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ę2007 - 2008, www.linux-archive.org