Skip to content

AIX build breaks due to syscall.h not found  #111544

Closed
@ayappanec

Description

@ayappanec

Bug report

Bug description:

AIX build breaks because of the recent commit #109914
gcc -pthread -maix64 -c -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -std=c11 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal -I./Include/internal/mimalloc -I. -I./Include -DPy_BUILD_CORE -o Objects/obmalloc.o Objects/obmalloc.c
In file included from Objects/mimalloc/prim/prim.c:22,
from Objects/mimalloc/static.c:37,
from Objects/obmalloc.c:15:
Objects/mimalloc/prim/unix/prim.c:55:12: fatal error: sys/syscall.h: No such file or directory
55 | #include <sys/syscall.h>
| ^~~~~~~~~~~~~~~
compilation terminated.

AIX don't have syscall.h.

CPython versions tested on:

CPython main branch

Operating systems tested on:

Other

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions