This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/56409] New: internal compiler error while compiling Python 2.7.3 on Sun


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56409

             Bug #: 56409
           Summary: internal compiler error while compiling Python 2.7.3
                    on Sun
    Classification: Unclassified
           Product: gcc
           Version: 4.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: Marcin.Kasperski@mekk.waw.pl


While trying to compile Python 2.7.3 on Sun machine I got internal gcc error:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
$ wget http://python.org/ftp/python/2.7.3/Python-2.7.3.tgz
$ gzcat Python-2.7.3.tgz | tar xf -
$ cd Python-2.7.3
$ ./configure --prefix=$HOME/install --enable-shared --without-gcc
--with-suffix=2.7

$ make
(...)
gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o
Objects/stringobject.o Objects/stringobject.c
init2.c:37:  assertion failed: ((64 - 0)+0) == (((64 - 0)+0)/8) * 8 &&
sizeof(mp_limb_t) == (((64 - 0)+0)/8)
Objects/longobject.c: In function âPyLong_FromStringâ:
Objects/longobject.c:1852: internal compiler error: Abort
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

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Some version info:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

$ uname -a
SunOS wenus.softax.local 5.10 Generic_144500-19 sun4v sparc SUNW,Sun-Fire-T1000

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
$ gcc -v
Using built-in specs.
Target: sparc-sun-solaris2.10
Configured with: ./configure --prefix=/usr/local/gcc --enable-languages=c++
--with-gmp=/usr/local AS=/usr/ccs/bin/as
Thread model: posix
gcc version 4.4.1 (GCC) 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]