Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26976 - qt-3.1.2-r4 internal error: Segmentation fault
Summary: qt-3.1.2-r4 internal error: Segmentation fault
Status: RESOLVED DUPLICATE of bug 20600
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-20 03:10 UTC by Stijn
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stijn 2003-08-20 03:10:19 UTC
g++ -c -pipe -fno-exceptions -I/usr/include/mysql -fPIC -Wall -W -O2 -
D_REENTRANT  -DDESIGNER -DQT_INTERNAL_XML -DQT_INTERNAL_WORKSPACE -
DQT_INTERNAL_ICONVIEW -DQT_INTERNAL_TABLE -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -
DQT_THREAD_SUPPORT -DQT_SHARED -I/var/tmp/portage/qt-3.1.2-r4/work/qt-x11-free-
3.1.2/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../shared -I../uilib -
I../../../include -I/usr/X11R6/include -I.moc/release-shared-mt/ -
o ./iconvieweditor.o iconvieweditor.cpp
g++ -c -pipe -fno-exceptions -I/usr/include/mysql -fPIC -Wall -W -O2 -
D_REENTRANT  -DDESIGNER -DQT_INTERNAL_XML -DQT_INTERNAL_WORKSPACE -
DQT_INTERNAL_ICONVIEW -DQT_INTERNAL_TABLE -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -
DQT_THREAD_SUPPORT -DQT_SHARED -I/var/tmp/portage/qt-3.1.2-r4/work/qt-x11-free-
3.1.2/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../shared -I../uilib -
I../../../include -I/usr/X11R6/include -I.moc/release-shared-mt/ -
o ./preferences.o preferences.cpp
g++ -c -pipe -fno-exceptions -I/usr/include/mysql -fPIC -Wall -W -O2 -
D_REENTRANT  -DDESIGNER -DQT_INTERNAL_XML -DQT_INTERNAL_WORKSPACE -
DQT_INTERNAL_ICONVIEW -DQT_INTERNAL_TABLE -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -
DQT_THREAD_SUPPORT -DQT_SHARED -I/var/tmp/portage/qt-3.1.2-r4/work/qt-x11-free-
3.1.2/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../shared -I../uilib -
I../../../include -I/usr/X11R6/include -I.moc/release-shared-mt/ -
o ./multilineeditor.o multilineeditor.cpp
g++ -c -pipe -fno-exceptions -I/usr/include/mysql -fPIC -Wall -W -O2 -
D_REENTRANT  -DDESIGNER -DQT_INTERNAL_XML -DQT_INTERNAL_WORKSPACE -
DQT_INTERNAL_ICONVIEW -DQT_INTERNAL_TABLE -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -
DQT_THREAD_SUPPORT -DQT_SHARED -I/var/tmp/portage/qt-3.1.2-r4/work/qt-x11-free-
3.1.2/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../shared -I../uilib -
I../../../include -I/usr/X11R6/include -I.moc/release-shared-mt/ -
o ./formsettings.o formsettings.cpp
g++ -c -pipe -fno-exceptions -I/usr/include/mysql -fPIC -Wall -W -O2 -
D_REENTRANT  -DDESIGNER -DQT_INTERNAL_XML -DQT_INTERNAL_WORKSPACE -
DQT_INTERNAL_ICONVIEW -DQT_INTERNAL_TABLE -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -
DQT_THREAD_SUPPORT -DQT_SHARED -I/var/tmp/portage/qt-3.1.2-r4/work/qt-x11-free-
3.1.2/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../shared -I../uilib -
I../../../include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o ./about.o 
about.cpp
In file included from ../../../include/qptrlist.h:40,
                 from ../../../include/qstrlist.h:43,
                 from ../../../include/qstringlist.h:44,
                 from ../../../include/qvariant.h:310,
                 from about.h:13,
                 from about.cpp:10:
