Debian Bug report logs - #668949
false positive with -Werror=array-bounds

version graph

Package: gcc-4.6; Maintainer for gcc-4.6 is Debian GCC Maintainers <debian-gcc@lists.debian.org>; Source for gcc-4.6 is src:gcc-4.6.

Reported by: debian-bsd@lists.debian.org

Date: Fri, 23 Mar 2012 17:54:02 UTC

Severity: normal

Tags: fixed-upstream, jessie, sid, upstream, wheezy

Found in versions gcc-4.6/4.6.3-1, gcc-4.7/4.7.1-2, gcc-4.6/4.6.3-8

Forwarded to http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45978

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Information forwarded to debian-bugs-dist@lists.debian.org, debian-bsd@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#665390; Package src:xserver-xorg-input-mouse. (Fri, 23 Mar 2012 17:54:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to debian-bsd@lists.debian.org:
Extra info received and forwarded to list. Copy sent to debian-bsd@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>. (Fri, 23 Mar 2012 17:54:05 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Christoph Egger <christoph@debian.org>
To: submit@bugs.debian.org
Subject: xserver-xorg-input-mouse: FTBFS[kfreebsd-amd64]:
Date: Fri, 23 Mar 2012 18:51:57 +0100
Package: src:xserver-xorg-input-mouse
Version: 1:1.7.2-1
Severity: serious
Tags: sid wheezy
User: debian-bsd@lists.debian.org
Usertags: kfreebsd
X-Debbugs-Cc: debian-bsd@lists.debian.org
Justification: fails to build from source (but built successfully in the past)

Hi!

Your package failed to build on the kfreebsd-amd64 buildds:

  CC     bsd_mouse.lo
In file included from /usr/include/xorg/privates.h:145:0,
                 from /usr/include/xorg/cursor.h:54,
                 from /usr/include/xorg/scrnintstr.h:54,
                 from /usr/include/xorg/xf86str.h:39,
                 from /usr/include/xorg/xf86.h:44,
                 from ../../src/bsd_mouse.c:32:
/usr/include/xorg/dix.h:532:22: warning: redundant redeclaration of 'ffs' [-Wredundant-decls]
../../src/bsd_mouse.c: In function 'CheckProtocol':
../../src/bsd_mouse.c:142:30: error: array subscript is above array bounds [-Werror=array-bounds]
cc1: some warnings being treated as errors
make[3]: *** [bsd_mouse.lo] Error 1

Full build log at
https://buildd.debian.org/status/fetch.php?pkg=xserver-xorg-input-mouse&arch=kfreebsd-amd64&ver=1%3A1.7.2-1&stamp=1332204550

Regards

    Christoph

If you have further questions please mail debian-bsd@lists.debian.org
-- 
9FED 5C6C E206 B70A 5857  70CA 9655 22B9 D49A E731
Debian Developer | Lisp Hacker | CaCert Assurer




Information forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#665390; Package src:xserver-xorg-input-mouse. (Sun, 15 Apr 2012 23:45:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Robert Millan <rmh@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (Sun, 15 Apr 2012 23:45:03 GMT) Full text and rfc822 format available.

Message #10 received at 665390@bugs.debian.org (full text, mbox):

From: Robert Millan <rmh@debian.org>
To: 665390@bugs.debian.org
Cc: gcc-4.6@packages.debian.org
Subject: patch
Date: Mon, 16 Apr 2012 01:41:12 +0200
[Message part 1 (text/plain, inline)]
clone 665390 -1
user debian-bsd@lists.debian.org
usertag -1 - kfreebsd
severity -1 normal
retitle -1 false positive with -Werror=array-bounds
reassign -1 gcc-4.6 4.6.3-1
tags 665390 patch
thanks

This looks like a GCC bug.  You can use attached patch as workaround
(should also be slightly faster).

-- 
Robert Millan
[xserver-xorg-mouse.diff (application/octet-stream, attachment)]

Bug 665390 cloned as bug 668949 Request was from Robert Millan <rmh@debian.org> to control@bugs.debian.org. (Sun, 15 Apr 2012 23:45:05 GMT) Full text and rfc822 format available.

Severity set to 'normal' from 'serious' Request was from Robert Millan <rmh@debian.org> to control@bugs.debian.org. (Sun, 15 Apr 2012 23:45:05 GMT) Full text and rfc822 format available.

Changed Bug title to 'false positive with -Werror=array-bounds' from 'xserver-xorg-input-mouse: FTBFS[kfreebsd-amd64]:' Request was from Robert Millan <rmh@debian.org> to control@bugs.debian.org. (Sun, 15 Apr 2012 23:45:06 GMT) Full text and rfc822 format available.

Bug reassigned from package 'src:xserver-xorg-input-mouse' to 'gcc-4.6'. Request was from Robert Millan <rmh@debian.org> to control@bugs.debian.org. (Sun, 15 Apr 2012 23:45:07 GMT) Full text and rfc822 format available.

No longer marked as found in versions xserver-xorg-input-mouse/1:1.7.2-1. Request was from Robert Millan <rmh@debian.org> to control@bugs.debian.org. (Sun, 15 Apr 2012 23:45:08 GMT) Full text and rfc822 format available.

Marked as found in versions gcc-4.6/4.6.3-1. Request was from Robert Millan <rmh@debian.org> to control@bugs.debian.org. (Sun, 15 Apr 2012 23:45:08 GMT) Full text and rfc822 format available.

Added tag(s) upstream. Request was from Steven Chamberlain <steven@pyro.eu.org> to control@bugs.debian.org. (Mon, 16 Jul 2012 00:21:03 GMT) Full text and rfc822 format available.

Set Bug forwarded-to-address to 'http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45978'. Request was from Steven Chamberlain <steven@pyro.eu.org> to control@bugs.debian.org. (Mon, 16 Jul 2012 00:21:04 GMT) Full text and rfc822 format available.

Added indication that 668949 affects src:xserver-xorg-input-mouse Request was from Steven Chamberlain <steven@pyro.eu.org> to control@bugs.debian.org. (Mon, 16 Jul 2012 00:21:04 GMT) Full text and rfc822 format available.

Marked as found in versions gcc-4.6/4.6.3-8. Request was from Steven Chamberlain <steven@pyro.eu.org> to control@bugs.debian.org. (Mon, 16 Jul 2012 01:33:05 GMT) Full text and rfc822 format available.

Marked as found in versions gcc-4.7/4.7.1-2. Request was from Steven Chamberlain <steven@pyro.eu.org> to control@bugs.debian.org. (Mon, 16 Jul 2012 01:33:05 GMT) Full text and rfc822 format available.

Added tag(s) jessie. Request was from Julien Cristau <jcristau@debian.org> to control@bugs.debian.org. (Thu, 18 Apr 2013 17:34:07 GMT) Full text and rfc822 format available.

Added tag(s) fixed-upstream. Request was from bts-link-upstream@lists.alioth.debian.org to control@bugs.debian.org. (Thu, 18 Apr 2013 19:48:56 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Apr 17 05:09:19 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.