Re: SVN r327433 fails to build

From: Herbert J. Skuhra <herbert_at_gojira.at>
Date: Sun, 31 Dec 2017 18:35:24 +0100
On Sun, 31 Dec 2017 15:19:21 +0100,
Michael Butler <imb_at_protected-networks.net> wrote:
> 
> An include file change? I couldn't see the cause :-(
> 
> The last successful build I have is at SVN r327392.
> 
> ===> lib/libprocstat (obj,all,install)
> Building /usr/obj/usr/src/amd64.amd64/lib/libprocstat/zfs/zfs.o
> In file included from /usr/src/lib/libprocstat/zfs.c:41:
> /usr/src/cddl/contrib/opensolaris/lib/libzpool/common/sys/zfs_context.h:217:9:
> error: 'curthread' macro redefined [-Werror,-Wmacro-redefined]
> #define curthread       ((void *)(uintptr_t)thr_self())
>         ^
> /usr/obj/usr/src/amd64.amd64/tmp/usr/include/machine/pcpu.h:230:9: note:
> previous definition is here
> #define curthread               (__curthread())
>         ^
> In file included from /usr/src/lib/libprocstat/zfs.c:41:
> /usr/src/cddl/contrib/opensolaris/lib/libzpool/common/sys/zfs_context.h:236:9:
> error: 'curproc' macro redefined [-Werror,-Wmacro-redefined]
> #define curproc         (&p0)
>         ^
> /usr/obj/usr/src/amd64.amd64/tmp/usr/include/sys/pcpu.h:200:9: note:
> previous definition is here
> #define curproc         (curthread->td_proc)
>         ^
> 2 errors generated.

This is caused by

------------------------------------------------------------------------
r327429 | cperciva | 2017-12-31 10:23:35 +0100 (Sun, 31 Dec 2017) | 2 lines

Use the TSLOG framework to record entry/exit timestamps for VFS_MOUNT calls.

------------------------------------------------------------------------

--
Herbert
Received on Sun Dec 31 2017 - 16:35:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:14 UTC