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
Compiler error when trying to compile ceval.c on OpenSUSE 11.3 #60733
Comments
When trying to compile the hg checkout (2012-11-22), I'm getting a compiler error from GCC when trying to compile ceval.c on OpenSUSE 11.3 x64: gcc -pthread -c -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -DPy_BUILD_CORE -o Python/ceval.o Python/ceval.c Here's the gcc version info: Using built-in specs. Interestingly, this error does not happen when compiling the 3.3.0 release version. It looks similar to these two bugs that are related to some optimization bug in GCC:
I guess you could say that the compiler is broken, but I still think that Python's configure script should detect this and then disable --with-computed-gotos. |
Could you possibly locate the problematic changeset? Could be doable by bisection. |
On 23.11.2012 17:02, Jesús Cea Avión wrote:
I'll try to find the changeset. There were only 4 checkins |
On 23.11.2012 17:24, M.-A. Lemburg wrote:
This changeset triggered the problem: changeset: 79693:ac30a1b1cf17 It's fairly large (http://hg.python.org/cpython/rev/ac30a1b1cf17), I do notice that the logic for error handling was changed from |
FWIW: This still happens with the Python 3.4.1 release version. Here's a similar error report for Fedora: They patched the compiler, so I guess I'll have to find a more recent gcc for the build box. |
That's a GCC bug which has likely been fixed since 2014. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: