Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51312 - kde-base/kdelibs-3.2.2-r1 doesn't like -fweb with gcc-3.4
Summary: kde-base/kdelibs-3.2.2-r1 doesn't like -fweb with gcc-3.4
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 48528
  Show dependency tree
 
Reported: 2004-05-17 14:12 UTC by Prakash Punnoor
Modified: 2004-12-06 19:26 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 Prakash Punnoor 2004-05-17 14:12:52 UTC
I guess the -fweb flag (and thus -O3) should be filtered out when gcc-3.4 is used. I think gcc3.4 has some serious issues (not the first package which misbehaves with -fweb) and I wonder why the gcc people included -fweb in -O3. In my case using -fweb, I got following erratic behaviour:

-When I click on an icon on the desktop a neighbor icon would disappear.
-The context menu shows up in purple/normal color checkboard style.

With down CFLAGs it works as it should.

emerge info
Portage 2.0.50-r6 (default-x86-1.4, gcc-3.4.0, glibc-2.3.3_pre20040420-r0, 2.6.6-love4)
=================================================================
System uname: 2.6.6-love4 i686 AMD Athlon(tm)
Gentoo Base System version 1.4.12
distcc 2.14 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -mtune=athlon-xp -O2 -ftracer -pipe -frename-registers -fomit-frame-pointer"
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 /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="-march=athlon-xp -mtune=athlon-xp -O2 -ftracer -pipe -frename-registers -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache digest prelink sandbox"
GENTOO_MIRRORS=" ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/lportage"
SYNC="rsync://mirrors.sec.informatik.tu-darmstadt.de/gentoo-portage"
USE="3dnow S3TC X Xaw3d aalib acpi acpi4linux alsa apm arts avi berkdb cdr crypt cups dga directfb dv dvb dvd dvdr encode esd ext-png ext-zlib faad fbcon ffmpeg flac foomaticdb gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 gtkhtml ieee1394 imlib ipv6 javascript jpeg kde ldap libg++ libwww mad mikmod mmx monkey motif moznocompose mpeg mpi ncurses nls nocd nptl nvidia oggvorbis openal opengl oss pam pdflib perl pic png ppds python qt qtmt quicktime readline samba scanner sdl slang speex spell sse ssl svga tcpd tetex threads tiff transcode truetype usb v4l videos wmf x86 xfs xine xml xml2 xmms xv xvid zlib"


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Simon Strandman 2004-08-21 15:56:49 UTC
Are you sure that -fweb is the cause of this problem? I have compiled the system on several computers with -fweb and I have never had such problems with it in KDE or any other de/wm.

This is from my main computer:
Portage 2.0.50-r9 (gcc34-x86-2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.8-ck3)
=================================================================
System uname: 2.6.8-ck3 i686 AMD Athlon(tm) XP 2800+
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-Os -march=athlon-xp -mfpmath=sse -pipe -fomit-frame-pointer -ffast-math -fweb"
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 /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -march=athlon-xp -mfpmath=sse -pipe -fomit-frame-pointer -ffast-math -fweb -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.rhnet.is/pub/gentoo/ http://mirror.pudas.net/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.rhnet.is/pub/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 aalib alsa apm avi berkdb cdr crypt dga dvd dvdr encode esd esound f77 fbcon foomaticdb gdbm gif gnome gphoto2 gpm gtk gtk2 imlib java jpeg libg++ libwww linguas_sv mad mikmod mmx mng motif mozilla mpeg ncurses nls nptl objc offensive oggvorbis opengl pam pdflib perl pic png pnp python qt quicktime readline samba sdl slang spell sse ssl svga tcpd tiff truetype unicode usb video_cards_radeon x86 xine xml xml2 xmms xv xvid zlib"
Comment 2 Prakash Punnoor 2004-08-22 06:54:02 UTC
Yes, it caused the problem, as it was the only flag I changed. I could be that a newer gcc version fixed it. I haven't tried -fweb since gcc-3.4.0. Or that with a certaincombination of flags, -fweb breaks. Our flags are very different.
Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2004-12-06 19:26:37 UTC
Dunno if this is better now or not, but I'm not keen on filtering flags.