Re: ZFS patches for FreeBSD.

From: Andriy Gapon <avg_at_icyb.net.ua>
Date: Thu, 16 Nov 2006 21:15:22 +0200
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
Received on Thu Nov 16 2006 - 18:15:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:02 UTC