Skip to content

Fix Io\Poll\Context::wait() epoll_pwait2 detection on x86 (container) - #23478

Open
marc-mabe wants to merge 1 commit into
php:masterfrom
marc-mabe:fix_HAVE_EPOLL_PWAIT2
Open

Fix Io\Poll\Context::wait() epoll_pwait2 detection on x86 (container)#23478
marc-mabe wants to merge 1 commit into
php:masterfrom
marc-mabe:fix_HAVE_EPOLL_PWAIT2

Conversation

@marc-mabe

Copy link
Copy Markdown
Contributor

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 🙈 )

Detect epoll_pwait2 by checking for ENOSYS/ENOTSUP errno before defining HAVE_EPOLL_PWAIT2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant