Summary: | Miscompilation of glib causes maillist scrollbar in Evolution 2.6.0 to be insensitive | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Felix Braun <Felix.Braun> |
Component: | [OLD] GNOME | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED WONTFIX | ||
Severity: | minor | ||
Priority: | Low | ||
Version: | 2006.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Felix Braun
2006-03-20 03:21:34 UTC
I have exactly the same problem with evolution 2.6.0-r1 I emerged gnome 2.14.0 and gtk+ 2.8.16 The bugs happens when running evolution on gnome and when using it under fvwm with or without gnome-settings-daemon launched Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r5 i686) ================================================================= System uname: 2.6.14-gentoo-r5 i686 Pentium III (Coppermine) Gentoo Base System version 1.6.14 dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.12 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 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=pentium3 -mtune=pentium3 -pipe -Os -fforce-addr -fomit-frame-pointer" CHOST="i686-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/share/config /usr/lib/X11/xkb /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/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -mtune=pentium3 -pipe -Os -fforce-addr -fomit-frame-pointer -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LC_ALL="en_US.UTF-8" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/opt/tmpportage" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aalib acpi alsa apache2 arts audiofile avi bash-completion berkdb bitmap-fonts bogofilter bzip2 cairo cdr cjk cli crypt cscope dbus divx4linux dri dvd eds emboss encode esd exif expat fam fastcgi fbcon ffmpeg firefox flac foomaticdb fortran freewnn gd gdbm gif glut gnome gpm gstreamer gtk gtk2 gtkhtml hal idn imagemagick imlib ipv6 isdnlog jpeg lcms libcaca libg++ libwww logrotate mad matroska mikmod mmx mng mono mozcalendar mozsvg mp3 mpeg mysql ncurses nls nptl nsplugin offensive ogg oggvorbis opengl oss pam pcmcia pcre pda pdflib perl php png pppd python qt quicktime rar readline reflection ruby sdl session slang sndfile speex spell spl sqlite sse ssl svg svga sysfs tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb vcd vorbis win32codecs xine xml2 xmms xorg xv zlib video_cards_mach64 userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, INSTALL_MASK, LANG, LDFLAGS, LINGUAS I normally compile everything with these flags using GCC 3.4.6 (Gentoo 3.4.6-r1): -Os -fweb -frename-registers -fomit-frame-pointer -march=pentium-m Re-compiling only glib(!)version 2.10.2 without -fomit-frame-pointer fixes this bug for me. Can any of the other people experiencing this confirm? So this is probably either a bug in GCC or in glib. I'll rephrase the summary accordingly. Maybe -fomit-frame-pointer should be filtered in the glib ebuild? It's still strange why only this one scroll bar is affected... I also had the same problem; recompiling glib-2.10.2 w/o -fomit-frame-pointer fixed it. emerge --info emerge --info Portage 2.1_pre10-r5 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r4, 2.6.17-rc3 i686) ================================================================= System uname: 2.6.17-rc3 i686 AMD Duron(tm) Processor Gentoo Base System version 1.12.0_pre19 dev-lang/python: 2.3.5-r2, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.12 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 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -march=athlon-xp -fomit-frame-pointer -pipe" 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/lib/X11/xkb /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/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d" CXXFLAGS="-Os -march=athlon-xp -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="ftp://mirror.datapipe.net/gentoo ftp://gentoo.mirrors.tds.net/gentoo http://gentoo.netnitco.net" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_EXTRA_OPTS="--progress" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow X Xaw3d acpi alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 cdb cdr cli crypt cups curl dri dts eds emacs emboss encode esd examples exif expat ffmpeg flac foomaticdb fortran gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml hal idn imagemagick imlib innodb ipv6 isdnlog java javascript jpeg kde kdeenablefinal kerberos krb4 lcms ldap libg++ libwww lm_sensors mad matroska mhash mikmod mmx mng motif mozilla mp3 mpeg mysql ncurses nls nptl nptlonly nsplugin odbc ogg opengl oss pcre pdflib perl php png pppd prelude python qt quicktime readline reflection samba sdl session slp spell spl sse ssl svga tcltk tcpd tetex threads tiff truetype truetype-fonts type1-fonts udev usb vcd vorbis xine xml xml2 xmms xorg xv xvid zeroconf zlib elibc_glibc kernel_linux userland_GNU video_cards_sis" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS I had the same problem. glib 2.10.3 and evo 2.6.1-r1. Notice that I do NOT have -fomit-frame-pointer in my CFLAGS. The only thing that I found that we have in common is -Os. I recompiled glib-2.10.3 with "-O2 -pipe" and it now works. I'll play around a bit and see if I can find the culprit between "-march=athlon-xp" and "-Os." My emerge info: Portage 2.1-r1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.3.6-r4, 2.6.13-gentoo-r5 i686) ================================================================= System uname: 2.6.13-gentoo-r5 i686 AMD Athlon(tm) XP 1600+ Gentoo Base System version 1.6.14 app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.3.5-r2, 2.4.2 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] 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-r3 sys-devel/gcc-config: 1.3.12-r6 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -march=athlon-xp -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-Os -march=athlon-xp -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.cites.uiuc.edu/pub/gentoo/ http://prometheus.cs.wmich.edu/gentoo http://mirror.datapipe.net/gentoo http://gentoo.mirrors.tds.net/gentoo http://www.gtlib.gatech.edu/pub/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X Xaw3d acpi alsa apache2 avi berkdb bitmap-fonts cdr cli crypt cups dlloader dri dvd dvdr dvdread eds emboss encode esd foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg libg++ libwww mad mikmod mmx mmxext motif mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre pdflib perl png pppd python qt3 qt4 quicktime readline reflection sdl session spell spl sse ssl tcpd tiff truetype truetype-fonts type1-fonts udev unicode vorbis win32codecs xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa video_cards_fbdev" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS -Os unfortunately breaks a few Gnome packages. I guess we can add glib to the list. Gnome doesn't consider anything above -O2 and the Gnome herd won't either. Bug can be closed. Well, shouldn't we add a filter-flag to the gnome2 eclass then? -Os isn't that arcane of a CFLAG, is it? I r I rémi said, gnome doesn't want to hear about other optimisation than march and -O2 but Evolution team would probably be glad to get a patch for that since it could hide a bug. We don't filter for several reasons. First, the users can do what they want. This is the Gentoo way. Second, not all gnome packages break with insane CFLAGS, and some people *really* want insane CFLAGS for reasons I don't understand. My belief is that we'd get more bug reports for "Why are you filtering my flags" than we get for "foo is broken with my flags". We may yet change the policy, but that's the current one. |