[issue16529] Compiler error when trying to compile ceval.c on OpenSUSE 11.3

2020-02-11 Thread STINNER Victor


STINNER Victor  added the comment:

That's a GCC bug which has likely been fixed since 2014.

--
nosy: +vstinner
resolution:  -> third party
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16529] Compiler error when trying to compile ceval.c on OpenSUSE 11.3

2014-06-13 Thread Marc-Andre Lemburg

Marc-Andre Lemburg added the comment:

FWIW: This still happens with the Python 3.4.1 release version.

Here's a similar error report for Fedora:
https://bugzilla.redhat.com/show_bug.cgi?id=622060

They patched the compiler, so I guess I'll have to find a more recent gcc for 
the build box.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16529
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16529] Compiler error when trying to compile ceval.c on OpenSUSE 11.3

2012-11-23 Thread Jesús Cea Avión

Jesús Cea Avión added the comment:

Could you possibly locate the problematic changeset? Could be doable by 
bisection.

--
nosy: +jcea

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16529
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16529] Compiler error when trying to compile ceval.c on OpenSUSE 11.3

2012-11-23 Thread Marc-Andre Lemburg

Marc-Andre Lemburg added the comment:

On 23.11.2012 17:02, Jesús Cea Avión wrote:
 
 Could you possibly locate the problematic changeset? Could be doable by 
 bisection.

I'll try to find the changeset. There were only 4 checkins
related to ceval.c since the 3.3.0 release, so one of those
will have to have triggered the problem.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16529
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16529] Compiler error when trying to compile ceval.c on OpenSUSE 11.3

2012-11-23 Thread Marc-Andre Lemburg

Marc-Andre Lemburg added the comment:

On 23.11.2012 17:24, M.-A. Lemburg wrote:
 On 23.11.2012 17:02, Jesús Cea Avión wrote:

 Could you possibly locate the problematic changeset? Could be doable by 
 bisection.
 
 I'll try to find the changeset. There were only 4 checkins
 related to ceval.c since the 3.3.0 release, so one of those
 will have to have triggered the problem.

This changeset triggered the problem:

changeset:   79693:ac30a1b1cf17
user:Benjamin Peterson benja...@python.org
date:Fri Oct 12 11:34:51 2012 -0400
summary: ceval cleanup

It's fairly large (http://hg.python.org/cpython/rev/ac30a1b1cf17),
so I can't easily tell which part might be worth looking at more
closely.

I do notice that the logic for error handling was changed from
doing a break to doing a goto error.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16529
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16529] Compiler error when trying to compile ceval.c on OpenSUSE 11.3

2012-11-22 Thread Marc-Andre Lemburg

New submission from Marc-Andre Lemburg:

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
Python/ceval.c: In function PyEval_EvalFrameEx:
Python/ceval.c:3168:1: internal compiler error: in save_call_clobbered_regs, at 
caller-save.c:911
Please submit a full bug report,
with preprocessed source if appropriate.
See http://bugs.opensuse.org/ for instructions.
make: *** [Python/ceval.o] Error 1

Here's the gcc version info:

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-suse-linux/4.5/lto-wrapper
Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info 
--mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 
--enable-languages=c,c++,objc,fortran,obj-c++,java,ada 
--enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.5 
--enable-ssp --disable-libssp --disable-plugin 
--with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' 
--disable-libgcj --disable-libmudflap --with-slibdir=/lib64 --with-system-zlib 
--enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch 
--enable-version-specific-runtime-libs --program-suffix=-4.5 
--enable-linux-futex --without-system-libunwind --enable-gold 
--with-plugin-ld=/usr/bin/gold --with-arch-32=i586 --with-tune=generic 
--build=x86_64-suse-linux
Thread model: posix
gcc version 4.5.0 20100604 [gcc-4_5-branch revision 160292] (SUSE Linux)

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:

 * http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45259 (I can't reproduce this 
one)
 * https://bugzilla.redhat.com/show_bug.cgi?id=622060 (This was detected in 
Fedora for Python 3.1.2)

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.

--
components: Build, Interpreter Core
messages: 176101
nosy: lemburg
priority: normal
severity: normal
status: open
title: Compiler error when trying to compile ceval.c on OpenSUSE 11.3
versions: Python 3.4

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16529
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com