Skip to content

Build fails with gcc 9.4.0 after d3b1bb2 #129141

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mdboom opened this issue Jan 21, 2025 · 0 comments
Closed

Build fails with gcc 9.4.0 after d3b1bb2 #129141

mdboom opened this issue Jan 21, 2025 · 0 comments
Assignees
Labels
3.14 bugs and security fixes build The build process and cross-build type-bug An unexpected behavior, bug, or error

Comments

@mdboom
Copy link
Contributor

mdboom commented Jan 21, 2025

Bug report

Bug description:

gcc-9.4.0 (from Ubuntu 20.04) fails to build latest CPython main:

In file included from ./Modules/_ctypes/callproc.c:87:
./Modules/_ctypes/ctypes.h:12:72: error: missing binary operator before token "("                                          12 | #   if USING_APPLE_OS_LIBFFI && defined(__has_builtin) && __has_builtin(__builtin_available)                          | 

The first bad commit seems to be d3b1bb2. Fix incoming.

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux

Linked PRs

@mdboom mdboom added the type-bug An unexpected behavior, bug, or error label Jan 21, 2025
@mdboom mdboom self-assigned this Jan 21, 2025
mdboom added a commit to mdboom/cpython that referenced this issue Jan 21, 2025
mdboom added a commit to mdboom/cpython that referenced this issue Jan 21, 2025
@picnixz picnixz added build The build process and cross-build 3.14 bugs and security fixes labels Jan 21, 2025
@picnixz picnixz closed this as completed Jan 21, 2025
@picnixz picnixz changed the title Build fails with gcc 9.4.0 Build fails with gcc 9.4.0 after d3b1bb2 Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.14 bugs and security fixes build The build process and cross-build type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

2 participants