Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53736 - gcc-3.3* seems to have problems with compiling qt applications; they segfault
Summary: gcc-3.3* seems to have problems with compiling qt applications; they segfault
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL: http://lists.debian.org/debian-user/2...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-12 12:33 UTC by Tudor Vaida
Modified: 2004-06-13 05:12 UTC (History)
1 user (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 Tudor Vaida 2004-06-12 12:33:50 UTC
After emerging some qt applications ( mixxx and bpmdj ) ( I have no KDE environment installed ), I observed they keep segfaulting. I tried choosing less agressive compile flags, result the same.
I found a hint on its incompatibility with QT on a Debian forum ( linke given above ). It seems the reason was that I had ACCEPT_KEYWORDS="~x86" which permitted the install of gcc-3.3.3-r5.  so I tried removing the line from make.conf and choosing less aggressive compile flags ( -O2 - pipe ). With the older gcc stable version ( 3.3.2-r5 ) the QT applications seems to work ok ( after recompiling with --emptytree ).

Reproducible: Didn't try
Steps to Reproduce:
1.
2.
3.




Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.20-gaming-r11)
=================================================================
System uname: 2.4.20-gaming-r11 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fno-enforce-eh-specs"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://gentoo.inode.at/source/
ftp://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
http://ftp.easynet.nl/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X alsa apm avi cdr crypt cups dvd dvdr encode gif gnome gphoto2 gtk
gtk2 guile imlib jack java jpeg libg++ libwww mad mikmod mmx motif mozilla mpeg
mysql ncurses oggvorbis opengl oss pam pdflib png python quicktime readline
scanner sdl spell ssl tcpd tetex tiff truetype usb x86 xml2 xmms xv zlib"
Comment 1 Tudor Vaida 2004-06-13 04:22:10 UTC
I corrected the bug, seems like applications are still segfaulting only because of clicking a window or so.
Comment 2 Tudor Vaida 2004-06-13 05:12:18 UTC
Seems like mixxx really had a segfaulting bug, and bpm-dj also has other such bugs, so I guess it's not up to the compiler, but these are problems in the code itself.
Since both mixxx and bpmdj have quite outdated versions in the portage tree, I will close the bug for now. If I still encounter problems I will reopen it.