public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/45306]  New: ICE (Segmentation fault) while building PyQt with -fgraphite-identity
@ 2010-08-17 11:11 bero at arklinux dot org
  2010-08-17 11:13 ` [Bug middle-end/45306] " bero at arklinux dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: bero at arklinux dot org @ 2010-08-17 11:11 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2293 bytes --]

g++ -c -m64 -O2 -fgraphite-identity -DQT_USE_FAST_CONCATENATION
-DQT_USE_FAST_OPERATOR_PLUS -fPIC -Wall -W -D_REENTRANT -DNDEBUG
-DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_DEBUG -DQT_GUI_LIB
-DQT_CORE_LIB -I. -I/usr/src/ark/BUILD/PyQt-x11-gpl-4.7.3/qpy/QtGui
-I/usr/include/python2.7 -I/usr/lib64/qt4/mkspecs/default
-I/usr/lib64/qt4/include/QtGui -I/usr/lib64/qt4/include/QtCore
-I/usr/lib64/qt4/include -I/usr/X11R6/include -o sipQtGuiQMatrix2x3.o
sipQtGuiQMatrix2x3.cppsipQtGuiQMatrix2x3.cpp: In function ‘PyObject*
meth_QMatrix2x3_setToIdentity(PyObject*, PyObject*)’:
sipQtGuiQMatrix2x3.cpp:158:18: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


Reducing the optimization level to -O1 -fgraphite-identity still causes a
segfault, but in a different place:

g++ -c -m64 -O1 -fgraphite-identity -DQT_USE_FAST_CONCATENATION
-DQT_USE_FAST_OPERATOR_PLUS -fPIC -Wall -W -D_REENTRANT -DNDEBUG
-DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_DEBUG -DQT_GUI_LIB
-DQT_CORE_LIB -I. -I/usr/src/ark/BUILD/PyQt-x11-gpl-4.7.3/qpy/QtGui
-I/usr/include/python2.7 -I/usr/lib64/qt4/mkspecs/default
-I/usr/lib64/qt4/include/QtGui -I/usr/lib64/qt4/include/QtCore
-I/usr/lib64/qt4/include -I/usr/X11R6/include -o sipQtGuiQMatrix2x3.o
sipQtGuiQMatrix2x3.cpp
In file included from
/usr/src/ark/BUILD/PyQt-x11-gpl-4.7.3/sip/QtGui/qgenericmatrix.sip:812:0:
/usr/lib64/qt4/include/QtGui/qgenericmatrix.h: In member function ‘void
QGenericMatrix<N, M, T>::setToIdentity() [with int N = 2, int M = 3, T =
double]’:
/usr/lib64/qt4/include/QtGui/qgenericmatrix.h:168:27: internal compiler error:
Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: ICE (Segmentation fault) while building PyQt with -
                    fgraphite-identity
           Product: gcc
           Version: 4.5.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bero at arklinux dot org


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


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

* [Bug middle-end/45306] ICE (Segmentation fault) while building PyQt with -fgraphite-identity
  2010-08-17 11:11 [Bug middle-end/45306] New: ICE (Segmentation fault) while building PyQt with -fgraphite-identity bero at arklinux dot org
@ 2010-08-17 11:13 ` bero at arklinux dot org
  2010-08-17 11:14 ` bero at arklinux dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 11+ messages in thread
From: bero at arklinux dot org @ 2010-08-17 11:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from bero at arklinux dot org  2010-08-17 11:13 -------
Created an attachment (id=21502)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21502&action=view)
Preprocessed source


-- 


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


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

* [Bug middle-end/45306] ICE (Segmentation fault) while building PyQt with -fgraphite-identity
  2010-08-17 11:11 [Bug middle-end/45306] New: ICE (Segmentation fault) while building PyQt with -fgraphite-identity bero at arklinux dot org
  2010-08-17 11:13 ` [Bug middle-end/45306] " bero at arklinux dot org
