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++/17904] New: Compiling KDE applications segfaults GCC


I use KDE cvs HEAD branch and neither KDELIBS nor  
any KDE application can be compiled with current  
GCC from the 3.4 branch. The problem persists since  
a few weeks for me so I suppose it's not an error  
in the KDE sources.  
  
gcc fail like this:  
  
/app/kde/include/ksycocaentry.h: In constructor  
`KSycocaEntry::KSycocaEntry(QDataStream&, int)':  
/app/kde/include/ksycocaentry.h:66: internal compiler error: Segmentation fault  
Please submit a full bug report,  
with preprocessed source if appropriate.  
See <URL:http://gcc.gnu.org/bugs.html> for instructions.  
  
This is the exact output when I try to compile KDELIBS  
  
<...>  
if /bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I.  
-I../../kdelibs/kdecore -I.. -I../dcop-I../kio/kssl -I../../kdelibs/kdefx  
-I../../kdelibs/kdecore/network -I../../kdelibs/dcop -I../../kdelibs/libltdl  
-I../../kdelibs/kdefx -I../../kdelibs/kdecore -I../../kdelibs/kdeui  
-I../../kdelibs/kio -I../../kdelibs/kio/kio -I../../kdelibs/kio/kfile  
-I../../kdelibs -I/app/qt/include -I/usr/X11R6/include -I/app/kde/include   
-I/app/gnome/include/libart-2.0  -DQT_THREAD_SUPPORT -I/usr/X11R6/include  
-I/usr/kerberos -I/apps/include -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long  
-Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion  
-Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG  
-O2 -I/usr/X11R6/include -I/usr/kerberos -I/apps/include -L/usr/X11R6/lib  
-L/apps/lib -pipe -O1 -Wformat-security -Wmissing-format-attribute  
-fno-exceptions -fno-check-new -fno-common  -DQT_CLEAN_NAMESPACE  
-DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT  
ksycoca.lo -MD -MP -MF ".deps/ksycoca.Tpo" \  
  -c -o ksycoca.lo `test -f '../../kdelibs/kdecore/ksycoca.cpp' || echo  
'../../kdelibs/kdecore/'`../../kdelibs/kdecore/ksycoca.cpp; \  
then mv -f ".deps/ksycoca.Tpo" ".deps/ksycoca.Plo"; \  
else rm -f ".deps/ksycoca.Tpo"; exit 1; \  
fi  
../../kdelibs/kdecore/ksycoca.cpp: In static member function `static void  
KSycocaEntry::read(QDataStream&, QStringList&)':  
../../kdelibs/kdecore/ksycoca.cpp:497: internal compiler error: Segmentation  
fault  
Please submit a full bug report,  
with preprocessed source if appropriate.  
See <URL:http://gcc.gnu.org/bugs.html> for instructions.  
make[3]: *** [ksycoca.lo] Error 1  
make[3]: Leaving directory `/root/sources/kde/tmp_kdelibs/kdecore'  
make[2]: *** [all-recursive] Error 1  
make[2]: Leaving directory `/root/sources/kde/tmp_kdelibs/kdecore'  
make[1]: *** [all-recursive] Error 1  
make[1]: Leaving directory `/root/sources/kde/tmp_kdelibs'  
make: *** [all] Error 2  
  
  
  
  
  
  
  
gcc build options: ./configure --prefix=/usr  
  
CFLAGS='-I/usr/X11R6/include -I/usr/kerberos -I/apps/include -L/usr/X11R6/lib  
-L/apps/lib -pipe -O1'  
  
  
  
CPPFLAGS='-I/usr/X11R6/include -I/usr/kerberos -I/apps/include'  
  
CXXFLAGS='-I/usr/X11R6/include -I/usr/kerberos -I/apps/include -L/usr/X11R6/lib  
-L/apps/lib -pipe -O1'  
  
LDFLAGS='-L/usr/X11R6/lib -L/apps/lib'  
  
  
The file ./ksycoca.ii was created with:  
  
 /bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I.  
-I../../kdelibs/kdecore -I.. -I../dcop-I../kio/kssl -I../../kdelibs/kdefx  
-I../../kdelibs/kdecore/network -I../../kdelibs/dcop -I../../kdelibs/libltdl  
-I../../kdelibs/kdefx -I../../kdelibs/kdecore -I../../kdelibs/kdeui  
-I../../kdelibs/kio -I../../kdelibs/kio/kio -I../../kdelibs/kio/kfile  
-I../../kdelibs -I/app/qt/include -I/usr/X11R6/include -I/app/kde/include   
-I/app/gnome/include/libart-2.0  -DQT_THREAD_SUPPORT -I/usr/X11R6/include  
-I/usr/kerberos -I/apps/include -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long  
-Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion  
-Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG  
-O2 -I/usr/X11R6/include -I/usr/kerberos -I/apps/include -L/usr/X11R6/lib  
-L/apps/lib -pipe -O1 -Wformat-security -Wmissing-format-attribute  
-fno-exceptions-fno-check-new -fno-common  -DQT_CLEAN_NAMESPACE  
-DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT  
ksycoca.lo -MD -MP -MF ".deps/ksycoca.Tpo"   -c -o ksycoca.lo `test -f  
'../../kdelibs/kdecore/ksycoca.cpp' || echo  
'../../kdelibs/kdecore/'`../../kdelibs/kdecore/ksycoca.cpp -save-temps

-- 
           Summary: Compiling KDE applications segfaults GCC
           Product: gcc
           Version: 3.4.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gjwucherpfennig at gmx dot net
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: 3.4.3 20041003 (prerelease)
  GCC host triplet: Linux 2.6.7
GCC target triplet: i686-pc-linux-gnu


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


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