Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Sep 2010 01:55:51 -0700
From:      Rob Farmer <rfarmer@predatorlabs.net>
To:        Pawel Jakub Dawidek <pjd@freebsd.org>
Cc:        freebsd-fs@freebsd.org, freebsd-current@freebsd.org
Subject:   Re: ZFS v28 is ready for wider testing.
Message-ID:  <AANLkTim=Tiwo115ML07yJarOjKA%2BMr-4uYwpV-m6xxi6@mail.gmail.com>
In-Reply-To: <20100831215915.GE1932@garage.freebsd.pl>
References:  <20100831215915.GE1932@garage.freebsd.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 31, 2010 at 2:59 PM, Pawel Jakub Dawidek <pjd@freebsd.org> wrot=
e:
>
> Ok, now that I know you read everything carefully, here is the patch:
>
> =A0 =A0 =A0 =A0http://people.freebsd.org/~pjd/patches/zfs_20100831.patch.=
bz2
>

buildworld on i386 (yes I know ZFS isn't ideal there):

=3D=3D=3D> cddl/lib/libdtrace (all)
cc -O2 -fno-strict-aliasing -pipe -march=3Dprescott
-I/usr/obj/usr/src/cddl/lib/libdtrace -I/usr/src/cddl/lib/libdtrace
-I/usr/src/cddl/lib/libdtrace/../../../sys/cddl/dev/dtrace/i386
-I/usr/src/cddl/lib/libdtrace/../../../sys/cddl/compat/opensolaris
-I/usr/src/cddl/lib/libdtrace/../../../cddl/compat/opensolaris/include
 -I/usr/src/cddl/lib/libdtrace/../../../cddl/contrib/opensolaris/head
-I/usr/src/cddl/lib/libdtrace/../../../cddl/contrib/opensolaris/lib/libctf/=
common
 -I/usr/src/cddl/lib/libdtrace/../../../cddl/contrib/opensolaris/lib/libdtr=
ace/common
 -I/usr/src/cddl/lib/libdtrace/../../../sys/cddl/contrib/opensolaris/uts/co=
mmon
-I/usr/src/cddl/lib/libdtrace/../../../sys/cddl/contrib/opensolaris/uts/int=
el
-DDIS_MEM -DNEED_SOLARIS_BOOLEAN -std=3Dgnu89 -fstack-protector
-Wsystem-headers -Werror -Wno-pointer-sign -Wno-unknown-pragmas -c
/usr/src/cddl/lib/libdtrace/../../../cddl/contrib/opensolaris/lib/libdtrace=
/common/dt_aggregate.c
In file included from
/usr/src/cddl/lib/libdtrace/../../../sys/cddl/compat/opensolaris/sys/bitmap=
.h:36,
                 from
/usr/src/cddl/lib/libdtrace/../../../cddl/contrib/opensolaris/lib/libdtrace=
/common/dt_impl.h:33,
                 from
/usr/src/cddl/lib/libdtrace/../../../cddl/contrib/opensolaris/lib/libdtrace=
/common/dt_aggregate.c:33:
/usr/src/cddl/lib/libdtrace/../../../sys/cddl/compat/opensolaris/sys/atomic=
.h:132:
error: static declaration of 'atomic_cas_ptr' follows non-static
declaration
/usr/src/cddl/lib/libdtrace/../../../sys/cddl/compat/opensolaris/sys/atomic=
.h:42:
error: previous declaration of 'atomic_cas_ptr' was here
cc1: warnings being treated as errors
/usr/src/cddl/lib/libdtrace/../../../sys/cddl/compat/opensolaris/sys/atomic=
.h:
In function 'atomic_cas_ptr':
/usr/src/cddl/lib/libdtrace/../../../sys/cddl/compat/opensolaris/sys/atomic=
.h:133:
warning: cast from pointer to integer of different size
/usr/src/cddl/lib/libdtrace/../../../sys/cddl/compat/opensolaris/sys/atomic=
.h:134:
warning: cast from pointer to integer of different size
/usr/src/cddl/lib/libdtrace/../../../sys/cddl/compat/opensolaris/sys/atomic=
.h:134:
warning: passing argument 1 of 'atomic_cas_32' from incompatible
pointer type
/usr/src/cddl/lib/libdtrace/../../../sys/cddl/compat/opensolaris/sys/atomic=
.h:134:
warning: cast to pointer from integer of different size
*** Error code 1

I tried applying the patch to r212087 to rule out recent changes to
dtrace, but it made no difference. I used patch -E -p0 < patch.

--=20
Rob Farmer



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTim=Tiwo115ML07yJarOjKA%2BMr-4uYwpV-m6xxi6>