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: unassig...@gcc.gnu.org ReportedBy: jul...@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