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...).
*** This bug has been marked as a duplicate of bug 294385 ***