From owner-freebsd-arm@FreeBSD.ORG Wed Jan 12 23:26:12 2011 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 74471106564A; Wed, 12 Jan 2011 23:26:12 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id 344298FC0A; Wed, 12 Jan 2011 23:26:12 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:ad12:cd35:37ca:55ad] (unknown [IPv6:2001:7b8:3a7:0:ad12:cd35:37ca:55ad]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 22B345C5A; Thu, 13 Jan 2011 00:26:11 +0100 (CET) Message-ID: <4D2E3894.2080507@FreeBSD.org> Date: Thu, 13 Jan 2011 00:26:12 +0100 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.14pre) Gecko/20110109 Lanikai/3.1.8pre MIME-Version: 1.0 To: Matthew Fleming References: <201101122220.p0CMKowD048188@freebsd-current.sentex.ca> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: arm@freebsd.org, FreeBSD Tinderbox , current@freebsd.org Subject: Re: [head tinderbox] failure on arm/arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jan 2011 23:26:12 -0000 On 2011-01-12 23:26, Matthew Fleming wrote: > This is me, but I'm rather puzzled why it's failing. > > SYSCTL_UQUAD is in the sys/sysctl.h for the image we're building. And > why is there a file with SYSCTL_FOO being built as a library? > > Any help? During the build of cddl/lib/libzpool, it looks like sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c includes cddl/contrib/opensolaris/lib/libzpool/common/sys/zfs_context.h (which is meant for userspace) at the top, and the latter contains: #define SYSCTL_DECL(...) #define SYSCTL_NODE(...) #define SYSCTL_INT(...) #define SYSCTL_UINT(...) #define SYSCTL_ULONG(...) #define SYSCTL_QUAD(...) as stubs for kernel calls that do not matter for a userspace library. However, it misses the corresponding definition for SYSCTL_UQUAD.