Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3577 - qt 3.0.4.20020606-r1 ebuild fails with gcc 3.1
Summary: qt 3.0.4.20020606-r1 ebuild fails with gcc 3.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Matthew Kennedy (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-10 07:04 UTC by Bryan Stine (RETIRED)
Modified: 2003-02-04 19:42 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 Bryan Stine (RETIRED) gentoo-dev 2002-06-10 07:04:15 UTC
The following error happened during the qt 3.0.4.20020606 compile. I tried a bunch of different ways to fix it, including disabling optimizations (below), none worked. I got the same error every time.

g++ -c -march=i486 -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPIC  -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -I/usr/X11R6/include/freetype2 -I../../interfaces -I/var/tmp/portage/qt-3.0.4.20020606-r1/work/qt-copy-3.0.4/include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-mt/ -I/var/tmp/portage/qt-3.0.4.20020606-r1/work/qt-copy-3.0.4/mkspecs/linux-g++ -o
.obj/release-mt/mainwindowwizard.o mainwindowwizard.cpp
/var/tmp/portage/qt-3.0.4.20020606-r1/work/qt-copy-3.0.4/bin/uic  -embed wizards images/down.png images/left.png images/logo.png images/qtwizards_menu_1.png images/qtwizards_menu_2.png images/qtwizards_menu_3.png images/qtwizards_table_1.png images/qtwizards_table_2.png images/qtwizards_table_3.png images/qtwizards_table_4.png images/re-sort.png images/right.png images/up.png -o qmake_image_collection.cpp
make[4]: *** [qmake_image_collection.cpp] Illegal instruction
make[4]: *** Deleting file `qmake_image_collection.cpp'
make[4]: Leaving directory `/var/tmp/portage/qt-3.0.4.20020606-r1/work/qt-copy-3.0.4/tools/designer/plugins/wizards'
make[3]: *** [sub-wizards] Error 2
make[3]: Leaving directory `/var/tmp/portage/qt-3.0.4.20020606-r1/work/qt-copy-3.0.4/tools/designer/plugins'
make[2]: *** [sub-plugins] Error 2
make[2]: Leaving directory `/var/tmp/portage/qt-3.0.4.20020606-r1/work/qt-copy-3.0.4/tools/designer'
make[1]: *** [sub-designer] Error 2
make[1]: Leaving directory `/var/tmp/portage/qt-3.0.4.20020606-r1/work/qt-copy-3.0.4/tools'
make: *** [sub-tools] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 77, Exitcode 2
!!! (no error message)

The machine is an athlon-tbird. All (de)optimization flags were placed into work/qt-copy-3.0.4/mkspecs/linux-g++/qmake.conf.
Since the problem doesn't seem to be in the optimization of gcc 3.1, I really don't know what to make of this.
Comment 1 Brandon Low (RETIRED) gentoo-dev 2002-07-09 00:59:40 UTC
more recent qt builds work fine, this was a bug in their code, not ours.