Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
qt-3.3.3 fails on emerge -uDav world [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
elsphinc
Tux's lil' helper
Tux's lil' helper


Joined: 24 Oct 2002
Posts: 135
Location: Lake Tahoe

PostPosted: Sun May 29, 2005 8:37 pm    Post subject: qt-3.3.3 fails on emerge -uDav world [Solved] Reply with quote

I've been struggling through an emerge -uDav world, which i haven't done for over a year. Many problems have arisen and have been solved through the use of this forum, until this one.

x11-libs/qt-3.3.3

here is the error output (i think)
Code:
g++ -c -pipe -I/usr/include/mysql -I/usr/include/postgresql/server -I/usr/include/postgresql/pgsql -I/usr/include/postgresql/pgsql/server -fno-exceptions -Wall -W -march=athlon-xp -pipe -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DQT_NO_XINERAMA -DQT_DLOPEN_OPENGL -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 -DQT_NO_STYLE_POCKETPC -I/var/tmp/portage/qt-3.3.3/work/qt-x11-free-3.3.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/moc_qaccel.o .moc/release-shared-mt/moc_qaccel.cpp
In file included from 3rdparty/opentype/ftxopen.h:286,
                 from ../include/private/qfontengine_p.h:303,
                 from opengl/qgl_x11.cpp:47:
3rdparty/opentype/ftxgpos.h:736: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
g++ -c -pipe -I/usr/include/mysql -I/usr/include/postgresql/server -I/usr/include/postgresql/pgsql -I/usr/include/postgresql/pgsql/server -fno-exceptions -Wall -W -march=athlon-xp -pipe -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DQT_NO_XINERAMA -DQT_DLOPEN_OPENGL -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 -DQT_NO_STYLE_POCKETPC -I/var/tmp/portage/qt-3.3.3/work/qt-x11-free-3.3.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/moc_qapplication.o .moc/release-shared-mt/moc_qapplication.cpp
g++ -c -pipe -I/usr/include/mysql -I/usr/include/postgresql/server -I/usr/include/postgresql/pgsql -I/usr/include/postgresql/pgsql/server -fno-exceptions -Wall -W -march=athlon-xp -pipe -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DQT_NO_XINERAMA -DQT_DLOPEN_OPENGL -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 -DQT_NO_STYLE_POCKETPC -I/var/tmp/portage/qt-3.3.3/work/qt-x11-free-3.3.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/moc_qasyncio.o .moc/release-shared-mt/moc_qasyncio.cpp
The bug is not reproducible, so it is likely a hardware or OS problem.
make[1]: *** [.obj/release-shared-mt/qgl_x11.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/qt-3.3.3/work/qt-x11-free-3.3.3/src'
make: *** [sub-src] Error 2

!!! ERROR: x11-libs/qt-3.3.3 failed.
!!! Function src_compile, Line 125, Exitcode 2


the line hat interests me is the seg fault line regarding a 3rd party internal compile error ??

here is my /etx/make.conf

Code:
CFLAGS="-march=athlon-xp -O3 -pipe -msse -mmmx -m3dnow -momit-leaf-frame-pointe$
#CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://128$
USE="-gtk -gnome qt flac kde dvd alsa cdr gimpprint mysql cups foomaticdb ppds $
MAKEOPTS="-j3"
FEATURES="prelink -ccache"


My kernel version is 2.6.10-gentoo-r6

Any thoughts ??
Thanks
_________________
elsphinc # kickin_ass &
mysql> create database namesdb;


Last edited by elsphinc on Mon May 30, 2005 10:41 pm; edited 1 time in total
Back to top
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1945
Location: Zurich, Switzerland

PostPosted: Sun May 29, 2005 8:56 pm    Post subject: Reply with quote

Is gcc-config installed, and what compiler are you using?

Try to do an 'env-update && source /etc/profile'. This should update your variables...

Try 'cd /var/tmp/portage/<ebuild-name>/work/<tarball-name>/ && make'. Basiacally it runs make manually, do this after an env-update, and before[!!] trying to emerge --resume, emerge qt respectively.

Hope it helps
V.

PS. post the whole make.conf, some parts were ost during the copy...
Back to top
View user's profile Send private message
elsphinc
Tux's lil' helper
Tux's lil' helper


Joined: 24 Oct 2002
Posts: 135
Location: Lake Tahoe

PostPosted: Mon May 30, 2005 6:11 am    Post subject: no work directory Reply with quote

Thanks for the quick response

Ok so i did the env-update and the source /etc/profile and was able to make from /var/tmp/portage/qt-3.3.4-r3/work/<ebuild> but that failed giving me the following

Code:
make[1]: Entering directory `/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3
'
cd qmake && make
make[2]: Entering directory `/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3
/qmake'
make[2]: `qmake' is up to date.
make[2]: Leaving directory `/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.
qmake'
cd src/moc && make
make[2]: Entering directory `/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3
/src/moc'
make[2]: Nothing to be done for `first'.
make[2]: Leaving directory `/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.
src/moc'

cd src && make
make[2]: Entering directory `/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3
/src'
g++ -c -pipe -I/usr/include/mysql -I/usr/include/postgresql/server -I/usr/in
e/postgresql/pgsql -I/usr/include/postgresql/pgsql/server -fno-exceptions -W
-W -march=athlon-xp -pipe -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_TABLET_SUP
 -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_SOURCE -
RGE_FILES -D_FILE_OFFSET_BITS=64 -DQT_NO_XINERAMA -DQT_DLOPEN_OPENGL -DQT_BU
N_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE
_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -DQT_NO_STYLE_POCKETPC -I/var/tmp/
age/qt-3.3.4-r3/work/qt-x11-free-3.3.4/mkspecs/linux-g++ -I. -I/usr/include/
type2 -I3rdparty/opentype -I../include -I/usr/include -I.moc/release-shared-
-o .obj/release-shared-mt/qpopupmenu.o widgets/qpopupmenu.cpp
widgets/qpopupmenu.cpp: In member function `QSize QPopupMenu::updateSize(boo
   bool)':
widgets/qpopupmenu.cpp:1141: error: `max_wydth' undeclared (first use this
   function)
widgets/qpopupmenu.cpp:1141: error: (Each undeclared identifier is reported
   only once for each function it appears in.)
make[2]: *** [.obj/release-shared-mt/qpopupmenu.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.
src'
make[1]: *** [sub-src] Error 2
make[1]: Leaving directory `/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.
make: *** [init] Error 2


my gcc version is

Code:
gcc version 3.3.5-20050130 (Gentoo 3.3.5.20050130-r1, ssp-3.3.5.20050130-1, pie-8.7.7.1)



and gcc-config
Code:

[ebuild   R   ] sys-devel/gcc-config-1.3.10-r2

_________________
elsphinc # kickin_ass &
mysql> create database namesdb;
Back to top
View user's profile Send private message
elsphinc
Tux's lil' helper
Tux's lil' helper


Joined: 24 Oct 2002
Posts: 135
Location: Lake Tahoe

PostPosted: Mon May 30, 2005 3:15 pm    Post subject: Reply with quote

heres my whole /etc/make.conf

Code:
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-march=athlon-xp -O3 -pipe -msse -mmmx -m3dnow -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -ffast-math -fprefetch-loop-arrays -finline-limit=600"
#CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://128.213.5.34/gentoo/ http://gentoo.binarycompass.org http://gentoo.eliteitminds.com"
USE="-gtk -gnome qt flac kde dvd alsa cdr gimpprint mysql cups foomaticdb ppds usb postgres scanner"
MAKEOPTS="-j3"
FEATURES="prelink -ccache"

_________________
elsphinc # kickin_ass &
mysql> create database namesdb;
Back to top
View user's profile Send private message
elsphinc
Tux's lil' helper
Tux's lil' helper


Joined: 24 Oct 2002
Posts: 135
Location: Lake Tahoe

PostPosted: Mon May 30, 2005 10:40 pm    Post subject: solved Reply with quote

Solved it by dropping my CFLAGS down from "-03" to "-02"

Code:
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"

_________________
elsphinc # kickin_ass &
mysql> create database namesdb;
Back to top
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1945
Location: Zurich, Switzerland

PostPosted: Tue May 31, 2005 9:00 am    Post subject: Reply with quote

Just an additional comment.

-O3 does pretty often crash thing, when it shouldn't. And try to stay with reasonable CFLAGS, i.e. -march=<p-type> -O2 -pipe -fomit-frame-pointer. -mmmx -msse -m3dnow are often already implemented by -march...

glad to hear it worked

V.
Back to top
View user's profile Send private message
poomah
n00b
n00b


Joined: 04 Jul 2005
Posts: 1

PostPosted: Mon Jul 04, 2005 2:10 am    Post subject: Reply with quote

I had the exact same issue. I went back and installed the i686 stage 3 tarball and the problem is now gone. I think I mistakenly thought my athlon was an athlon-xp. I had originally installed the athlon-xp stage 3. It was the first time I did a stage 3 install, normally I do a stage 1, but I was in a hurry.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum