From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QIj4W-0006xc-If for garchives@archives.gentoo.org; Sat, 07 May 2011 15:05:32 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8F65D1C04A; Sat, 7 May 2011 15:05:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 329B11C00D for ; Sat, 7 May 2011 15:04:49 +0000 (UTC) Received: from [192.168.1.11] (ip-78-102-201-136.net.upcbroadband.cz [78.102.201.136]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: scarabeus) by smtp.gentoo.org (Postfix) with ESMTPSA id 5D9091B4041 for ; Sat, 7 May 2011 15:04:48 +0000 (UTC) Message-ID: <4DC55F8B.5060707@gentoo.org> Date: Sat, 07 May 2011 17:04:43 +0200 From: =?UTF-8?B?VG9tw6HFoSBDaHbDoXRhbA==?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110506 Lightning/1.0b3pre Thunderbird/3.1.10 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] RFC: remove annoying "You should enable -g (or higher) for debugging!" message References: <4DC55514.9040602@gentoo.org> In-Reply-To: <4DC55514.9040602@gentoo.org> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: d2f7c70cf0f5b742d8103892e9298c83 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dne 7.5.2011 16:20, "Pawe=C5=82 Hajdan, Jr." napsal(a): > 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. >=20 > I wonder if we can remove that file. It has been added 3 years ago: >=20 > >=20 > 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: >=20 > * 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 >=20 > 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. >=20 > What do you think about removing > gentoo-x86/profiles/targets/developer/profile.bashrc file? >=20 I would preffer to see there -ggdb and FEATURES=3Dsplitdebug to be honest= . -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk3FX4sACgkQHB6c3gNBRYdxGACglTvsumBWP2k3EHqTsUn35HRP jXUAoKSPfXIqFcPDeQ5XtnAHutggf9bH =3DjABx -----END PGP SIGNATURE-----