[Qt-interest] Frequent internal compiler error: Segfault when compiling Qt 4.4 bundled sqlite3

Srdjan Todorovic todorovic.s at googlemail.com
Tue Apr 27 14:44:43 CEST 2010


Hi all,

I have a problem where I get a frequent internal compiler error when
compiling the 3rdparty sqlite module in Qt 4.4.3 - can anyone please
suggest what could be the problem?

This is on OpenSuse 11.2,
gcc version 4.4.1 [gcc-4_4-branch revision 150839] (SUSE Linux)

It gets to a point when I can keep running make and it will always have an ICE.

Can anyone please shed some light onto this?
Am I using a far too old Qt / too new gcc?

I suppose I could disable this module (as it's not needed in the
current project), but I'd still rather find out what the cause is.

Many thanks,
Srdjan

make[3]: Entering directory
`/home/stodorovic/qt-x11-commercial-src-4.4.3/src/plugins/sqldrivers/sqlite'
gcc -c -pipe -g -O2 -fvisibility=hidden -D_REENTRANT -Wall -W -fPIC
-DQT_EDITION=QT_EDITION_DESKTOP -DNDEBUG -DSQLITE_CORE
-DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_OMIT_COMPLETE
-DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_DEBUG
-DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -DQT_SHARED -I../../../../mkspecs/linux-g++ -I.
-I../../../../include/QtCore -I../../../../include/QtCore
-I../../../../include/QtSql -I../../../../include/QtSql
-I../../../../include -I../../../3rdparty/sqlite -I.moc/release-shared
-I.uic/release-shared -o .obj/release-shared/sqlite3.o
../../../3rdparty/sqlite/sqlite3.c
../../../3rdparty/sqlite/sqlite3.c: In function ‘parseModifier’:
../../../3rdparty/sqlite/sqlite3.c:7855: warning: comparison between
signed and unsigned integer expressions
../../../3rdparty/sqlite/sqlite3.c: In function ‘ctimeFunc’:

   [ snip tons of other warnings]

../../../3rdparty/sqlite/sqlite3.c: At top level:
../../../3rdparty/sqlite/sqlite3.c:4821: warning:
‘sqlite3BtreeHoldsMutex’ declared ‘static’ but never defined
../../../3rdparty/sqlite/sqlite3.c:4826: warning:
‘sqlite3BtreeHoldsAllMutexes’ declared ‘static’ but never defined
../../../3rdparty/sqlite/sqlite3.c:8580: warning: ‘sqlite3OsDlOpen’
defined but not used
../../../3rdparty/sqlite/sqlite3.c:8583: warning: ‘sqlite3OsDlError’
defined but not used
../../../3rdparty/sqlite/sqlite3.c:8586: warning: ‘sqlite3OsDlSym’
defined but not used
../../../3rdparty/sqlite/sqlite3.c:8589: warning: ‘sqlite3OsDlClose’
defined but not used
../../../3rdparty/sqlite/sqlite3.c: In function ‘patternCompare’:
../../../3rdparty/sqlite/sqlite3.c:52996: internal compiler error:
Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.opensuse.org/> for instructions.
make[3]: *** [.obj/release-shared/sqlite3.o] Error 1
make[3]: Leaving directory
`/home/stodorovic/qt-x11-commercial-src-4.4.3/src/plugins/sqldrivers/sqlite'
make[2]: *** [sub-sqlite-make_default] Error 2
make[2]: Leaving directory
`/home/stodorovic/qt-x11-commercial-src-4.4.3/src/plugins/sqldrivers'
make[1]: *** [sub-sqldrivers-make_default] Error 2
make[1]: Leaving directory
`/home/stodorovic/qt-x11-commercial-src-4.4.3/src/plugins'
make: *** [sub-plugins-make_default-ordered] Error 2
[stodorovic at linux-wt8y ~/qt-x11-commercial-src-4.4.3]$




More information about the Qt-interest-old mailing list