Skip to content

mimalloc compile error on OpenBSD #117547

Description

@colesbury

Bug report

In file included from Objects/mimalloc/prim/prim.c:22,
                 from Objects/mimalloc/static.c:37,
                 from Objects/obmalloc.c:22:
Objects/mimalloc/prim/unix/prim.c: In function 'mi_prim_open':
Objects/mimalloc/prim/unix/prim.c:67:10: error: implicit declaration of function 'syscall'; did you mean 'sysconf'? [-Werror=implicit-function-declaration]
   return syscall(SYS_open,fpath,open_flags,0);
          ^~~~~~~
          sysconf

Reported in https://discuss.python.org/t/compiling-python3-13-alpha-release-on-openbsd/50273

Linked PRs

Activity

  1. added
    type-bugAn unexpected behavior, bug, or error
    3.13only security fixes
    on Apr 4, 2024
  2. self-assigned this
    on Apr 4, 2024
  3. added 2 commits that reference this issue on Apr 4, 2024
  4. added a commit that references this issue on Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

3.13only 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