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 target/22250] New: [sh4] ICE compiling qt-4.0.0-embedded snapshot


This seems to be -O2 related as compiling in debug mode doesn't produce this ICE.

Compiler output from -v -save-temps:

sh4-linux-g++ -v -save-temps  -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC
-DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_OPENSOURCE -DQT_NO_CAST_TO_ASCII
-DQT_MOC_COMPAT -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DQT_RASTER_IMAGEENGINE
-DQT_RASTER_PAINTENGINE -DQT_HAVE_FREETYPE -DQT_NO_STYLE_MAC
-DQT_NO_STYLE_WINDOWSXP -DQT_NO_DEBUG -DQT_CORE_LIB
-I/home/alex/src/qt-embedded-opensource-desktop-4.0.0-snapshot-20050629/mkspecs/qws/linux-sh4-g++
-I. -I../../include/QtCore -I../../include -I../../include/QtGui
-I../3rdparty/freetype/src -I../3rdparty/freetype/include
-I../3rdparty/freetype/builds/unix -I../3rdparty/libpng -I../3rdparty/zlib
-I../3rdparty/opentype -I../../include/QtNetwork -I.moc/release-shared-emb-sh4
-I. -o .obj/release-shared-emb-sh4/qcolordialog.o dialogs/qcolordialog.cpp
sh4-linux-g++: warning: -pipe ignored because -save-temps specified
Reading specs from
/opt/sh4-gcc-3.4.4-glibc-2.2.5/gcc-3.4.4-glibc-2.2.5/sh4-linux/bin/../lib/gcc/sh4-linux/3.4.4/specs
Configured with:
/home/alex/crosstool/crosstool-0.35/build/sh4-linux/gcc-3.4.4-glibc-2.2.5/gcc-3.4.4/configure
--target=sh4-linux --host=i686-host_pc-linux-gnu
--prefix=/home/alex/crosstool/sh4-gcc-3.4.4-glibc-2.2.5/gcc-3.4.4-glibc-2.2.5/sh4-linux
--with-headers=/home/alex/crosstool/sh4-gcc-3.4.4-glibc-2.2.5/gcc-3.4.4-glibc-2.2.5/sh4-linux/sh4-linux/include
--with-local-prefix=/home/alex/crosstool/sh4-gcc-3.4.4-glibc-2.2.5/gcc-3.4.4-glibc-2.2.5/sh4-linux/sh4-linux
--disable-nls --enable-threads=posix --enable-symvers=gnu --enable-__cxa_atexit
--enable-languages=c,c++ --enable-shared --enable-c99 --enable-long-long
Thread model: posix
gcc version 3.4.4
 /opt/sh4-gcc-3.4.4-glibc-2.2.5/gcc-3.4.4-glibc-2.2.5/sh4-linux/bin/../libexec/gcc/sh4-linux/3.4.4/cc1plus
