Had an issue described at http://www.gentoo.org/doc/en/grub-error-guide.xml in section 2 - grub hangs right after "Loading Grub, please wait..." The issue was resolved by re-emerging with: CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe" emerge grub Reproducible: Always Steps to Reproduce: 1. CFLAGS="-O3 -march=nocona -pipe" emerge grub 2. grub (root (hd0,0); setup (hd0) 3. reboot Actual Results: Grub hangs right after: GRUB loading stage 1.5 GRUB loading, please wait... Expected Results: grub shows menu. Actually, expectation is the ebuild should filter out CFLAGS properly. My hardware is Lenovo T61 laptop.
you opted not to post information that the bug reporting page told you to. please consult the documentation in the future when filing a bug report: http://www.gentoo.org/doc/en/bugzilla-howto.xml in this case, you did not post `emerge --info`. however, i'm guessing you have USE=custom-cflags which is clearly marked as "if you set this, you get to pick up the pieces".
The ebuild DOES filter flags: 58: use custom-cflags || unset CFLAGS So either you modified the ebuild, or you have USE=custom-cflags, which specifically states: sys-boot/grub:custom-cflags - Enables custom cflags (not supported)
custom-flags were not set and grub was unmodified, just synced. Anyway, I tried to reproduce it again today but I can't. So I am not sure what was that. I am just happy it works now. Leaving as resolved invalid. Thanks!