Date: Fri, 25 May 2007 12:08:06 GMT From: Artem Naluzhny<tut@nhamon.com.ua> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/112989: [PATCH] sysutils/fusefs-kmod is broken with gcc42 Message-ID: <200705251208.l4PC86Bn091064@www.freebsd.org> Resent-Message-ID: <200705251210.l4PCA5Xd041548@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705251208.l4PC86Bn091064>