From owner-freebsd-bugs@FreeBSD.ORG Sun Sep 1 14:00:02 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 63081600 for ; Sun, 1 Sep 2013 14:00:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5083B2CEE for ; Sun, 1 Sep 2013 14:00:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r81E01DS044496 for ; Sun, 1 Sep 2013 14:00:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r81E01Pk044495; Sun, 1 Sep 2013 14:00:01 GMT (envelope-from gnats) Date: Sun, 1 Sep 2013 14:00:01 GMT Message-Id: <201309011400.r81E01Pk044495@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Moritz Wilhelmy Subject: Re: kern/181710: 9.2-RELENG kernel build with clang fails in vfs X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Moritz Wilhelmy List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Sep 2013 14:00:02 -0000 The following reply was made to PR kern/181710; it has been noted by GNATS. From: Moritz Wilhelmy To: bug-followup@FreeBSD.org Cc: Subject: Re: kern/181710: 9.2-RELENG kernel build with clang fails in vfs Date: Sun, 1 Sep 2013 15:55:52 +0200 Here's another: clang -c -O2 -pipe -fno-strict-aliasing -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-omit-frame-pointer -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror /usr/src/sys/nfsserver/nfs_serv.c /usr/src/sys/nfsserver/nfs_serv.c:3695:2: error: expression result unused [-Werror,-Wunused-value] VFS_STATFS(vp->v_mount, &sb); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/mount.h:743:2: note: expanded from macro 'VFS_STATFS' _rc; }) ^~~ 1 error generated. *** [nfs_serv.o] Error code 1 Stop in /pool/obj/usr/src/sys/JAILHOST. *** [buildkernel] Error code 1 Stop in /usr/src. *** [buildkernel] Error code 1 Stop in /usr/src. I'm sure there's more. I think it might be good to fix these before 9.2?