public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug driver/63837] New: [5 Regression] r217391 causes kernel build errors with GCC_COMPARE_DEBUG=1
@ 2014-11-12 18:07 trippels at gcc dot gnu.org
  2014-11-12 23:56 ` [Bug driver/63837] " manu at gcc dot gnu.org
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: trippels at gcc dot gnu.org @ 2014-11-12 18:07 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63837

            Bug ID: 63837
           Summary: [5 Regression] r217391 causes kernel build errors with
                    GCC_COMPARE_DEBUG=1
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: driver
          Assignee: unassigned at gcc dot gnu.org
          Reporter: trippels at gcc dot gnu.org
                CC: manu at gcc dot gnu.org

For example:

trippels@gcc2-power8 linux-3.17.2 % GCC_COMPARE_DEBUG=1 make
CC="/home/trippels/gcc_bisect/usr/local/bin/gcc -Werror -std=gnu89"
  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/bin2c
  CC      kernel/bounds.s
  GEN     include/generated/bounds.h
  CC      arch/powerpc/kernel/asm-offsets.s
In file included from include/linux/kobject.h:21:0,
                 from include/linux/device.h:17,
                 from include/linux/node.h:17,
                 from include/linux/swap.h:10,
                 from include/linux/suspend.h:4,
                 from arch/powerpc/kernel/asm-offsets.c:24:
include/linux/sysfs.h: In function ‘sysfs_get_dirent’:
include/linux/sysfs.h:457:37: error: pointer targets in passing argument 2 of
‘kernfs_find_and_get’ differ in signedness [-Werror=pointer-sign]
  return kernfs_find_and_get(parent, name);
                                     ^
In file included from include/linux/cgroup.h:23:0,
                 from include/linux/memcontrol.h:22,
                 from include/linux/swap.h:8,
                 from include/linux/suspend.h:4,
                 from arch/powerpc/kernel/asm-offsets.c:24:
include/linux/kernfs.h:411:1: note: expected ‘const char *’ but argument is of
type ‘const unsigned char *’
 kernfs_find_and_get(struct kernfs_node *kn, const char *name)
 ^
cc1: all warnings being treated as errors
make[1]: *** [arch/powerpc/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2

Without GCC_COMPARE_DEBUG=1 the kernel builds fine.
Started with r217391.
>From gcc-bugs-return-466547-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 12 18:10:47 2014
Return-Path: <gcc-bugs-return-466547-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9070 invoked by alias); 12 Nov 2014 18:10:44 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 8678 invoked by uid 48); 12 Nov 2014 18:10:37 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/63835] ICE on valid code at -Os and above on x86_64-linux-gnu
Date: Wed, 12 Nov 2014 18:10:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-63835-4-WAAEGwV6eh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63835-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63835-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-11/txt/msg01019.txt.bz2
Content-length: 531

https://gcc.gnu.org/bugzilla/show_bug.cgi?idc835

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE
   Target Milestone|---                         |5.0

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
Dup.

*** This bug has been marked as a duplicate of bug 63821 ***


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2014-11-19 18:38 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-12 18:07 [Bug driver/63837] New: [5 Regression] r217391 causes kernel build errors with GCC_COMPARE_DEBUG=1 trippels at gcc dot gnu.org
2014-11-12 23:56 ` [Bug driver/63837] " manu at gcc dot gnu.org
2014-11-13  2:41 ` trippels at gcc dot gnu.org
2014-11-13  2:47 ` pinskia at gcc dot gnu.org
2014-11-13  9:21 ` rguenth at gcc dot gnu.org
2014-11-13  9:57 ` trippels at gcc dot gnu.org
2014-11-13 13:36 ` manu at gcc dot gnu.org
2014-11-13 13:49 ` trippels at gcc dot gnu.org
2014-11-15  7:11 ` pinskia at gcc dot gnu.org
2014-11-15 11:16 ` manu at gcc dot gnu.org
2014-11-16 22:03 ` trippels at gcc dot gnu.org
2014-11-17 21:24 ` jakub at gcc dot gnu.org
2014-11-19 15:34 ` manu at gcc dot gnu.org
2014-11-19 15:40 ` trippels at gcc dot gnu.org
2014-11-19 16:38 ` jakub at gcc dot gnu.org
2014-11-19 18:12 ` jakub at gcc dot gnu.org
2014-11-19 18:38 ` trippels at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).