From owner-freebsd-current@FreeBSD.ORG Fri Jul 18 12:18:14 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A3C2037B401 for ; Fri, 18 Jul 2003 12:18:14 -0700 (PDT) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id BD0C543F93 for ; Fri, 18 Jul 2003 12:18:13 -0700 (PDT) (envelope-from nate@rootlabs.com) Received: (qmail 26398 invoked by uid 1000); 18 Jul 2003 19:18:14 -0000 Date: Fri, 18 Jul 2003 12:18:14 -0700 (PDT) From: Nate Lawson To: current@freebsd.org Message-ID: <20030718121511.I26395@root.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: kan@freebsd.org Subject: warning: inlining failed X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2003 19:18:15 -0000 Warner mentioned this was due to the gcc import. Nearly every part of the kernel that uses newbus or buf.h prints out lots of warnings. Can someone see about fixing this, whether it's by fixing our headers or build flags or gcc itself? I've already wasted a few reboot cycles because valid warnings were lost in the crowd. cc -O -pipe -mcpu=pentiumpro -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -DKLD_MODULE -nostdinc -I- -I. -I@ -I@/dev -I@/../include -I/usr/include -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -c /home/src/sys/modules/ext2fs/../../gnu/ext2fs/ext2_vfsops.c /home/src/sys/gnu/ext2fs/ext2_vfsops.c: In function `compute_sb_data': @/sys/buf.h:281: warning: inlining failed in call to `BUF_LOCK' /home/src/sys/gnu/ext2fs/ext2_vfsops.c:496: warning: called from here /home/src/sys/gnu/ext2fs/ext2_vfsops.c: In function `ext2_unmount': @/sys/buf.h:281: warning: inlining failed in call to `BUF_LOCK' /home/src/sys/gnu/ext2fs/ext2_vfsops.c:774: warning: called from here @/sys/buf.h:281: warning: inlining failed in call to `BUF_LOCK' /home/src/sys/gnu/ext2fs/ext2_vfsops.c:780: warning: called from here @/sys/buf.h:281: warning: inlining failed in call to `BUF_LOCK' /home/src/sys/gnu/ext2fs/ext2_vfsops.c:784: warning: called from here -Nate