[php-src] PR #23478: Fix Io\Poll\Context::wait() epoll_pwait2 detection on x86 (container)
| From: | marc-mabe | Date: | Thu, 27 Aug 2026 08:29:46 +0000 |
| Subject: | [php-src] PR #23478: Fix Io\Poll\Context::wait() epoll_pwait2 detection on x86 (container) | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-38164@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/23478
Author: marc-mabe
Detect epoll_pwait2 by checking for ENOSYS/ENOTSUP errno before defining HAVE_EPOLL_PWAIT2
Without this additional check HAVE_EPOLL_PWAIT2 got defined on my i386 container but failing
constantly with ENOTSUP.
(via
Mac -> Lima -> Ubuntu + qemu -> docker (linux/amd64) ->
PKG_CONFIG_PATH/CFLAGS/LDFLAGS to i386-linux-gnu/-m32 🙈 )