Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40523 - app-editors/quanta-3.2.0 emerge fails with -march=athlon-xp
Summary: app-editors/quanta-3.2.0 emerge fails with -march=athlon-xp
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 All
: High major
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-05 13:20 UTC by Keith Constable
Modified: 2004-02-19 22:59 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 Keith Constable 2004-02-05 13:20:04 UTC
-- Begin Error --
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../kommander/widgets -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include  -Ishared -Iinterfaces -Ipics  -DQT_THREAD_SUPPORT  -D_REENTRANT -DKOMMANDER -DDESIGNER -DQT_NO_SQL -DHAVE_KDE  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -O3 -mcpu=athlon-xp -march=athlon-xp -pipe -fomit-frame-pointer -mmmx -msse -m3dnow -mfpmath=sse -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DBUILD_KAFKAPART  -c -o customwidgeteditorimpl.o `test -f 'customwidgeteditorimpl.cpp' || echo './'`customwidgeteditorimpl.cpp
In file included from pixmapchooser.h:25,
                 from metadatabase.h:34,
                 from customwidgeteditorimpl.h:25,
                 from customwidgeteditorimpl.cpp:21:
/usr/qt/3/include/qscrollview.h:262: 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++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../kommander/widgets -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include  -Ishared -Iinterfaces -Ipics  -DQT_THREAD_SUPPORT  -D_REENTRANT -DKOMMANDER -DDESIGNER -DQT_NO_SQL -DHAVE_KDE  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -O3 -mcpu=athlon-xp -march=athlon-xp -pipe -fomit-frame-pointer -mmmx -msse -m3dnow -mfpmath=sse -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DBUILD_KAFKAPART  -c -o editslotsimpl.o `test -f 'editslotsimpl.cpp' || echo './'`editslotsimpl.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../kommander/widgets -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include  -Ishared -Iinterfaces -Ipics  -DQT_THREAD_SUPPORT  -D_REENTRANT -DKOMMANDER -DDESIGNER -DQT_NO_SQL -DHAVE_KDE  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -O3 -mcpu=athlon-xp -march=athlon-xp -pipe -fomit-frame-pointer -mmmx -msse -m3dnow -mfpmath=sse -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DBUILD_KAFKAPART  -c -o filechooser.o `test -f 'filechooser.cpp' || echo './'`filechooser.cpp
The bug is not reproduceable, so it is likely a hardware or OS problem
make[4]: *** [customwidgeteditorimpl.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/tmp/portage/quanta-3.2.0/work/quanta-3.2.0/kommander/editor'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/quanta-3.2.0/work/quanta-3.2.0/kommander/editor'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/quanta-3.2.0/work/quanta-3.2.0/kommander'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/quanta-3.2.0/work/quanta-3.2.0'
make: *** [all] Error 2

!!! ERROR: app-editors/quanta-3.2.0 failed.
!!! Function kde_src_compile, Line 127, Exitcode 2
!!! died running emake, kde_src_compile:make
-- End Error --


This compile error occurs consistently with quanta-3.2.0 when '-march=athlon-xp' is in CFLAGS.  Changing to '-march=i686' or '-mcpu=athlon-xp' allows for proper compiling and a working executable.  quanta-3.2.0 may require some flag stripping?


Portage 2.0.50_pre22 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0, 2.6.1-gentoo-r1)
=================================================================
System uname: 2.6.1-gentoo-r1 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.4.3.12
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=athlon-xp -march=athlon-xp -pipe -fomit-frame-pointer -mmmx -msse -m3dnow -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -mcpu=athlon-xp -march=athlon-xp -pipe -fomit-frame-pointer -mmmx -msse -m3dnow -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/ http://gentoo.chem.wisc.edu/gentoo/ ftp://oss.redundant.com/pub/gentoo ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ ftp://lug.mtu.edu/gentoo/source"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="3dnow X aalib acpi avi cdr crypt cups dvd dvdr encode foomaticdb gif gpm gtk gtk2 gtkhtml imlib java jpeg libg++ libwww mad mikmod mmx motif mpeg ncurses oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell sse ssl svga tcltk tcpd tiff truetype x86 xml xml2 xmms xv zlib"
Comment 1 Jeff Stuart 2004-02-19 22:00:16 UTC
A) this is NOT a problem with Quanta, it's possibly a gcc bug more probably a hardware problem, and 
B) I use -march=athlon-xp on an AMD XP 1600+ and Quanta compiled perfectly for me.
Comment 2 Keith Constable 2004-02-19 22:59:29 UTC
Yup.  Works now.