Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50616 - GTK buttons are gone in gtk1-based applications
Summary: GTK buttons are gone in gtk1-based applications
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://forums.gentoo.org/viewtopic.ph...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-10 03:24 UTC by Robin Smidsrød
Modified: 2004-05-18 15:59 UTC (History)
2 users (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 Robin Smidsrød 2004-05-10 03:24:42 UTC
In the nessus GUI application or xmms only tabs are shown in the windows, and no buttons or labels are showing up.

Reproducible: Always
Steps to Reproduce:
1. Emerge xmms
2. Start xmms
3. Press CTRL-P to bring up the preferences-dialog

Actual Results:  
Preference dialog came up, but it missed all the buttons.

Expected Results:  
Expected the buttons and labels to show up as normal.

Removing -msse and -msse2 from CFLAGS in /etc/make.conf and re-emerging
gtk+-1.2.10-r11 fixes the problem.
Comment 1 foser (RETIRED) gentoo-dev 2004-05-10 05:43:04 UTC
cflags are the users responsibility.
Comment 2 Robin Smidsrød 2004-05-10 06:06:57 UTC
CFLAGS which break the build should be masked by the ebuild. AFAIK, the openoffice ebuild does this. I would not consider -msse and -msse2 as experimental CFLAGS. To get normal Pentium-M optimizations one need to use '-march=pentium3 -msse2' as CFLAG to get Centrino features (until -march=pentium-m is added to gcc) isn't part of gcc yet. At least the GTK 1.2.10-r11 ebuild should state with big letters that sse/sse2 optimizations will break functionality of the package.
Comment 3 foser (RETIRED) gentoo-dev 2004-05-10 06:13:25 UTC
it's too much a gcc/glibc/whatever thing. There's always 1 or 2 users who have a certain problem with certain cflags in certain circumstances, should we cap the cflags for all users for that ? No, we don't add caps until there's been a lot of reproducable proof on different systems.

Considering this ebuild & has been around an eternity and you are the first to report such problems, I don't consider it evidence enough this is more than a local glitch.
Comment 4 Robin Smidsrød 2004-05-10 07:00:25 UTC
Well. Unless GCC fix the SSE2 optimizations we will probably be bitten by this bug once people start using -march=pentium-m in their CFLAGS.

According to http://gcc.gnu.org/ml/gcc-patches/2004-02/msg01328.html the only difference from pentium3 and pentium-m is SSE2 (at least to GCC).

At least consider putting it into the documentation/faq/howto somewhere. Centrino laptops are getting more and more common... BTW: This was on a Dell Precision M60.
Comment 5 foser (RETIRED) gentoo-dev 2004-05-10 07:13:45 UTC
my make.conf has a warning about using pentium-4 and sse2 . I guess that should be extended to the pentium-m then.

I wonder why we don't disable those flags by default for those architectures if we know they don't work.
Comment 6 foser (RETIRED) gentoo-dev 2004-05-10 07:14:47 UTC
gcc team, please check out comment #4 & #5
Comment 7 SpanKY gentoo-dev 2004-05-16 01:33:35 UTC
how about this:
'dont use -msse2 with pentium-m unless using gcc-3.4 or later' ?

you never mentioned what version of gcc you're using so i'm going to have to assume 3.3.{2,3} in which case i say we do nothing to 'fix' this bug except tell the users of pentium-m the above warning
Comment 8 Robin Smidsrød 2004-05-16 03:27:06 UTC
I'm using the gcc-3.3.2-r5, so you're quite correct.

A warning like that would be most beneficial.

BTW: When is gcc 3.4 slated for stable release in gentoo? 
Comment 9 SpanKY gentoo-dev 2004-05-16 12:19:09 UTC
3.3.3-r4 is probably the next stable version of gcc to happen ... we're still working out different things with gcc-3.4 and until that settles, that wont be in stable

nick: can you update make.conf to say something like

Do not use -msse2 with Pentium-M CPU's unless using gcc-3.4 or higher.
Comment 10 Nicholas Jones (RETIRED) gentoo-dev 2004-05-18 12:37:39 UTC
Noted for future make.conf's. Not a portage bug, reassigning.
Comment 11 SpanKY gentoo-dev 2004-05-18 15:59:37 UTC
should be set ... not much more we can do