From owner-freebsd-fs@FreeBSD.ORG Thu Nov 16 19:15:41 2006 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 167C516A415; Thu, 16 Nov 2006 19:15:41 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8581443D7B; Thu, 16 Nov 2006 19:15:33 +0000 (GMT) (envelope-from avg@icyb.net.ua) Received: from [212.40.38.87] (oddity-e.topspin.kiev.ua [212.40.38.87]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id VAA07294; Thu, 16 Nov 2006 21:15:24 +0200 (EET) (envelope-from avg@icyb.net.ua) Message-ID: <455CB8CA.8040603@icyb.net.ua> Date: Thu, 16 Nov 2006 21:15:22 +0200 From: Andriy Gapon User-Agent: Thunderbird 1.5.0.8 (X11/20061113) MIME-Version: 1.0 To: Doug Ambrisko References: <1163701391.00638085.1163691003@10.7.7.3> In-Reply-To: <1163701391.00638085.1163691003@10.7.7.3> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org, freebsd-current@freebsd.org Subject: Re: ZFS patches for FreeBSD. 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: Thu, 16 Nov 2006 19:15:41 -0000 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. -- Andriy Gapon