-E -quiet -v
-I/home/alex/src/qt-embedded-opensource-desktop-4.0.0-snapshot-20050629/mkspecs/qws/linux-sh4-g++
-I. -I../../include/QtCore -I../../include -I../../include/QtGui
-I../3rdparty/freetype/src -I../3rdparty/freetype/include
-I../3rdparty/freetype/builds/unix -I../3rdparty/libpng -I../3rdparty/zlib
-I../3rdparty/opentype -I../../include/QtNetwork -I.moc/release-shared-emb-sh4
-I. -iprefix
/opt/sh4-gcc-3.4.4-glibc-2.2.5/gcc-3.4.4-glibc-2.2.5/sh4-linux/bin/../lib/gcc/sh4-linux/3.4.4/
-D_GNU_SOURCE -D_REENTRANT -DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_OPENSOURCE
-DQT_NO_CAST_TO_ASCII -DQT_MOC_COMPAT -DFT_CONFIG_OPTION_SYSTEM_ZLIB
-DQT_RASTER_IMAGEENGINE -DQT_RASTER_PAINTENGINE -DQT_HAVE_FREETYPE
-DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSXP -DQT_NO_DEBUG -DQT_CORE_LIB
dialogs/qcolordialog.cpp -Wall -W -fPIC -O2 -o qcolordialog.ii
ignoring duplicate directory "."
#include "..." search starts here:
#include <...> search starts here:
 /home/alex/src/qt-embedded-opensource-desktop-4.0.0-snapshot-20050629/mkspecs/qws/linux-sh4-g++
 .
 ../../include/QtCore
 ../../include
 ../../include/QtGui
 ../3rdparty/freetype/src
 ../3rdparty/freetype/include
 ../3rdparty/freetype/builds/unix
 ../3rdparty/libpng
 ../3rdparty/zlib
 ../3rdparty/opentype
 ../../include/QtNetwork
 .moc/release-shared-emb-sh4
 /opt/sh4-gcc-3.4.4-glibc-2.2.5/gcc-3.4.4-glibc-2.2.5/sh4-linux/bin/../lib/gcc/sh4-linux/3.4.4/../../../../include/c++/3.4.4
 /opt/sh4-gcc-3.4.4-glibc-2.2.5/gcc-3.4.4-glibc-2.2.5/sh4-linux/bin/../lib/gcc/sh4-linux/3.4.4/../../../../include/c++/3.4.4/sh4-linux
 /opt/sh4-gcc-3.4.4-glibc-2.2.5/gcc-3.4.4-glibc-2.2.5/sh4-linux/bin/../lib/gcc/sh4-linux/3.4.4/../../../../include/c++/3.4.4/backward
 /opt/sh4-gcc-3.4.4-glibc-2.2.5/gcc-3.4.4-glibc-2.2.5/sh4-linux/bin/../lib/gcc/sh4-linux/3.4.4/include
 /opt/sh4-gcc-3.4.4-glibc-2.2.5/gcc-3.4.4-glibc-2.2.5/sh4-linux/bin/../lib/gcc/sh4-linux/3.4.4/../../../../sh4-linux/sys-include
 /opt/sh4-gcc-3.4.4-glibc-2.2.5/gcc-3.4.4-glibc-2.2.5/sh4-linux/bin/../lib/gcc/sh4-linux/3.4.4/../../../../sh4-linux/include
 /home/alex/crosstool/sh4-gcc-3.4.4-glibc-2.2.5/gcc-3.4.4-glibc-2.2.5/sh4-linux/lib/gcc/sh4-linux/3.4.4/../../../../include/c++/3.4.4
 /home/alex/crosstool/sh4-gcc-3.4.4-glibc-2.2.5/gcc-3.4.4-glibc-2.2.5/sh4-linux/lib/gcc/sh4-linux/3.4.4/../../../../include/c++/3.4.4/sh4-linux
 /home/alex/crosstool/sh4-gcc-3.4.4-glibc-2.2.5/gcc-3.4.4-glibc-2.2.5/sh4-linux/lib/gcc/sh4-linux/3.4.4/../../../../include/c++/3.4.4/backward
 /home/alex/crosstool/sh4-gcc-3.4.4-glibc-2.2.5/gcc-3.4.4-glibc-2.2.5/sh4-linux/lib/gcc/sh4-linux/3.4.4/include
 /home/alex/crosstool/sh4-gcc-3.4.4-glibc-2.2.5/gcc-3.4.4-glibc-2.2.5/sh4-linux/lib/gcc/sh4-linux/3.4.4/../../../../sh4-linux/sys-include
 /home/alex/crosstool/sh4-gcc-3.4.4-glibc-2.2.5/gcc-3.4.4-glibc-2.2.5/sh4-linux/lib/gcc/sh4-linux/3.4.4/../../../../sh4-linux/include
End of search list.
 /opt/sh4-gcc-3.4.4-glibc-2.2.5/gcc-3.4.4-glibc-2.2.5/sh4-linux/bin/../libexec/gcc/sh4-linux/3.4.4/cc1plus
-fpreprocessed qcolordialog.ii -quiet -dumpbase qcolordialog.cpp -auxbase-strip
.obj/release-shared-emb-sh4/qcolordialog.o -O2 -Wall -W -version -fPIC -o
qcolordialog.s
GNU C++ version 3.4.4 (sh4-linux)
        compiled by GNU C version 3.4.3 20050227 (Red Hat 3.4.3-22.fc3).
GGC heuristics: --param ggc-min-expand=99 --param ggc-min-heapsize=129319
dialogs/qcolordialog.cpp: In member function `void
QWellArray::_ZThn8_N10QWellArrayD1Ev()':
dialogs/qcolordialog.cpp:221: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.

-- 
           Summary: [sh4] ICE compiling qt-4.0.0-embedded snapshot
           Product: gcc
           Version: 3.4.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sieb at sscd dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux
  GCC host triplet: i686-pc-linux
GCC target triplet: sh4-unknown-linux


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


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