public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/56409] New: internal compiler error while compiling Python 2.7.3 on Sun
@ 2013-02-20 14:31 Marcin.Kasperski at mekk dot waw.pl
  2013-02-20 14:39 ` [Bug c/56409] " Marcin.Kasperski at mekk dot waw.pl
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Marcin.Kasperski at mekk dot waw.pl @ 2013-02-20 14:31 UTC (permalink / raw)
  To: gcc-bugs


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) 

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c/56409] internal compiler error while compiling Python 2.7.3 on Sun
  2013-02-20 14:31 [Bug c/56409] New: internal compiler error while compiling Python 2.7.3 on Sun Marcin.Kasperski at mekk dot waw.pl
@ 2013-02-20 14:39 ` Marcin.Kasperski at mekk dot waw.pl
  2013-02-20 14:57 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Marcin.Kasperski at mekk dot waw.pl @ 2013-02-20 14:39 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #1 from Marcin Kasperski <Marcin.Kasperski at mekk dot waw.pl> 2013-02-20 14:38:49 UTC ---
Rather unimportant, but let me note that attempt to compile python 2.6.8 fails
the same way:

~~~~~~~~~~~~~~~~~~~
gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o
Objects/longobject.o Objects/longobject.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:1611: internal compiler error: Abort
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
~~~~~~~~~~~~~~~~~~~


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c/56409] internal compiler error while compiling Python 2.7.3 on Sun
  2013-02-20 14:31 [Bug c/56409] New: internal compiler error while compiling Python 2.7.3 on Sun Marcin.Kasperski at mekk dot waw.pl
  2013-02-20 14:39 ` [Bug c/56409] " Marcin.Kasperski at mekk dot waw.pl
@ 2013-02-20 14:57 ` rguenth at gcc dot gnu.org
  2013-02-20 15:21 ` Marcin.Kasperski at mekk dot waw.pl
  2014-01-10 15:55 ` mpolacek at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-02-20 14:57 UTC (permalink / raw)
  To: gcc-bugs


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2013-02-20
     Ever Confirmed|0                           |1

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> 2013-02-20 14:56:48 UTC ---
(In reply to comment #1)
> Rather unimportant, but let me note that attempt to compile python 2.6.8 fails
> the same way:
> 
> ~~~~~~~~~~~~~~~~~~~
> gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall
> -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o
> Objects/longobject.o Objects/longobject.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:1611: internal compiler error: Abort
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <http://gcc.gnu.org/bugs.html> for instructions.
> ~~~~~~~~~~~~~~~~~~~

This is an abort() from inside GMP - what GMP version are you using?
Does it work ok?  Thus, did you run make check when installing it?

Note that GCC 4.4.1 is rather old and no longer supported, please update
to at least GCC 4.6.3.  (even GCC 4.4 has bugfix releases, GCC 4.4.7 was
the last 4.4 release).


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c/56409] internal compiler error while compiling Python 2.7.3 on Sun
  2013-02-20 14:31 [Bug c/56409] New: internal compiler error while compiling Python 2.7.3 on Sun Marcin.Kasperski at mekk dot waw.pl
  2013-02-20 14:39 ` [Bug c/56409] " Marcin.Kasperski at mekk dot waw.pl
  2013-02-20 14:57 ` rguenth at gcc dot gnu.org
@ 2013-02-20 15:21 ` Marcin.Kasperski at mekk dot waw.pl
  2014-01-10 15:55 ` mpolacek at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: Marcin.Kasperski at mekk dot waw.pl @ 2013-02-20 15:21 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #3 from Marcin Kasperski <Marcin.Kasperski at mekk dot waw.pl> 2013-02-20 15:19:26 UTC ---
I am not the person who installed gcc here and I am not administering  the
machine, so unfortunately I can't elaborate on the way current gcc was
installed. 
I am going to try compiling some version myself and retry.

>From your comment I understand that gcc internally uses GMP and that likely it
was compiled against wrong GMP. Will try to take a look, I remember that there
were some 32-vs-64-bit problems with respect to GMP on Suns


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c/56409] internal compiler error while compiling Python 2.7.3 on Sun
  2013-02-20 14:31 [Bug c/56409] New: internal compiler error while compiling Python 2.7.3 on Sun Marcin.Kasperski at mekk dot waw.pl
                   ` (2 preceding siblings ...)
  2013-02-20 15:21 ` Marcin.Kasperski at mekk dot waw.pl
@ 2014-01-10 15:55 ` mpolacek at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2014-01-10 15:55 UTC (permalink / raw)
  To: gcc-bugs

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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
                 CC|                            |mpolacek at gcc dot gnu.org
         Resolution|---                         |INVALID

--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
No feedback for almost a year.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-01-10 15:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-20 14:31 [Bug c/56409] New: internal compiler error while compiling Python 2.7.3 on Sun Marcin.Kasperski at mekk dot waw.pl
2013-02-20 14:39 ` [Bug c/56409] " Marcin.Kasperski at mekk dot waw.pl
2013-02-20 14:57 ` rguenth at gcc dot gnu.org
2013-02-20 15:21 ` Marcin.Kasperski at mekk dot waw.pl
2014-01-10 15:55 ` mpolacek at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).