Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8629 - qt-3.0.5-r2 ebuild fails on athlon-xp stage3
Summary: qt-3.0.5-r2 ebuild fails on athlon-xp stage3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: Highest normal
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-01 18:33 UTC by Kevyn Shortell (RETIRED)
Modified: 2003-04-04 05:46 UTC (History)
5 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 Kevyn Shortell (RETIRED) gentoo-dev 2002-10-01 18:33:09 UTC
System is a XP 1800+, 512MB of ram, built of the 1.4 lated rc stage3 on ibiblio.

command executed was emerge -u kde, during the process qt gets emerged,
qt-3.0.5-r2 fails to build, using the stock cflags as specified in the stage3 
make.conf of CFLAGS='-march=athlon-xp -mcpu=athlon-xp -O3 -pipe'

Error follows:

g++ -fno-exceptions -shared -Wl,-soname,libdlgplugin.so.1
-Wl,-rpath,../../../../plugins/designer/ -o libdlgplugin.so
.obj/release-shared-mt/main.o .obj/release-shared-mt/dlg2ui.o   
-Wl,-rpath,/var/tmp/portage/qt-3.0.5-r1/work/qt-x11-free-3.0.5/lib 
-L/var/tmp/portage/qt-3.0.5-r1/work/qt-x11-free-3.0.5/lib  -L/usr/X11R6/lib 
-L/usr/X11R6/lib -ldl -lpthread -lqt-mt -lpthread -lGLU -lGL -lXmu -lICE -lSM
-ldl -lXext -lX11 -lm -lXinerama -lXrender -lXft -lfreetype -lXi
collect2: ld terminated with signal 11 [Segmentation fault], core dumped
make[4]: *** [../../../../plugins/designer/libdlgplugin.so] Error 1
make[4]: Leaving directory
`/var/tmp/portage/qt-3.0.5-r1/work/qt-x11-free-3.0.5/tools/designer/plugins/dlg'
make[3]: *** [sub-dlg] Error 2
make[3]: *** Waiting for unfinished jobs....
collect2: ld terminated with signal 11 [Segmentation fault], core dumped
make[4]: *** [../../../../plugins/designer/libcppeditor.so] Error 1
make[4]: Leaving directory
`/var/tmp/portage/qt-3.0.5-r1/work/qt-x11-free-3.0.5/tools/designer/plugins/cppeditor'
make[3]: *** [sub-cppeditor] Error 2
make[3]: Leaving directory
`/var/tmp/portage/qt-3.0.5-r1/work/qt-x11-free-3.0.5/tools/designer/plugins'
make[2]: *** [sub-plugins] Error 2
make[2]: Leaving directory
`/var/tmp/portage/qt-3.0.5-r1/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-r1/work/qt-x11-free-3.0.5/tools'
make: *** [sub-tools] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 63, Exitcode 2
!!! (no error message)
Comment 1 Nate Rotschafer 2002-10-08 16:46:34 UTC
This also occurs if you start with a stage 1 tarball on my athlon xp 1700+ with 
the std CFLAGS and also some very general ones just trying to debug it...the 
CFLAGS seem to change where it seg faults but it always seg faults...need more 
info email me
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2002-10-12 11:17:41 UTC
Try changing athlon-xp to "athlon" or even "i686".  "collect2" segfaults,
and as part of gcc, it is possible that it may just be another arch optimization
bug in gcc3.
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-04-04 05:46:04 UTC
> 3.1 is stable