Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73154 - GTK2 with "-mfpmath=sse,287" in CFLAGS causes annoying bug in text boxes (ie autoscroll sticking to middle)
Summary: GTK2 with "-mfpmath=sse,287" in CFLAGS causes annoying bug in text boxes (ie ...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-02 11:17 UTC by Gabriel
Modified: 2004-12-02 14:18 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 Gabriel 2004-12-02 11:17:03 UTC
When "-mfpmath=sse,287" is in the CFLAGS when compiling GTK2, at least one bug (autoscroll sticking to the middle of the window--a known problem from GAIM) occurs.  I'm just hoping this cflag will be replaced (with "") in future GTK2 ebuilds.

Reproducible: Always
Steps to Reproduce:
1. Put "-mfpmath=sse,287" in CFLAGS.
2. emerge gtk+.
3. open a GAIM conversation window and chat.

Actual Results:  
On each new line added to the text box, the text box's scrollbar would move to
about line 12, but only after about 20 lines have been added.

Expected Results:  
Scrolled to the bottom of the text box.

I've only encountered this problem when using GAIM, as it's the only program I
have which makes use of this feature.


EMERGE INFO:
Portage 2.0.51-r3 (default-linux/x86/2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.9-gentoo-r1 i686)
=================================================================
System uname: 2.6.9-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=pentium4 -march=pentium4 -funroll-loops -fprefetch-loop-arrays
-pipe -fomit-frame-pointer -fforce-addr -mmmx -msse -msse2 -mfpmath=sse,387
-ftracer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/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 /usr/X11R6/bin/startx /etc/env.d"
CXXFLAGS="-O3 -mcpu=pentium4 -march=pentium4 -funroll-loops
-fprefetch-loop-arrays -pipe -fomit-frame-pointer -fforce-addr -mmmx -msse
-msse2 -mfpmath=sse,387 -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.ccccom.com ftp://206.75.217.181/
ftp://206.75.217.180/ http://mirrors.tds.net/gentoo ftp://gentoo.ccccom.com"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://192.168.10.1/gentoo-portage"
USE="X Xaw3d aalib alsa apm avi berkdb bitmap-fonts cdr chroot crypt cups
divx4linux dvd dvdread encode esd f77 fam flac foomaticdb fortran gdbm ggi gif
gpm gtk gtk2 imagemagick imlib jpeg libg++ libwww mad mikmod mmx motif mpeg
mysql nas ncurses nls nojoystick nptl oggvorbis opengl oss pam pdflib perl pic
plotutils png ppds python qt quicktime readline ruby sdl slang spell sse sse2
ssl svga tcltk tcpd tetex tiff truetype usb x86 xml xml2 xmms xprint xv xvid zlib"
Comment 1 foser (RETIRED) gentoo-dev 2004-12-02 14:18:19 UTC
Well this particular CFLAG is broken by default to my knowledge, so we're not gonna strip it. Your set of CFLAGS are your responsibility.

And i see some more questionable CFLAGS in your list for that matter.