Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 7282 - Can't build QT!
Summary: Can't build QT!
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Dan Armak (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-30 18:25 UTC by Ernst Sjöstrand
Modified: 2006-02-04 06:03 UTC (History)
2 users (show)

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 Ernst Sjöstrand 2002-08-30 18:25:37 UTC
emerge qt fails with both 3.0.5-r1 and r2.

g++ -fno-exceptions -o ../../../bin/uic .obj/release-shared-mt/main.o
.obj/release-shared-mt/uic.o .obj/release-shared-mt/form.o
.obj/release-shared-mt/object.o .obj/release-shared-mt/subclassing.o
.obj/release-shared-mt/embed.o .obj/release-shared-mt/widgetdatabase.o
.obj/release-shared-mt/domtool.o .obj/release-shared-mt/parser.o   
-Wl,-rpath,/var/tmp/portage/qt-3.0.5-r2/work/qt-x11-free-3.0.5/lib 
-L/var/tmp/portage/qt-3.0.5-r2/work/qt-x11-free-3.0.5/lib  -L/usr/X11R6/lib 
-L/usr/X11R6/lib -ldl -lpthread -lz -lqt-mt -lpthread -lGLU -lGL -lXmu -lICE
-lSM -ldl -lXext -lX11 -lm -lXinerama -lXrender -lXft -lfreetype -lXi
/usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.2/../../../libGLU.so: undefined
reference to `vtable for __cxxabiv1::__vmi_class_type_info@GLIBCPP_3.1'
/usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.2/../../../libGLU.so: undefined
reference to `__gxx_personality_v0@CXXABI_1'
/usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.2/../../../libGLU.so: undefined
reference to `operator delete(void*)@GLIBCPP_3.1'
/usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.2/../../../libGLU.so: undefined
reference to `operator
new[](unsigned)@GLIBCPP_3.1'/usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.2/../../../libGLU.so:
undefined reference to `operator
delete[](void*)@GLIBCPP_3.1'/usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.2/../../../libGLU.so:
undefined reference to `__cxa_pure_virtual@CXXABI_1'
/usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.2/../../../libGLU.so: undefined
reference to `vtable for __cxxabiv1::__si_class_type_info@GLIBCPP_3.1'
/usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.2/../../../libGLU.so: undefined
reference to `operator new(unsigned)@GLIBCPP_3.1'
/usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.2/../../../libGLU.so: undefined
reference to `vtable for __cxxabiv1::__class_type_info@GLIBCPP_3.1'
collect2: ld returned 1 exit status
make[3]: *** [../../../bin/uic] Error 1
make[3]: Leaving directory
`/var/tmp/portage/qt-3.0.5-r2/work/qt-x11-free-3.0.5/tools/designer/uic'
make[2]: *** [sub-uic] Error 2
make[2]: Leaving directory
`/var/tmp/portage/qt-3.0.5-r2/work/qt-x11-free-3.0.5/tools/designer'
make[1]: *** [sub-designer] Error 2
make[1]: Leaving directory
`/var/tmp/portage/qt-3.0.5-r2/work/qt-x11-free-3.0.5/tools'
make: *** [sub-tools] Error 2

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

From make.conf:

USE="-gnome gtk esd jpeg png gif cups slp X dga opengl xv fbcon kde qt qtmt arts
mpeg -avi -alsa oss mikmod xmms oggvorbis flash imap mozilla spell truetype java
gpm"


CFLAGS=" -O2 -pipe -mcpu=750 -mpowerpc-gfxopt -mmultiple -mstring -fsigned-char "
CXXFLAGS=${CFLAGS}
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-08-31 13:33:49 UTC
I'm not sure if this is a ppc issue or a qt issue, so giving dan a first crack.
Dan, if it is a ppc issue, push it to cselkirk, please
Comment 2 Dan Armak (RETIRED) gentoo-dev 2002-08-31 14:42:50 UTC
I'm not at all sure what kind of issue it is, I only know i've never seen such 
a thing before. PPC guys - any ideas? I distinctly remember _someone_ saying 
something about some qt/libGLU build error on irc today, can't remember 
details though... 
Comment 3 Ernst Sjöstrand 2002-09-01 03:38:52 UTC
I'm starting to suspect it hade something to do with gcc-3.2_pre to do...
Comment 4 Khayyam 2002-09-01 03:52:10 UTC
This is on a clean 1.4? I see gcc-3.2 as the compiler but the CFLAGS the bug_____ reporter posts are from 1.2 (we should not be using -mmultiple -mstring with_____ gcc-3.2). My suspicion is that this is a 1.2 and that XFree86 (and libGLU) is____ built with gcc-2.x and that that gcc has been upgraded on top of a 1.2 profile___ 
I haven't built qt with 1.4 but will do so to see if i also run into this.
Comment 5 Mark Guertin 2002-09-01 22:29:02 UTC
ernst: which compiler are you using? It looks to me like you may have done a 
gcc upgrade and broke things?  The first error is in CXXABI 
Comment 6 Ernst Sjöstrand 2002-09-02 02:15:24 UTC
Ok, it works now.
Recompiled x and then qt.

So I had probably broken things when I upgraded gcc...

Sorry! But now I'll go post another bug about iptables-1.2.6a-r2!