From owner-freebsd-current@FreeBSD.ORG Fri Sep 3 06:57:17 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4D8D10656BE; Fri, 3 Sep 2010 06:57:17 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4DF968FC17; Fri, 3 Sep 2010 06:57:17 +0000 (UTC) Received: by ywt2 with SMTP id 2so673085ywt.13 for ; Thu, 02 Sep 2010 23:57:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type; bh=Btf58SC1LUliEg2iiDdbIl8ZFLmi56NZ1jXy/DW4xoI=; b=IJsiD8J5jxe6AhS+W2St4dLB0ZbARIVbK9jB/xMJDaiiNa7ldC85FTPpSb8ahxdQjn rOKQFxA/LUvjoDyIMAEyhJ7hkeTUMtyVxBszMEeZhdUdJ+s3XvsCkS17OBBMuGlV+hpa vcNeEOg31xspTSGr0SZJII7SzJbUEMiyq24PA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type; b=Bfdh/5uQTf1I9YHYgI/9nws4xz4d6LrFEwmRreTOw3Za64VkM5Cy+De1tV28ngP4es o5c5tqwnRtG1+Zfy6wdf43rcR6fXvET9FTOKxtR3iQRcRQYce3ZWYG3MYdnva1ufy4X3 cWAU7yI3kXrGK27xdE8JTEOvsdxvLFt1uWYFU= Received: by 10.151.85.4 with SMTP id n4mr434890ybl.66.1283497036483; Thu, 02 Sep 2010 23:57:16 -0700 (PDT) Received: from centel.dataix.local ([99.181.137.20]) by mx.google.com with ESMTPS id v6sm3128528ybm.11.2010.09.02.23.57.13 (version=SSLv3 cipher=RC4-MD5); Thu, 02 Sep 2010 23:57:15 -0700 (PDT) Sender: "J. Hellenthal" Message-ID: <4C809C3F.10706@DataIX.net> Date: Fri, 03 Sep 2010 02:57:03 -0400 From: jhell User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.8) Gecko/20100806 Lightning/1.0b1 Thunderbird MIME-Version: 1.0 To: Rob Farmer References: <20100831215915.GE1932@garage.freebsd.pl> In-Reply-To: X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig62313E93F16F60022DDAC2FA" Cc: freebsd-fs@freebsd.org, freebsd-current@freebsd.org Subject: Re: ZFS v28 is ready for wider testing. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Sep 2010 06:57:17 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig62313E93F16F60022DDAC2FA Content-Type: multipart/mixed; boundary="------------000108090209070800040508" This is a multi-part message in MIME format. --------------000108090209070800040508 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 09/02/2010 04:55, Rob Farmer wrote: >=20 > 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 Hi Rob, I see that in your build error are a bunch of things to do with atomic.h and I recalled a patch from pjd@ on current@ that he sent in the same thread. I attached the downloaded patch. Maybe you can write back and site if it helped at all so people have a reference. Regards, --=20 jhell,v --------------000108090209070800040508 Content-Type: text/plain; name="atomic.h.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="atomic.h.patch" --- sys/cddl/compat/opensolaris/sys/atomic.h +++ sys/cddl/compat/opensolaris/sys/atomic.h @@ -39,10 +39,9 @@ #ifndef __LP64__ extern void atomic_add_64(volatile uint64_t *target, int64_t delta); extern void atomic_dec_64(volatile uint64_t *target); -extern void *atomic_cas_ptr(volatile void *target, void *cmp, void *new= val); #endif #ifndef __sparc64__ -extern uint64_t atomic_cas_32(volatile uint32_t *target, uint32_t cmp, +extern uint32_t atomic_cas_32(volatile uint32_t *target, uint32_t cmp, uint32_t newval); extern uint64_t atomic_cas_64(volatile uint64_t *target, uint64_t cmp, uint64_t newval); @@ -119,21 +118,19 @@ } =20 #ifndef COMPAT_32BIT -#if defined(__LP64__) +#ifdef __LP64__ static __inline void * atomic_cas_ptr(volatile void *target, void *cmp, void *newval) { - return ((void *)atomic_cas_64((volatile uint64_t *)target, (uint64_t)cm= p, - (uint64_t)newval)); + return ((void *)atomic_cas_64(target, (uint64_t)cmp, (uint64_t)newval))= ; } #else static __inline void * atomic_cas_ptr(volatile void *target, void *cmp, void *newval) { - return ((void *)atomic_cas_32((volatile uint64_t *)target, (uint64_t)cm= p, - (uint64_t)newval)); + return ((void *)atomic_cas_32(target, (uint32_t)cmp, (uint32_t)newval))= ; } #endif -#endif +#endif /* !COMPAT_32BIT */ =20 #endif /* !_OPENSOLARIS_SYS_ATOMIC_H_ */ --------------000108090209070800040508-- --------------enig62313E93F16F60022DDAC2FA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJMgJxGAAoJEJBXh4mJ2FR+sEoH/0GeSafbV/bBE62OejKnryVk 3eSKAap2xC8YnOVNNQckPTAJ82ArZprJ3YF6UssjVvYZZky6oZuJpP+SQ1ipzBtE 9CGUwo3jVqt44CJt3ARRef2DyegIPyZYg8MnTBsqAJsThDbgW+Q8ndKqlc1Ja902 uUHyVtU1Nfz6P7CMZJUZ1Jk93ZJAONIdMXAJ1kcCqar4O43a0tfPVNuE1XUfgnbO 00xZCxiP2ZZOcfoMvMDD6ZxdeuwA7tc/sDp4DehC8gGGSvuL1SjFeRh3xoPuuihT YeiU5dLj3AWt8mANW6JbAmyw+3s0w9QP5wRPbb3aXVukbMPW2EdYgesWHaadcZw= =ce0L -----END PGP SIGNATURE----- --------------enig62313E93F16F60022DDAC2FA--