Date: Sun, 4 Nov 2018 13:58:53 -0500 From: Michael Butler <imb@protected-networks.net> To: freebsd-current <freebsd-current@freebsd.org>, oshogbo@freebsd.org Subject: Re: -current build failure after SVN r340130 Message-ID: <88b9d179-4213-aaf7-eb95-922cc692cd0b@protected-networks.net> In-Reply-To: <9903596d-bc55-9551-fde7-0a0c428ecfc0@protected-networks.net> References: <9903596d-bc55-9551-fde7-0a0c428ecfc0@protected-networks.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Confirmed to be fixed by SVN r340134 - thanks!
On 11/4/18 1:50 PM, Michael Butler wrote:
> ===> libexec/dma/dma-mbox-create (all)
> Building
> /usr/obj/usr/src/amd64.amd64/libexec/dma/dma-mbox-create/dma-mbox-create.o
> In file included from /usr/src/contrib/dma/dma-mbox-create.c:51:
> /usr/obj/usr/src/amd64.amd64/tmp/usr/include/capsicum_helpers.h:161:1:
> error: all paths through this function will call itself
> [-Werror,-Winfinite-recursion]
> {
> ^
> 1 error generated.
> *** [dma-mbox-create.o] Error code 1
>
> make[5]: stopped in /usr/src/libexec/dma/dma-mbox-create
>
> The broken function seems to call itself .. ??
>
> static __inline int
> caph_fcntls_limit(int fd, uint32_t fcntlrights)
> {
>
> if (caph_fcntls_limit(fd, fcntlrights) < 0 && errno != ENOSYS)
> return (-1);
>
> return (0);
> }
>
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?88b9d179-4213-aaf7-eb95-922cc692cd0b>
