Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jan 2011 00:26:12 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Matthew Fleming <mdf356@gmail.com>
Cc:        arm@freebsd.org, FreeBSD Tinderbox <tinderbox@freebsd.org>, current@freebsd.org
Subject:   Re: [head tinderbox] failure on arm/arm
Message-ID:  <4D2E3894.2080507@FreeBSD.org>
In-Reply-To: <AANLkTinzJ8jY%2BE-AY%2BLE6dU5GP%2Bf690gFfqbYCq9Tce9@mail.gmail.com>
References:  <201101122220.p0CMKowD048188@freebsd-current.sentex.ca> <AANLkTinzJ8jY%2BE-AY%2BLE6dU5GP%2Bf690gFfqbYCq9Tce9@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D2E3894.2080507>