This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/51853] New: MPFR assertion failure with Python: p >= 2 && p <= ((mpfr_prec_t)((mpfr_uprec_t)(~(mpfr_uprec_t)0)>>1))
- From: "julien at trigofacile dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 13 Jan 2012 20:58:26 +0000
- Subject: [Bug c/51853] New: MPFR assertion failure with Python: p >= 2 && p <= ((mpfr_prec_t)((mpfr_uprec_t)(~(mpfr_uprec_t)0)>>1))
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51853
Bug #: 51853
Summary: MPFR assertion failure with Python: p >= 2 && p <=
((mpfr_prec_t)((mpfr_uprec_t)(~(mpfr_uprec_t)0)>>1))
Classification: Unclassified
Product: gcc
Version: 4.6.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: julien@trigofacile.com
Hi,
Trying to build Python 2.7.2 (and also 3.2.2) with GCC 4.6.2 and MPFR 3.1.0, I
obtain the following error on HP PA-8600 running Debian (it is in
fact gcc61 in the GCC Compile Farm <http://gcc.gnu.org/wiki/CompileFarm>):
/home/iulius/autobuild/bin/gcc-core-4.6.2/bin/gcc -pthread -c -DNDEBUG -g
-fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include
-DPy_BUILD_CORE -o Objects/longobject.o Objects/longobject.c
init2.c:52: MPFR assertion failed: p >= 2 && p <=
((mpfr_prec_t)((mpfr_uprec_t)(~(mpfr_uprec_t)0)>>1))
Objects/longobject.c: In function 'PyLong_FromString':
Objects/longobject.c:2002:36: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [Objects/longobject.o] Error 1
Configured with: ../gcc-core-4.6.2-src/configure
--prefix=/home/iulius/autobuild/bin/gcc-core-4.6.2
--with-gmp=/home/iulius/autobuild/bin/gmp-5.0.2
--with-mpfr=/home/iulius/autobuild/bin/mpfr-3.1.0
--with-mpc=/home/iulius/autobuild/bin/mpc-0.9 --disable-nls
--enable-threads=posix --disable-multilib
--
Julien