c++/7268: gcc 3.1 crashes

jgluckca@netscape.net jgluckca@netscape.net
Wed Jul 10 19:19:00 GMT 2002


>Number:         7268
>Category:       c++
>Synopsis:       gcc 3.1 crashes
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 10 16:56:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     John Gluck
>Release:        gcc 3.1
>Organization:
>Environment:
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.1/specs
Configured with: ./configure --enable-shared --with-stabs --enable-threads=pthreads --with-cpu=i686 --enable-checking --enable-nls : (reconfigured) ./configure --enable-shared --with-stabs --enable-threads --with-cpu=i686 --enable-checking --enable-nls
Thread model: posix
gcc version 3.1
>Description:
Compiling kdelibs version 3.0.2 results in the following:

/bin/sh ../libtool --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I.. -I../dcop -I../libltdl -I../kdecore -I../kdeui -I../kio -I../kio/kio -I../kio/kfile -I/usr/src/kde-3.0.2/qt-x11-free-3.0.4/include -I/usr/X11R6/include -I/opt/kde-3.0.2//include   -DQT_THREAD_SUPPORT  -D_REENTRANT -I/usr/local/include  -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -fno-builtin -g3 -fno-exceptions -fno-check-new  -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT  -c -o kbuildservicegroupfactory.lo `test -f kbuildservicegroupfactory.cpp || echo './'`kbuildservicegroupfactory.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I.. -I../dcop -I../libltdl -I../kdecore -I../kdeui -I../kio -I../kio/kio -I../kio/kfile -I/usr/src/kde-3.0.2/qt-x11-free-3.0.4/include -I/usr/X11R6/include -I/opt/kde-3.0.2//include -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/local/include -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -fno-builtin -g3 -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c kbuildservicegroupfactory.cpp -MT kbuildservicegroupfactory.lo -MD -MP -MF .deps/kbuildservicegroupfactory.TPlo  -fPIC -DPIC -o .libs/kbuildservicegroupfactory.o
cc1plus: warning: changing search order for system directory "."
cc1plus: warning:   as it has already been specified as a non-system directory
cc1plus: warning: changing search order for system directory "/usr/local/include"
cc1plus: warning:   as it has already been specified as a non-system directory
In file included from /usr/src/kde-3.0.2/qt-x11-free-3.0.4/include/qiodevice.h:49,
                 from /usr/src/kde-3.0.2/qt-x11-free-3.0.4/include/qtextstream.h:42,
                 from /usr/src/kde-3.0.2/qt-x11-free-3.0.4/include/qtl.h:42,
                 from /usr/src/kde-3.0.2/qt-x11-free-3.0.4/include/qvaluelist.h:42,
                 from /usr/src/kde-3.0.2/qt-x11-free-3.0.4/include/qstringlist.h:42,
                 from ../kio/kio/kservicegroupfactory.h:22,
                 from kbuildservicegroupfactory.h:22,
                 from kbuildservicegroupfactory.cpp:19:
/usr/src/kde-3.0.2/qt-x11-free-3.0.4/include/qglobal.h:464: internal error:
   Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[2]: *** [kbuildservicegroupfactory.lo] Error 1
make[2]: Leaving directory `/usr/src/kde-3.0.2/kdelibs-3.0.2/kded'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/kde-3.0.2/kdelibs-3.0.2'
make: *** [all] Error 2
>How-To-Repeat:
Configure kdelibs as follows: ./configure --prefix=/opt/kde-3.0.2/ --enable-debug=full --enable-dnotify

Note: gcc was compiled from source and compiled with gcc 3.1 on the same machine where the crash occured
>Fix:
Unknown
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list