From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id C13D51392EF for ; Mon, 21 Jul 2014 16:29:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BCE21E0A6A; Mon, 21 Jul 2014 16:29:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CB5D4E09DF for ; Mon, 21 Jul 2014 16:29:10 +0000 (UTC) Received: from [192.168.1.223] (9.146.16.95.dynamic.jazztel.es [95.16.146.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: pacho) by smtp.gentoo.org (Postfix) with ESMTPSA id 5827A33BDE9 for ; Mon, 21 Jul 2014 16:29:09 +0000 (UTC) Message-ID: <1405960143.1013.7.camel@gentoo.org> Subject: Re: [gentoo-dev] Enable format-security in the dev profiles From: Pacho Ramos To: gentoo-dev@lists.gentoo.org Date: Mon, 21 Jul 2014 18:29:03 +0200 In-Reply-To: <20140721172239.041c81c0@marga.jer-c2.orkz.net> References: <5516964.3nUm2NBV30@arcadia> <10199549.yHkUJnuaQ9@arcadia> <20140721172239.041c81c0@marga.jer-c2.orkz.net> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.4 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 Content-Transfer-Encoding: 8bit X-Archives-Salt: 376406b7-04f2-4311-b389-bb85fe8601a4 X-Archives-Hash: 0ed8860fe4fbb5584502b4feed084600 El lun, 21-07-2014 a las 17:22 +0200, Jeroen Roovers escribió: > On Mon, 21 Jul 2014 17:07:24 +0200 > Agostino Sarubbo wrote: > > > I don't see where I asked about -Werror instead of only - > > Wformat. > > It's been enabled in stable GCC for four years and in unstable and the > hardened profiles for much longer so asking about setting it in any > profiles makes no sense. > > In trying to make sense of what you were asking, I thought it might be > helpful to make mention of the -Werror=format-security that /you/ use > in your new bug reports that block bug #259417 now. > > > jer > Is -Werror=format-security so prone to give false warnings currently? I think Fedora and Ubuntu enabled it by default recently: https://fedorahosted.org/fesco/ticket/1185 https://wiki.ubuntu.com/ToolChain/CompilerFlags#A-Wformat_-Wformat-security https://bugzilla.redhat.com/show_bug.cgi?id=1043495