../../../include/qglist.h:97: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
make[3]: *** [about.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/qt-3.1.2-r4/work/qt-x11-free-
3.1.2/tools/designer/designer'
make[2]: *** [sub-designer] Error 2
make[2]: Leaving directory `/var/tmp/portage/qt-3.1.2-r4/work/qt-x11-free-
3.1.2/tools/designer'
make[1]: *** [sub-designer] Error 2
make[1]: Leaving directory `/var/tmp/portage/qt-3.1.2-r4/work/qt-x11-free-
3.1.2/tools'
make: *** [sub-tools] Error 2

!!! ERROR: x11-libs/qt-3.1.2-r4 failed.
!!! Function src_compile, Line 109, Exitcode 2
!!! (no error message)


gentoo root # emerge info
Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-gentoo-r6 i686 AMD Athlon(TM) XP 2000+
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo 
http://ftp.snt.utwente.nl/pub/os/linux/gentoo rsync://ftp.snt.utwente.nl/gentoo 
http://ftp.easynet.nl/mirror/gentoo/"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share
/config /usr/X11R6/lib/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss apm arts avi crypt encode foomaticdb gif imlib gnome libg++ libwww 
mad mikmod nls pdflib quicktime sdl spell svga truetype xv zlib gdbm berkdb 
slang readline gpm tcpd pam ssl python oggvorbis motif X gtk -alsa 3dnow acpi 
apache2 cups dga dvd ethereal ipv6 java jpeg kde mmx mozilla mpeg mysql ncurses 
oggvobis opengl perl png qt samba sse usb xml xml2 xmms"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer -msse -mmmx -m3dnow "
CXXFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer -msse -mmmx -m3dnow "
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"






Reproducible: Always
Steps to Reproduce:
1. emerge qt
2.
3.




Changed :

CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer -msse -mmmx -m3dnow "

also to CFLAGS="-mcpu=i686 -O2 -pipe"

Still the same problem.
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2003-08-20 08:28:10 UTC
Are your CXXFLAGS inherited from CFLAGS in make.conf, or are they separate?  Make sure 
you're trying the less aggressive CXXFLAGS (specifically -O2) 
Comment 2 Stijn 2003-08-20 11:52:44 UTC
The CXXFLAGS are inherited from CFLAGS in the make.conf file.

I'm using the -O2 option in CFLAGS for the moment. I will post if it was succesfull later this evening or tomorrow.

Stijn
Comment 3 Stijn 2003-08-21 03:42:32 UTC
The -O option was not succesfull.

Now I 'm getting errors.


/bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I.
 -I.. -I../kdefx -I../dcop -I../libltdl -I../kdecore -I../kdeui -I../kio -I../ki
o/kio -I../kio/kfile -I.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.
1/include  -I/usr/include/libart-2.0  -DQT_THREAD_SUPPORT  -D_REENTRANT   -Wnon-
virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing
-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
 -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O2 -march=athlon-xp -pipe -fomit-frame-po
inter -msse -mmmx -m3dnow -fno-exceptions -fno-check-new  -DQT_NO_TRANSLATION -D
QT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT  -c -o kglobal.lo `test -f
'kglobal.cpp' || echo './'`kglobal.cpp
kurl.cpp: In member function `bool KURL::operator==(const KURL&) const':
kurl.cpp:873: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
make[3]: *** [kurl.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.1.2-r1/work/kdelibs-3.1.2
/kdecore'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.1.2-r1/work/kdelibs-3.1.2
/kdecore'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.1.2-r1/work/kdelibs-3.1.2
'
make: *** [all] Error 2

!!! ERROR: kde-base/kdelibs-3.1.2-r1 failed.
!!! Function kde_src_compile, Line 137, Exitcode 2
!!! died running emake, kde_src_compile:make





gentoo root # emerge info
Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-gentoo-r6 i686 AMD Athlon(TM) XP 2000+
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://
ftp.snt.utwente.nl/pub/os/linux/gentoo rsync://ftp.snt.utwente.nl/gentoo http://
ftp.easynet.nl/mirror/gentoo/"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share
/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss apm avi crypt encode foomaticdb gif imlib gnome libg++ libwww mad m
ikmod nls pdflib quicktime sdl spell svga truetype xv zlib gdbm berkdb slang rea
dline arts gpm tcpd pam ssl python oggvorbis motif X gtk -alsa 3dnow acpi apache
2 cups dga dvd ethereal ipv6 java jpeg kde mmx mozilla mpeg mysql ncurses oggvob
is opengl perl png qt samba sse usb xml xml2 xmms"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -msse -mmmx -m3dnow "
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -msse -mmmx -m3dnow "
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"


Comment 4 Paul de Vrieze (RETIRED) gentoo-dev 2003-08-21 04:48:46 UTC
Ok, this is probably a duplicage of bug #20600, if so let us know and we'll mark it a duplicate
Comment 5 Stijn 2003-08-21 15:50:22 UTC
I think it will be a duplicate. 
Still trying to compile with less aggressive compile settings. Still need to test a lot to get control over the compiling.

Comment 6 Caleb Tennis (RETIRED) gentoo-dev 2003-09-27 12:19:57 UTC

*** This bug has been marked as a duplicate of 20600 ***