Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 294387 - dev-libs/glib-2.22.2 black screen lockup on start
Summary: dev-libs/glib-2.22.2 black screen lockup on start
Status: RESOLVED DUPLICATE of bug 294385
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: High critical (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-24 10:10 UTC by Keean Schupke
Modified: 2009-11-24 10:38 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 Keean Schupke 2009-11-24 10:10:25 UTC
glib crashes on start leaving you with a black screen and mouse pointer, cannot use ctrl-alt-Fn or ctrl-alt-del. This happens when compiling with -O3. I realise this is an upstream problem, but a rev of the ebuild with a filter/replace on -O3 to -O2 would be sensible.

Reproducible: Always

Steps to Reproduce:
1. Set -O3 in make.conf CFLAGS
2. emerge -1 glib
3. /etc/init.d/xdm start (with gdm selected in /etc/conf.d/xdm)

Actual Results:  
Blank screen with mouse pointer, unresponsive system. May be able to login with ssh and kill, but occasionally crashes system requiring reset.

Expected Results:  
gdm login screen appears with dialog, and able to use.

I understand optimisation problems should be referred upstream, but as this causes a hang, it would seem sensible to replace the CFLAGS -O3 with -O2 until -O3 is working with glib again.

-O3 is useful on core2/nehalem CPUs as it enables auto-vectorisation, which with the faster SSE units on core2 can make a big speed difference by using parallel SSE instructions.

As per package CFLAGS are not supported, filtering the -O3 useflag on packages that are broken by optimisation would seem the only option, other than slowing down all packages (video encoding, scientific, etc...).
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-11-24 10:38:38 UTC

*** This bug has been marked as a duplicate of bug 294385 ***