[krbdev.mit.edu #7080] failures to compile src/lib/krb5/krb/x-deltat.y with GCC 4.7

The RT System itself via RT rt-comment at krbdev.mit.edu
Mon Jan 23 18:00:47 EST 2012


>From krb5-bugs-incoming-bounces at PCH.mit.edu  Mon Jan 23 18:00:40 2012
Return-Path: <krb5-bugs-incoming-bounces at PCH.mit.edu>
Received: from pch.mit.edu (PCH.MIT.EDU [18.7.21.90])
	by krbdev.mit.edu (Postfix) with ESMTP id 61CE13DC75;
	Mon, 23 Jan 2012 18:00:40 -0500 (EST)
Received: from pch.mit.edu (pch.mit.edu [127.0.0.1])
	by pch.mit.edu (8.13.6/8.12.8) with ESMTP id q0NN0eFX017874;
	Mon, 23 Jan 2012 18:00:40 -0500
Received: from mailhub-dmz-3.mit.edu (MAILHUB-DMZ-3.MIT.EDU [18.9.21.42])
	by pch.mit.edu (8.13.6/8.12.8) with ESMTP id q0NMtbrW017178
	for <krb5-bugs-incoming at PCH.mit.edu>; Mon, 23 Jan 2012 17:55:37 -0500
Received: from dmz-mailsec-scanner-8.mit.edu (DMZ-MAILSEC-SCANNER-8.MIT.EDU
	[18.7.68.37])
	by mailhub-dmz-3.mit.edu (8.13.8/8.9.2) with ESMTP id q0NMtVMp021960
	for <krb5-bugs at mit.edu>; Mon, 23 Jan 2012 17:55:37 -0500
X-AuditID: 12074425-b7f4a6d0000008e0-40-4f1de56769ca
Authentication-Results: symauth.service.identifier; spf=pass; senderid=pass
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28])
	by dmz-mailsec-scanner-8.mit.edu (Symantec Messaging Gateway) with SMTP
	id F7.A0.02272.765ED1F4; Mon, 23 Jan 2012 17:55:36 -0500 (EST)
Received: from int-mx09.intmail.prod.int.phx2.redhat.com
	(int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q0NMtYrq001516
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK)
	for <krb5-bugs at mit.edu>; Mon, 23 Jan 2012 17:55:34 -0500
Received: from blade.bos.redhat.com (blade.bos.redhat.com [10.16.184.36])
	by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id q0NMtYUh027028
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <krb5-bugs at mit.edu>; Mon, 23 Jan 2012 17:55:34 -0500
Received: from blade.bos.redhat.com (localhost.localdomain [127.0.0.1])
	by blade.bos.redhat.com (8.14.5/8.14.5) with ESMTP id q0NMtXHa014393
	for <krb5-bugs at mit.edu>; Mon, 23 Jan 2012 17:55:33 -0500
Received: (from nalin at localhost)
	by blade.bos.redhat.com (8.14.5/8.14.5/Submit) id q0NMtXkh014392;
	Mon, 23 Jan 2012 17:55:33 -0500
Date: Mon, 23 Jan 2012 17:55:33 -0500
Message-Id: <201201232255.q0NMtXkh014392 at blade.bos.redhat.com>
To: krb5-bugs at mit.edu
Subject: compilation error with GCC 4.7
From: nalin at redhat.com
X-send-pr-version: 3.99
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpileJIrShJLcpLzFFi42K52LJdRjfjqay/waSVBhYND4+zOzB6NJ05
	yhzAGMVlk5Kak1mWWqRvl8CV8XPZZ+aCJ+wVPbsvsDUwHmXrYuTkkBAwkbiwYSE7iM0o4C3x
	5upxdoi4mMSFe+uBarg4hAROMEqs2jEFytnEJPGq9z4ThLOUSeL58q/MEM5JRonr74+zQjht
	jBLrP7SydDFycLAIqEo8nBQJMpdXwE6id9oGsB0iAqISL/8eYwGxhQXUJc7/OsEMYrMB7b4x
	7xQriC0kwCnRvWgPI4jNLMAi8efNBhaI+8Qldmw/DXWrtsSpjd/ZJzAKLmBkWMUom5JbpZub
	mJlTnJqsW5ycmJeXWqRroZebWaKXmlK6iREYaELsLqo7GCccUjrEKMDBqMTDKzFT1l+INbGs
	uDL3EKMkB5OSKO/++0AhvqT8lMqMxOKM+KLSnNTiQ4wSHMxKIrxq54ByvCmJlVWpRfkwKWkO
	FiVxXk2td35CAumJJanZqakFqUUwWSYO9kOMMhwcShK8v58AdQsWpaanVqRl5pQgq+EEEVwg
	a3iA1jiAFPIWFyTmFmemQxSdYtTluPCr7TyjEEtefl6qlDjvF5AiAZCijNI8uGGgpFH/////
	S4yyUsK8jAwMDEI8QNcAAwEhD0o6rxjFgQEgzNsDMoUnM68EbtMroCOYgI7gyJMCOaIkESEl
	1cAo1DFxOt9qk4cu27Zn9ZmKSV1MOrXm+bYIM8WtIsna75WbzJ4Fxr6ca3D/h3r1xI9Hp8X9
	l51zQp9r39aIPfveRGxvWPz/4t1vi272cjdsPvHZrMRg3ZyqHOa9Hm5PM4oy25M7NpSvFry/
	0HdLYEpMSdFj3bNONdKsRb9ZneSqGGKTnfdctJmlxFKckWioxVxUnAgAMcld7hUDAAA=
X-Mailman-Approved-At: Mon, 23 Jan 2012 18:00:39 -0500
X-BeenThere: krb5-bugs-incoming at mailman.mit.edu
X-Mailman-Version: 2.1.6
Precedence: list
Sender: krb5-bugs-incoming-bounces at PCH.mit.edu
Errors-To: krb5-bugs-incoming-bounces at PCH.mit.edu


>Submitter-Id:	net
>Originator:	
>Organization:
>Confidential:	no
>Synopsis:	failures to compile src/lib/krb5/krb/x-deltat.y with GCC 4.7
>Severity:	non-critical
>Priority:	medium
>Category:	krb5-libs
>Class:		change-request
>Release:	1.10-beta1
>Environment:
	
System: Linux blade.bos.redhat.com 3.2.1-5.fc17.x86_64 #1 SMP Tue Jan 17 18:57:18 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Architecture: x86_64

>Description:
	When building the krb5 tree with the newer version of GCC in Fedora's
	development tree, we trigger its new "maybe-uninitialized" warning in
	yyparse() in src/lib/krb5/krb/x-deltat.y:
	deltat.c:1731:12: error: ‘yylval’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
>Fix:
	We already suppress the "uninitialized" warning in the generated .c
	file by using a #pragma, and we can suppress this one by adding 
	    #pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
	right after the existing one for "-Wuninitialized".



More information about the krb5-bugs mailing list