ZFS patches for FreeBSD.

Andriy Gapon avg at icyb.net.ua
Thu Nov 16 11:15:41 PST 2006


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


More information about the freebsd-current mailing list