Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36084 - Qt compile with error.
Summary: Qt compile with error.
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-18 14:39 UTC by Michael Labhard
Modified: 2003-12-19 09:53 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 Michael Labhard 2003-12-18 14:39:50 UTC
g++ -c -pipe -I/usr/include/postgresql/server -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_NAS_SUPPORT -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -I/var/tmp/portage/qt-3.2.3/work/qt-x11-free-3.2.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qdataview.o sql/qdataview.cpp
In file included from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/g++-v3/istream:297,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/g++-v3/iterator:71,
                 from ../include/qvaluelist.h:48,
                 from ../include/qvariant.h:319,
                 from sql/qdatatable.h:42,
                 from sql/qdatatable.cpp:37:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/g++-v3/bits/istream.tcc: In instantiation of `std::basic_istream<wchar_t, std::char_traits<wchar_t> >':
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/g++-v3/bits/istream.tcc:1202:   instantiated from here
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/g++-v3/bits/istream.tcc:347: Internal
   compiler error in tsubst_decl, at cp/pt.c:5929
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
make[1]: *** [.obj/release-shared-mt/qdatatable.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/qt-3.2.3/work/qt-x11-free-3.2.3/src'
make: *** [sub-src] Error 2

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


>>> Unmerging media-libs/lcms-1.09...
No package files given... Grabbing a set.
--- !mtime obj /usr/share/lcms/profiles/sRGBSpac.icm
--- !mtime obj /usr/share/lcms/profiles/sRGB Color Space Profile.icm
<<<        obj /usr/share/doc/lcms-1.09/txt/TUTORIAL.TXT.gz
<<<        obj /usr/share/doc/lcms-1.09/txt/LCMSAPI.TXT.gz
<<<        obj /usr/share/doc/lcms-1.09/README.gz
<<<        obj /usr/share/doc/lcms-1.09/NEWS.gz
<<<        obj /usr/share/doc/lcms-1.09/INSTALL.gz
<<<        obj /usr/share/doc/lcms-1.09/COPYING.gz
<<<        obj /usr/share/doc/lcms-1.09/AUTHORS.gz
<<<        obj /usr/lib/liblcms.so.1.0.9
--- !mtime obj /usr/lib/liblcms.a
--- !mtime obj /usr/include/lcms/lcms.h
--- !mtime obj /usr/include/lcms/icc34.h
--- !mtime obj /usr/bin/icctrans
<<<        dir /usr/share/doc/lcms-1.09/txt
<<<        dir /usr/share/doc/lcms-1.09
--- !empty dir /usr/share/lcms/profiles
--- !empty dir /usr/share/lcms
--- !empty dir /usr/share/doc
--- !empty dir /usr/share
--- !empty dir /usr/lib
--- !empty dir /usr/include/lcms
--- !empty dir /usr/include
--- !empty dir /usr/bin
--- !empty dir /usr
--- !targe sym /usr/lib/liblcms.so.1
--- !targe sym /usr/lib/liblcms.so
>>> emerge (2 of 21) x11-libs/qt-3.2.3 to /
>>> md5 src_uri ;-) qt-x11-free-3.2.3.tar.bz2


Reproducible: Always
Steps to Reproduce:
1.emerge -ub world
2.
3.





goliath root # qpkg -i -I qt
x11-libs/qt-3.2.2-r1 *
        QT version ${PV} [ http://www.trolltech.com/ ]
app-doc/qt-docs-3.1.2 *
        Documentation for the QT ${PV} API [ http://www.trolltech.com/ ]

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.22_pre2-gss)
=================================================================
System uname: 2.4.22_pre2-gss i686 AMD Athlon(tm) MP 2200+
Gentoo Base System version 1.4.3.10p1
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-mp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
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"
CXXFLAGS="-march=athlon-mp -O3 -pipe"
DISTDIR="/opt/no_archive/portage/distfiles"
FEATURES="sandbox autoaddcvs buildpkg ccache"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.
org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j4"
PKGDIR="/opt/no_archive/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="oss apm avi crypt cups encode foomaticdb gif gtk2 jpeg gnome mad mikmod 
mpeg ncurses nls pdflib png quicktime truetype xml2 xmms xv zlib gdbm berkdb 
slang arts tetex svga sdl gpm tcpd pam libwww ssl perl python esd imlib 
oggvorbis gtk motif opengl gphoto2 X alsa nas tcltk plotutils postgres qt java 
xinerama libg++ x86 mozilla cdr doc junit kde readline spell usb log4cpp"
Comment 1 Paul de Vrieze (RETIRED) gentoo-dev 2003-12-19 06:49:00 UTC
Try to use a -O2 optimization, or a newer compiler version (3.2.x is known to have errors with high optimizations on newer architectures)
Comment 2 Michael Labhard 2003-12-19 09:53:43 UTC
If you look more closely at the line on which the compiler errored you will see that it already uses the -O2 flag.

Tried it again and this time the error did not occur.  Cannot account for it but I don't think there is anything more to be done about it.