From owner-freebsd-stable@FreeBSD.ORG Thu Jun 3 23:42:31 2010 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 144EE106566B for ; Thu, 3 Jun 2010 23:42:31 +0000 (UTC) (envelope-from freebsdlists@bsdunix.ch) Received: from conversation.bsdunix.ch (ns1.bsdunix.ch [82.220.1.90]) by mx1.freebsd.org (Postfix) with ESMTP id 96A138FC08 for ; Thu, 3 Jun 2010 23:42:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by conversation.bsdunix.ch (Postfix) with ESMTP id 26BFE65F9 for ; Fri, 4 Jun 2010 01:25:00 +0200 (CEST) Received: from conversation.bsdunix.ch ([127.0.0.1]) by localhost (conversation.bsdunix.ch [127.0.0.1]) (amavisd-new, port 10024) with LMTP id si3SPpukp9h2 for ; Fri, 4 Jun 2010 01:24:58 +0200 (CEST) Received: from Tom-iMac.local (dmhd.bsdunix.ch [82.220.17.25]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by conversation.bsdunix.ch (Postfix) with ESMTP id B78086489 for ; Fri, 4 Jun 2010 01:24:58 +0200 (CEST) Message-ID: <4C0839CB.2070802@bsdunix.ch> Date: Fri, 04 Jun 2010 01:24:59 +0200 From: Thomas User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: Subject: Is crunchgen broken? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 23:42:31 -0000 Hello I tryed to use crunchgen. It's not working for me. I always get a NFS4ACL error. root@bert:/usr/src/release/i386# crunchgen boot_crunch.conf Run "make -f boot_crunch.mk" to build crunched binary. (cd /usr/src/sbin/tunefs && make -DRELEASE_CRUNCH -Dlint depend && make -DRELEASE_CRUNCH -Dlint tunefs.o) cc -mtune=native -O2 -fno-strict-aliasing -pipe -march=native -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /usr/src/sbin/tunefs/tunefs.c /usr/src/sbin/tunefs/tunefs.c: In function 'main': /usr/src/sbin/tunefs/tunefs.c:274: error: 'FS_NFS4ACLS' undeclared (first use in this function) /usr/src/sbin/tunefs/tunefs.c:274: error: (Each undeclared identifier is reported only once /usr/src/sbin/tunefs/tunefs.c:274: error: for each function it appears in.) /usr/src/sbin/tunefs/tunefs.c: In function 'printfs': /usr/src/sbin/tunefs/tunefs.c:475: error: 'FS_NFS4ACLS' undeclared (first use in this function) *** Error code 1 Stop in /usr/src/sbin/tunefs. *** Error code 1 root@bert:/usr/src/usr.sbin/crunch/examples# crunchgen kcopy.conf Run "make -f kcopy.mk" to build crunched binary. root@bert:/usr/src/usr.sbin/crunch/examples# make -f kcopy.mk (cd /usr/src/sbin/mount && make depend && make mount.o mount_fs.o getmntopts.o vfslist.o) cc -mtune=native -O2 -fno-strict-aliasing -pipe -march=native -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -c /usr/src/sbin/mount/mount.c /usr/src/sbin/mount/mount.c:114: error: 'MNT_NFS4ACLS' undeclared here (not in a function) /usr/src/sbin/mount/mount.c: In function 'flags2opts': /usr/src/sbin/mount/mount.c:922: error: invalid operands to binary & *** Error code 1 I also tried the example as described in man (1) crunchgen: root@bert:/usr/src/usr.sbin/crunch/examples# crunchgen -m Makefile kcopy.conf Run "make -f Makefile" to build crunched binary. root@bert:/usr/src/usr.sbin/crunch/examples# make objs (cd /usr/src/sbin/mount && make depend && make mount.o mount_fs.o getmntopts.o vfslist.o) cc -mtune=native -O2 -fno-strict-aliasing -pipe -march=native -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -c /usr/src/sbin/mount/mount.c /usr/src/sbin/mount/mount.c:114: error: 'MNT_NFS4ACLS' undeclared here (not in a function) /usr/src/sbin/mount/mount.c: In function 'flags2opts': /usr/src/sbin/mount/mount.c:922: error: invalid operands to binary & How can i fix this? my system: FreeBSD 8.0-STABLE #11: Sun Apr 18 15:55:23 CEST 2010 root@bert/usr/obj/usr/src/sys/GENERIC i386 Regards, Thomas