There are reports on the Gentoo forum of a window corruption bug going away when xorg-server is recompiled without -fweb. 4 so far in this topic: http://forums.gentoo.org/viewtopic-t-377400.html on pages 25, 28, and 29.
Done, thanks!
Hi, I want to add, that I do not have any corruptions with -fweb on my amd64 system with gcc 3.4.5. Maybe this is a x86 bug? So please, if you want to filter that flag, do it on x86 only ;)
Could you post your 'emerge info' for reference please? Also, confirmation from others would be preferable.
here it is. emerge --info Portage 2.1_pre4-r1 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.3.6-r2, 2.6.16-rc1 x86_64) ================================================================= System uname: 2.6.16-rc1 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.12.0_pre15 ccache version 2.4 [enabled] dev-lang/python: 2.3.5, 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -fweb -ftracer -fpeel-loops -msse3 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -O2 -fweb -ftracer -fpeel-loops -msse3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/" LC_ALL="de_DE@euro" LINGUAS="de" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 S3TC X aac acpi aio alsa aotuv asf audiofile avi bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo cdparanoia clamav cpudetection crypt css curl dio dnd dpms dri dv dvd dvdr dvdread emul-linux-x86 encode experimental fame ffmpeg fftw flac foomaticdb fortran ftp gif gimp glitz glut glx gnokii gpm gstreamer gtk gtk2 icq id3 imagemagick imlib input_devices_joystick input_devices_keyboard input_devices_mouse irmc jabber java javascrip javascript joystick jp2 jpeg jpeg2k kde kdeenablefinal kdepim lame lesstif libwww lm_sensors lzo lzw lzw-tiff mad matroska memlimit mime mjpeg mmap mng mp3 mpeg mpeg2 mplayer ncurses nls no-old-linux nocd nosendmail nowin nptl nsplugin nvidia offensive ogg opengl oscar pam pdf pdflib perl pertty physfs player png posix python qt quicktime rar readline real reiserfs rtc scanner sdl sendfile sharedmem sms sndfile sockets spell sqlite ssl stencil-buffer subtitles svg sysfs tcpd tga theora threads tiff toolbar transcode truetype truetype-fonts type1 type1-fonts unicode usb userlocales v4l v4l2 vcd video_cards_nv video_cards_nvidia video_cards_v4l videos visualization vorbis wmf xanim xcomposite xine xml xml2 xpm xrandr xsl xv xvid xvmc yv12 zlib zvbi elibc_glibc kernel_linux linguas_de userland_GNU" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LDFLAGS btw, since -fweb is part of O3, you'll have to filter that too, if you want to filter -fweb...
I forgot, there is a thread about this on the amd64 list. Here is a link to it in the marc-archive: http://marc.theaimsgroup.com/?l=gentoo-amd64&m=113983867022989&w=2 so far three reports, and none of it had problems with -fweb and window corruption
I replied on the mailinglist but here's my formal submission :) Also no sign of window corruption etc. Gentoo Base System version 1.12.0_pre16 Portage 2.1_pre4-r1 (default-linux/amd64/2005.0, gcc-3.4.5, glibc-2.3.6-r2, 2.6.15-gentoo-r5 x86_64) ================================================================= System uname: 2.6.15-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3500+ ccache version 2.4 [enabled] dev-lang/python: 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -mtune=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon64 -mtune=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_US.UTF-8" LINGUAS="en nl" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/etc/portage/overlay /etc/portage/xgl" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="amd64 X alsa avi bash-completion berkdb bitmap-fonts bzip2 cjk crypt dvdr dvdread eds emboss flac foomaticdb fortran gif gpm gstreamer gtk gtk2 hal imlib jpeg kde kdeenablefinal lzw lzw-tiff mp3 mpeg ncurses nls nptl nptlonly ogg opengl pam pcre pdflib perl pic png python qt quicktime readline sdl ssl tcpd tiff truetype truetype-fonts type1-fonts unicode usb userlocales vorbis xcomposite xml xml2 xpm xv zlib elibc_glibc input_devices_evdev input_devices_keyboard kernel_linux linguas_en linguas_nl userland_GNU video_cards_nvidia" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL, LDFLAGS
ugh, nevermind my CFLAGS from the previous mail I've changed them again after merging xorg-server. # cat /var/db/pkg/x11-base/xorg-server-1.0.1-r3/CFLAGS -march=athlon64 -mtune=athlon64 -O2 -pipe -fweb
In an attempt to confirm this, I just now commented out the "filter-flags -fweb" in the ebuild, and emerged it with -fweb. I've been running it for a little while and have seen no window corruption. Athlon XP, CFLAGS="-march=athlon-xp -mtune=athlon-xp -O2 -pipe -fomit-frame-pointer", GCC 4.1 beta I guess I'll try to contact those 4 people in that thread and ask them to post details here. emerge --info Gentoo Base System version 1.12.0_pre15 Portage 2.1_pre4-r1 (default-linux/x86/2005.1, gcc-4.1.0-beta20060203, glibc-2.3.90.20060121-r0, 2.6.15-gentoo-r5 i686) ================================================================= System uname: 2.6.15-gentoo-r5 i686 AMD Athlon(tm) XP 3200+ dev-lang/python: 2.3.5, 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.91.0.5-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -mtune=athlon-xp -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -mtune=athlon-xp -O2 -pipe -fomit-frame-pointer -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks noinfo prelink sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.osuosl.org/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,-Bdirect -Wl,-hashvals -Wl,-zdynsort" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/xgl-overlay /usr/local/pertty-overlay" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowex 3dnowext X a52 aac alsa apm asf avi bash-completion berkdb bitmap-fonts cairo crypt djbfft dlloader emboss encode ffmpeg firefox foomaticdb fortran gdbm gif glitz gpm gtk gtk2 imlib jpeg kde kdeenablefinal libg++ libwww mad mikmod mmap mmx mmxext mng modplug motif mp3 mpeg ncurses network nptl nsplugin ogg oggvorbis opengl pam pdflib perl png python qt quicktime readline real samba sdl spell sse ssl tcpd theora tiff truetype truetype-fonts type1-fonts vorbis win32codecs xine xml2 xv xvid zlib elibc_glibc input_devices_mouse input_devices_keyboard input_devices_joystick kernel_linux userland_GNU video_cards_nvidia" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LINGUAS
Some of the people who mentioned this bug seem to have this in common: http://forums.gentoo.org/viewtopic-t-425238.html Some of the make.conf stuff recommended there looks dangerous: CFLAGS="-O2 -march=YOURARCH -fweb -frename-registers -fomit-frame-pointer -ftracer -pipe" CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden -Wl,-O1" LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s" It could be a combination of -fweb and either or both of -ftracer and -frename-registers that causes the problem. I'll see if I can reproduce it with all 3 of them.
Now recompiled with gcc 3.4.4 -fweb -frename-registers -ftracer, and still no window corruption. I sent out PMs to the people who posted about seeing this bug. I guess I should reopen this (to get the dev's attention so they know to consider undoing the fix) and see if someone responds to the PM with details. BTW, I learned my lesson. From now on I'll never post bugs on behalf of forum posters, only bugs I see myself.
I experienced this problem. It's possible that this bug is exhibited only when using -fweb together with another cflag out of the ones listed below. I'm running gcc 4.0.2 and have an ati radeon mobility 9000. Here's my emerge --info: Portage 2.1_pre4-r1 (default-linux/x86/2005.1, gcc-4.0.2, glibc-2.3.6-r2, 2.6.15-nitro3 i686) ================================================================= System uname: 2.6.15-nitro3 i686 Intel(R) Pentium(R) M processor 1700MHz Gentoo Base System version 1.12.0_pre15 dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -msse2 -mfpmath=sse -pipe -Os -ftracer -funit-at-a-time -falign-functions -falign-jumps" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=pentium-m -msse2 -mfpmath=sse -pipe -Os -ftracer -funit-at-a-time -falign-functions -falign-jumps -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig confcache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.ccccom.com ftp://gentoo.ccccom.com ftp://gentoo.mirrors.tds.net/gentoo" LANG="en_US.utf8" LC_ALL="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--sort-common" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52 aac acpi alsa arts asf avi bash-completion berkdb bitmap-fonts bzip2 cjk cli crypt cups curl dba dbus divx4linux dri dts dvd dvdr dvdread emboss encode fame ffmpeg flac foomaticdb fortran gd gdbm gif gpm gstreamer gtk gtk2 hal imagemagick imlib immqt-bc ipv6 ivman java jpeg jpeg2k kde kdeenablefinal libg++ libwww mad matroska mikmod mmx mmx2 mng mp3 mpeg musicbrainz ncurses nls ogg oggvorbis opengl pam pcmcia pdflib perl png postgres python qt quicktime readline ruby samba sdl sse ssl subtitles svg tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb utf8 vcd vorbis wifi win32codecs xml2 xv xvid zlib elibc_glibc input_devices_mouse input_devices_keyboard input_devices_synaptics input_devices_evdev kernel_linux userland_GNU video_cards_ati" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LINGUAS
Ya, it could be many of those flags :P
Can't allow -fweb until someone tracks down the combination of flags and compiler versions that it's broken with.
(In reply to comment #13) > Can't allow -fweb until someone tracks down the combination of flags and > compiler versions that it's broken with. And that'll probably never happen if we mark the bug resolved.
(In reply to comment #14) > (In reply to comment #13) > > Can't allow -fweb until someone tracks down the combination of flags and > > compiler versions that it's broken with. > > And that'll probably never happen if we mark the bug resolved. And will it if we filter out -fweb? Considering the time passed, I'd suggest to remove the filtering and just see what happens.
(In reply to comment #15) > And will it if we filter out -fweb? Considering the time passed, I'd suggest to > remove the filtering and just see what happens. Yeah, I say drop the filter and see what happens. I bet it was a fleeting gcc bug.
Make it so.
(In reply to comment #17) > Make it so. Done on the unstable versions (in the overlay).