From owner-freebsd-fs@FreeBSD.ORG Tue Mar 6 15:04:02 2007 Return-Path: X-Original-To: freebsd-fs@FreeBSD.org Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BE4CC16A405 for ; Tue, 6 Mar 2007 15:04:02 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.freebsd.org (Postfix) with ESMTP id 799E213C4BF for ; Tue, 6 Mar 2007 15:04:00 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by cs1.cs.huji.ac.il with esmtp id 1HOad5-000Iru-So; Tue, 06 Mar 2007 16:27:03 +0200 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: freebsd-fs@FreeBSD.org In-reply-to: Your message of Sun, 4 Mar 2007 13:38:01 +0100 . Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 06 Mar 2007 16:27:03 +0200 From: Danny Braniss Message-ID: Cc: freebsd-current@FreeBSD.org Subject: Re: ZFS port to FreeBSD: 2nd patchset available. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 15:04:02 -0000 Hi Pawel, patches applied cleanly, no .rej. after fixing Makefile1.inc I managed to make buildworld, then applied Yoshihiro Ota fix, but now I'm stuck in buildkernel, mainly because im using a Freebsd 6.2 to cross compile. the make failes in src/sys/modules/zfs because /r+d/7.0/src/sys/modules/zfs/../ ../compat/opensolaris/kern/opensolaris_condvar.c is including /usr/include/machine/signal.h which is from 6.2 instead. the fix is: diff -bru src/sys/modules/zfs/Makefile{.orig,} --- src/sys/modules/zfs/Makefile.orig Tue Mar 6 15:49:49 2007 +++ src/sys/modules/zfs/Makefile Tue Mar 6 15:50:01 2007 @@ -85,7 +85,7 @@ CFLAGS+=-I${.CURDIR}/../../../contrib/opensolaris/common/zfs CFLAGS+=-I${.CURDIR}/../../../contrib/opensolaris/common # -CFLAGS+=-I/usr/include +CFLAGS+=-I${.CURDIR}/../../../include CFLAGS+=-O1 #CFLAGS+=-DKTR now, it fails with /r+d/7.0/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/rpc/xdr.c: In function `xdr_bytes': /r+d/7.0/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/rpc/xdr.c:497 : warning: cast to pointer from integer of different size /r+d/7.0/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/rpc/xdr.c: In function `xdr_string': /r+d/7.0/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/rpc/xdr.c:627 : warning: cast to pointer from integer of different size *** Error code 1 hum, does this copile for amd64? danny