@ 2010-08-17 11:14 ` bero at arklinux dot org
  2010-08-17 14:15 ` bero at arklinux dot org
  2010-08-28 15:03 ` chxanders at gmail dot com
  3 siblings, 0 replies; 11+ messages in thread
From: bero at arklinux dot org @ 2010-08-17 11:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from bero at arklinux dot org  2010-08-17 11:14 -------
Seems to work on 32-bit x86


-- 

bero at arklinux dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  GCC build triplet|                            |x86_64-pc-linux-gnu
   GCC host triplet|                            |x86_64-pc-linux-gnu
 GCC target triplet|                            |x86_64-pc-linux-gnu
      Known to fail|                            |4.5.1


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


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

* [Bug middle-end/45306] ICE (Segmentation fault) while building PyQt with -fgraphite-identity
  2010-08-17 11:11 [Bug middle-end/45306] New: ICE (Segmentation fault) while building PyQt with -fgraphite-identity bero at arklinux dot org
  2010-08-17 11:13 ` [Bug middle-end/45306] " bero at arklinux dot org
  2010-08-17 11:14 ` bero at arklinux dot org
@ 2010-08-17 14:15 ` bero at arklinux dot org
  2010-08-28 15:03 ` chxanders at gmail dot com
  3 siblings, 0 replies; 11+ messages in thread
From: bero at arklinux dot org @ 2010-08-17 14:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from bero at arklinux dot org  2010-08-17 14:15 -------
Ignore the previous comment -- it working on x86 (32bit) was caused by not
having -fgraphite-identity in the CFLAGS there. It crashes everywhere.


-- 


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


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

* [Bug middle-end/45306] ICE (Segmentation fault) while building PyQt with -fgraphite-identity
  2010-08-17 11:11 [Bug middle-end/45306] New: ICE (Segmentation fault) while building PyQt with -fgraphite-identity bero at arklinux dot org
                   ` (2 preceding siblings ...)
  2010-08-17 14:15 ` bero at arklinux dot org
@ 2010-08-28 15:03 ` chxanders at gmail dot com
  3 siblings, 0 replies; 11+ messages in thread
From: chxanders at gmail dot com @ 2010-08-28 15:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from chxanders at gmail dot com  2010-08-28 15:03 -------
Same problem on 64 bits, but it is one of the -O1 optimisations that does it.


-- 


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


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

* Re: [Bug middle-end/45306] ICE (Segmentation fault) while building PyQt with -fgraphite-identity
  2011-02-04  6:27 ` dirtyepic at gentoo dot org
@ 2011-02-04  7:08   ` Sebastian Pop
  0 siblings, 0 replies; 11+ messages in thread
From: Sebastian Pop @ 2011-02-04  7:08 UTC (permalink / raw)
  To: dirtyepic at gentoo dot org; +Cc: gcc-bugs

On Fri, Feb 4, 2011 at 00:27, dirtyepic at gentoo dot org
<gcc-bugzilla@gcc.gnu.org> wrote:
> I'm guessing that means 4.5 will stay broken?
>

Depends on how difficult it would be to backport the fix.
I haven't git-bisect'ed it to know which of the patches fixed it.


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

* [Bug middle-end/45306] ICE (Segmentation fault) while building PyQt with -fgraphite-identity
       [not found] <bug-45306-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2011-02-04  6:27 ` dirtyepic at gentoo dot org
@ 2011-02-04  7:08 ` sebpop at gmail dot com
  4 siblings, 0 replies; 11+ messages in thread
From: sebpop at gmail dot com @ 2011-02-04  7:08 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from sebpop at gmail dot com <sebpop at gmail dot com> 2011-02-04 07:08:30 UTC ---
On Fri, Feb 4, 2011 at 00:27, dirtyepic at gentoo dot org
<gcc-bugzilla@gcc.gnu.org> wrote:
> I'm guessing that means 4.5 will stay broken?
>

Depends on how difficult it would be to backport the fix.
I haven't git-bisect'ed it to know which of the patches fixed it.


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

