Skip to content

Perf trampoline fails to build on macOS < 10.12 #140421

@jmroot

Description

@jmroot

Bug report

Bug description:

The code uses clock_gettime which was added in macOS 10.12, and also MAP_ANONYMOUS which is sometimes spelled MAP_ANON. I was initially going to suggest just disabling this feature on the older systems, but actually fixing it for all x86 Macs turned out to be fairly simple, so I'll be opening a PR that does that shortly.

CPython versions tested on:

3.15

Operating systems tested on:

macOS

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS-macbuildThe build process and cross-buildtopic-JITtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions