From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?B?VG9tw6HFoSDEjGVjaA==?= Subject: reproducible builds and debugging information Date: Sun, 22 Mar 2015 18:26:32 +0100 Message-ID: <20150322172632.GB3826@venom> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CUfgB8w4ZwR/yMy5" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42116) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZjdz-0000AK-Fd for guix-devel@gnu.org; Sun, 22 Mar 2015 13:26:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YZjdu-0004Yd-CR for guix-devel@gnu.org; Sun, 22 Mar 2015 13:26:35 -0400 Received: from cantor2.suse.de ([195.135.220.15]:40625 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZjdu-0004YW-6v for guix-devel@gnu.org; Sun, 22 Mar 2015 13:26:30 -0400 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 48F3CAD25 for ; Sun, 22 Mar 2015 17:26:29 +0000 (UTC) Content-Disposition: inline List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org --CUfgB8w4ZwR/yMy5 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Hello Guix! I have question about reproducible builds and generating debugging information. As I was tracing curl code, I needed to rebuild the package with "-ggdb" in CFLAGS and enable debug among outputs. The later doesn't change the hash (and the generated code), but the first does. So I'd like to propose to put "-ggdb" to generally applied CFLAGS for whole distribution. I don't know if it will cause any performance penalty, but it would be possible to not only have reproducible builds but also inspect them and debug them... Without it it can be hard to analyze core dumps and trace. WDYT? S_W --CUfgB8w4ZwR/yMy5 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlUO+0YACgkQ37XrCapiVCPivQCeKKnL6dSxBjlFuKimXMtoKN47 NUAAoLF1n1QoiYu5efclTtGzPUbYX3jR =DbiE -----END PGP SIGNATURE----- --CUfgB8w4ZwR/yMy5--