-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
configure.ac assumes -std=c11 rather than checking it, which causes make failures on old compilers #131093
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
Comments
PR is welcome! |
cc @encukou |
CS-cwhite
added a commit
to CS-cwhite/cpython
that referenced
this issue
Mar 13, 2025
…an make time When compiling under gcc, configure.ac currently assumes -std=c11 rather than checking it. This causes configure to succeed but make to fail on old compilers. Fix this by adding a check for -std=c11 in configure.ac.
CS-cwhite
added a commit
to CS-cwhite/cpython
that referenced
this issue
Mar 28, 2025
…an make time When compiling under gcc, configure.ac currently assumes -std=c11 rather than checking it. This causes configure to succeed but make to fail on old compilers. Fix this by adding a check for -std=c11 in configure.ac.
CS-cwhite
added a commit
to CS-cwhite/cpython
that referenced
this issue
May 7, 2025
…an make time When compiling under gcc, configure.ac currently assumes -std=c11 rather than checking it. This causes configure to succeed but make to fail on old compilers. Fix this by adding a check for -std=c11 in configure.ac.
CS-cwhite
added a commit
to CS-cwhite/cpython
that referenced
this issue
May 12, 2025
…an make time When compiling under gcc, configure.ac currently assumes -std=c11 rather than checking it. This causes configure to succeed but make to fail on old compilers. Fix this by adding a check for -std=c11 in configure.ac.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report
Bug description:
Repro
Steps:
gcc
that does not support the C11 standard (e.g., gcc 4.4.7)tar xvJf Python-3.13.2.tar.xz && cd Python-3.13.2
./configure && make
Expected:
configure
reports an error like "your compiler doesn't support C11"Observed:
configure
succeeds, only formake
to fail.Suggestion
I think this can be fixed by changing
configure.ac
here:Related issues
#91731
CPython versions tested on:
3.12.9, 3.13.2
Operating systems tested on:
Linux
Linked PRs
The text was updated successfully, but these errors were encountered: