Re: ZFS patches for FreeBSD.

From: Max Laier <max_at_love2party.net>
Date: Thu, 16 Nov 2006 20:35:35 +0100
On Thursday 16 November 2006 20:18, Pawel Jakub Dawidek wrote:
> On Thu, Nov 16, 2006 at 07:21:59AM -0800, Doug Ambrisko wrote:
> > 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?
>
> I applied the patch before publishing on clean source and I don't see
> such problem... Interesting thing is that there is no memset() use in
> ZFS kernel source:
>
> 	# grep -r memset sys/ | grep -v zap_memset
> 	#
>
> Does anyone else seeing this problem?

There is an older thread about this problem: 
http://lists.freebsd.org/pipermail/freebsd-stable/2005-March/thread.html#13132

As pointed out by Andriy "struct foo = { 0 }" seems to be the culprit.

-- 
/"\  Best regards,                      | mlaier_at_freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier_at_EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News

Received on Thu Nov 16 2006 - 18:36:00 UTC

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