btrfs.test does not compile on SLE_11_SP4
Dmitry V. Levin
ldv at altlinux.org
Fri Jul 29 23:42:30 UTC 2016
Hi,
On Wed, May 18, 2016 at 06:09:42PM -0400, jeffm at suse.com wrote:
[...]
> --- /dev/null
> +++ b/tests/btrfs.c
[...]
> +static void
> +btrfs_test_dev_replace_ioctl(void)
> +{
> + struct btrfs_ioctl_dev_replace_args args = {
> + .cmd = BTRFS_IOCTL_DEV_REPLACE_CMD_START,
> + .start = {
> + .srcdevid = 1,
> + },
> + };
It doesn't compile on SLE_11_SP4 with the following diagnostics:
btrfs.c: In function 'btrfs_test_dev_replace_ioctl':
btrfs.c:1570: error: unknown field 'start' specified in initializer
Either compiler (gcc 4.3.something) is too old or
linux-kernel-headers-3.0-19.18 contains something odd.
The log is at
https://build.opensuse.org/build/home:ldv_alt/SLE_11_SP4/x86_64/strace/_log
Can we deal with this issue on the strace side? Should we bother at all?
--
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20160730/e7321845/attachment.bin>
More information about the Strace-devel
mailing list