Skip to content

./configure eventfd support does not also check for existence of flags #93899

Closed

Description

@gha-xena

Bug report

The configure script currently checks if sys/eventfd.h exists, and then later uses that in posixmodule.c here: https://github.com/python/cpython/blob/main/Modules/posixmodule.c#L15465 . The issue comes from that eventfd was introduced in 2.6.22, but EFD_CLOEXEC, EFD_NONBLOCK, EFD_SEMAPHORE were introduced in 2.6.26, 2.6.26 and 2.6.30 respectively and which are assumed to be present.

Your environment

I encountered this on Fedora 10 i386 with kernel version 2.6.27 so build was failing on EFD_SEMAPHORE. I tested this on CPython 3.10.5 and this should be an issue in 3.10 since eventfd was introduced in that version I believe.

Activity

  1. added a commit that references this issue on Jul 27, 2022
  2. added 3 commits that reference this issue on Jul 27, 2022
  3. erlend-aasland commented on Jul 27, 2022

    @erlend-aasland
    Contributor

    Thanks for the report, @gha-xena; thanks for the PR, Kumar!

  4. added 2 commits that reference this issue on Jul 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

3.10 (EOL)end of life3.11only security fixes3.12only security fixestype-bugAn unexpected behavior, bug, or error

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions