From owner-freebsd-ports-bugs@FreeBSD.ORG Fri May 25 12:10:06 2007 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0F27216A46E for ; Fri, 25 May 2007 12:10:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id E24C113C4BA for ; Fri, 25 May 2007 12:10:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l4PCA5BM041549 for ; Fri, 25 May 2007 12:10:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l4PCA5Xd041548; Fri, 25 May 2007 12:10:05 GMT (envelope-from gnats) Resent-Date: Fri, 25 May 2007 12:10:05 GMT Resent-Message-Id: <200705251210.l4PCA5Xd041548@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Artem Naluzhny Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0AB4916A41F for ; Fri, 25 May 2007 12:08:07 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id D269C13C46A for ; Fri, 25 May 2007 12:08:06 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l4PC869K091065 for ; Fri, 25 May 2007 12:08:06 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l4PC86Bn091064; Fri, 25 May 2007 12:08:06 GMT (envelope-from nobody) Message-Id: <200705251208.l4PC86Bn091064@www.freebsd.org> Date: Fri, 25 May 2007 12:08:06 GMT From: Artem Naluzhny To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: ports/112989: [PATCH] sysutils/fusefs-kmod is broken with gcc42 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 May 2007 12:10:06 -0000 >Number: 112989 >Category: ports >Synopsis: [PATCH] sysutils/fusefs-kmod is broken with gcc42 >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri May 25 12:10:05 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Artem Naluzhny >Release: 7.0-CURRENT >Organization: >Environment: FreeBSD tut.intra 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Mon May 21 19:32:01 EEST 2007 root@tut.intra:/usr/obj/usr/src/sys/TUT i386 >Description: .. cc -O -pipe -march=i686 -mtune=k8 -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I../include -I. -Warning: Object directory not changed from original /usr/ports/sysutils/fusefs-kmod/work/fuse4bsd-0.3.0/fuse_module @ -> /usr/src/sys machine -> /usr/src/sys/i386/include awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h cc -O -pipe -march=i686 -mtune=k8 -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I../include -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c fuse.c fuse.c:6095: error: static declaration of 'fuse_vfsconf' follows non-static declaration fuse.c:5977: error: previous declaration of 'fuse_vfsconf' was here *** Error code 1I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c fuse.c fuse.c:6095: error: static declaration of 'fuse_vfsconf' follows non-static declaration fuse.c:5977: error: previous declaration of 'fuse_vfsconf' was here *** Error code 1 >How-To-Repeat: >Fix: diff -ruN fusefs-kmod.bak/files/patch-fuse_module_fuse.c fusefs-kmod/files/patch-fuse_module_fuse.c --- fusefs-kmod.bak/files/patch-fuse_module_fuse.c Thu Sep 28 19:39:42 2006 +++ fusefs-kmod/files/patch-fuse_module_fuse.c Fri May 25 14:56:58 2007 @@ -1,5 +1,5 @@ ---- fuse_module/fuse.c.orig Wed Sep 27 15:49:47 2006 -+++ fuse_module/fuse.c Wed Sep 27 15:52:02 2006 +--- fuse_module/fuse.c.orig Sat Feb 11 00:31:53 2006 ++++ fuse_module/fuse.c Fri May 25 14:54:26 2007 @@ -75,7 +75,7 @@ }; @@ -334,3 +334,12 @@ memcpy(&fuse_germ_vnops, &dead_vnodeops, sizeof(struct vop_vector)); fuse_germ_vnops.vop_access = fuse_germ_access; fuse_germ_vnops.vop_open = fuse_open; +@@ -6089,7 +6092,7 @@ + + /* Registering the module */ + +-static struct vfsconf fuse_vfsconf = { ++struct vfsconf fuse_vfsconf = { + .vfc_version = VFS_VERSION, + .vfc_name = "fusefs", + .vfc_vfsops = &fuse_vfsops, >Release-Note: >Audit-Trail: >Unformatted: