On Dec 18, 2013, at 2:08 PM, loki wrote:

> Yup. -O3 -march=native. And that said, something comes into my mind  
> that I've read somewhere that grub does not play well with -O3.  
> Thanks. Will try that on Friday.

Don't optimize the bootloader. Grub doesn't need optimizations. No  
bootloader needs optimization from gcc. You are dealing, also, with  
assmebly that the authors write for the target platform. Segfaults  
commonly come from grub when using optimizations. Also, may as well  
install strace and gdb and debug.

I write this because grub, in the past has, segfaulted when using -O3  
or -march set, even from before Grub 1.

Even when using -O3 you can get a "loading grub..." message that  
hangs.  Rebuild grub without optimizations and return with results.

SIncerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to