* [Bug middle-end/45306] ICE (Segmentation fault) while building PyQt with -fgraphite-identity
       [not found] <bug-45306-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2011-02-04  5:58 ` spop at gcc dot gnu.org
@ 2011-02-04  6:27 ` dirtyepic at gentoo dot org
  2011-02-04  7:08   ` Sebastian Pop
  2011-02-04  7:08 ` sebpop at gmail dot com
  4 siblings, 1 reply; 11+ messages in thread
From: dirtyepic at gentoo dot org @ 2011-02-04  6:27 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from Ryan Hill <dirtyepic at gentoo dot org> 2011-02-04 06:27:07 UTC ---
I'm guessing that means 4.5 will stay broken?


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

* [Bug middle-end/45306] ICE (Segmentation fault) while building PyQt with -fgraphite-identity
       [not found] <bug-45306-4@http.gcc.gnu.org/bugzilla/>
  2010-12-13  3:58 ` dirtyepic at gentoo dot org
  2010-12-13  4:25 ` dirtyepic at gentoo dot org
@ 2011-02-04  5:58 ` spop at gcc dot gnu.org
  2011-02-04  6:27 ` dirtyepic at gentoo dot org
  2011-02-04  7:08 ` sebpop at gmail dot com
  4 siblings, 0 replies; 11+ messages in thread
From: spop at gcc dot gnu.org @ 2011-02-04  5:58 UTC (permalink / raw)
  To: gcc-bugs

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

Sebastian Pop <spop at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |spop at gcc dot gnu.org
         Resolution|                            |FIXED

--- Comment #7 from Sebastian Pop <spop at gcc dot gnu.org> 2011-02-04 05:58:01 UTC ---
trunk@169530 works.
I tested the original and reduced testcases with -fgraphite-identity and either
-O2 or -O1.


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

* [Bug middle-end/45306] ICE (Segmentation fault) while building PyQt with -fgraphite-identity
       [not found] <bug-45306-4@http.gcc.gnu.org/bugzilla/>
  2010-12-13  3:58 ` dirtyepic at gentoo dot org
@ 2010-12-13  4:25 ` dirtyepic at gentoo dot org
  2011-02-04  5:58 ` spop at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 11+ messages in thread
From: dirtyepic at gentoo dot org @ 2010-12-13  4:25 UTC (permalink / raw)
  To: gcc-bugs

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

Ryan Hill <dirtyepic at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #22733|0                           |1
        is obsolete|                            |

--- Comment #6 from Ryan Hill <dirtyepic at gentoo dot org> 2010-12-13 04:25:25 UTC ---
Created attachment 22735
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22735
testcase-min.ii

Reduced a bit more.


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

* [Bug middle-end/45306] ICE (Segmentation fault) while building PyQt with -fgraphite-identity
       [not found] <bug-45306-4@http.gcc.gnu.org/bugzilla/>
@ 2010-12-13  3:58 ` dirtyepic at gentoo dot org
  2010-12-13  4:25 ` dirtyepic at gentoo dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 11+ messages in thread
From: dirtyepic at gentoo dot org @ 2010-12-13  3:58 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Ryan Hill <dirtyepic at gentoo dot org> 2010-12-13 03:57:42 UTC ---
Created attachment 22733
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22733
testcase-min.ii

Reduced testcase.


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

end of thread, other threads:[~2011-02-04  7:08 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-17 11:11 [Bug middle-end/45306] New: ICE (Segmentation fault) while building PyQt with -fgraphite-identity bero at arklinux dot org
2010-08-17 11:13 ` [Bug middle-end/45306] " bero at arklinux dot org
2010-08-17 11:14 ` bero at arklinux dot org
2010-08-17 14:15 ` bero at arklinux dot org
2010-08-28 15:03 ` chxanders at gmail dot com
     [not found] <bug-45306-4@http.gcc.gnu.org/bugzilla/>
2010-12-13  3:58 ` dirtyepic at gentoo dot org
2010-12-13  4:25 ` dirtyepic at gentoo dot org
2011-02-04  5:58 ` spop at gcc dot gnu.org
2011-02-04  6:27 ` dirtyepic at gentoo dot org
2011-02-04  7:08   ` Sebastian Pop
2011-02-04  7:08 ` sebpop at gmail dot com

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).