From owner-freebsd-current@FreeBSD.ORG Thu Nov 16 20:07:51 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0BF5416A417 for ; Thu, 16 Nov 2006 20:07:51 +0000 (UTC) (envelope-from lists@loveturtle.net) Received: from loveturtle.net (loveturtle.net [216.91.90.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96AFD43D5A for ; Thu, 16 Nov 2006 20:07:19 +0000 (GMT) (envelope-from lists@loveturtle.net) Received: from localhost (localhost [127.0.0.1]) by loveturtle.net (Postfix) with ESMTP id E6E121CC40 for ; Thu, 16 Nov 2006 15:07:18 -0500 (EST) X-Virus-Scanned: amavisd-new at loveturtle.net Received: from loveturtle.net ([127.0.0.1]) by localhost (loveturtle.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AcWxJf5rVowr for ; Thu, 16 Nov 2006 15:07:10 -0500 (EST) Received: from [216.89.228.114] (macpro.loveturtle.net [216.89.228.114]) by loveturtle.net (Postfix) with ESMTP id F373B1CC2F for ; Thu, 16 Nov 2006 15:07:09 -0500 (EST) Message-ID: <455CC4EC.6060906@loveturtle.net> Date: Thu, 16 Nov 2006 15:07:08 -0500 From: Dillon User-Agent: Thunderbird 1.5.0.8 (Macintosh/20061025) MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <1163701391.00638085.1163691003@10.7.7.3> <455CB8CA.8040603@icyb.net.ua> <455CBFD0.2020305@loveturtle.net> In-Reply-To: <455CBFD0.2020305@loveturtle.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: ZFS patches for FreeBSD. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Nov 2006 20:07:51 -0000 Building shit in my vm is too slow to do it again to see if this is what made the difference but i deleted the tree, resynced, patched, and compiled again this time with -O1 instead of -O2 and it's working fine. like i said, i don't know if that is what made the difference or if something was screwed it up in my tree that went away when i deleted, resynced, and repatched but i just thought i'd share that. > > Andriy Gapon wrote: >> on 16/11/2006 17:21 Doug Ambrisko said the following: >> >>> I skipped the mkdir and used patch -p0. Everything looked to compile >>> okay but when I kldload zfs is fails since the kernel doesn't >>> have memset: >>> %kldload zfs >>> link_elf: symbol memset undefined >>> kldload: can't load zfs: No such file or directory >>> % >>> Is there another change required? >>> >> >> Hmm, I saw errors like this with some other 3rd party kernel module when >> its sources had constructs like: >> >> struct some_struct s = {0}; >> >> Changing the above initialization to explicit bzero() call helped in >> that case, but I think that there should be some compiler flags or >> something to handle this. >> >> > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to > "freebsd-current-unsubscribe@freebsd.org"