Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: "Paweł Hajdan, Jr." <phajdan.jr@g.o>
Subject: Re: RFC: remove annoying "You should enable -g (or higher) for debugging!" message
Date: Wed, 08 Jun 2011 15:37:14 +0200
On 5/7/11 4:20 PM, "Paweł Hajdan, Jr." wrote:
> 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?
> 

FYI: I went ahead and committed the change. Enjoy a slightly simpler
developer profile!

Attachment:
signature.asc (OpenPGP digital signature)
References:
RFC: remove annoying "You should enable -g (or higher) for debugging!" message
-- Paweł Hajdan, Jr.
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: RFC: remove annoying "You should enable -g (or higher) for debugging!" message
Next by thread:
Automated Package Removal and Addition Tracker, for the week ending 2011-05-08 23h59 UTC
Previous by date:
Re: Reducing glibc's default locale.gen
Next by date:
Re: RFC: removal of <net-print/foo2zjs-99999999 (earlier versions are fubar)


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.