TBH the easiest fix is:

sed -i 's/HAVE_EVENTFD/HAVE_EVENTFD && TS_USE_EPOLL/g' tscore/EventNotify.cc

(That's untested but you get the idea)

But technically you can use the eventfd with kqueue so that code will need
more long term cleanup.

Brian


On Tue, Mar 30, 2021, 12:09 Johan Hendriks <[email protected]> wrote:

>
> On 30/03/2021 18:43, Leif Hedstrom wrote:
>
>
>
> On Mar 30, 2021, at 10:41 AM, Brian Geffon <[email protected]> wrote:
>
> FreeBSD 13 added eventfd(2) [1], which means that the check on
> HAVE_EVENTFD in EventNotify.cc [2] can no longer assume that if you have
> eventfd(2) you also have epoll.
>
>
>
> Ah, nice. Johan, please file an issue on this on Github.
>
> Thanks,
>
> — leif
>
> Done,  i hope this is done the right way as i do not do this a lot.
>
> https://github.com/apache/trafficserver/issues/7656
>
> I can test patches if you like.
>
> regards,
> Johan
>

Reply via email to