[PATCH] GRUB won't boot when built with GCC 5
I'm not sure why this works, but it does. The fix was posted to the Debian mailing list.
they are flags not enough for grub build and work by gcc version more 4.4.
i have some additional patches on my dilos-illumos tree for builds and work by gcc47/48/49
also, some flags can break gcc44.
You're right more changes are required. I want to tackle them one at a time.
This change shouldn't break anything since GCC 4.4.4 also supports the -fno-reorder-functions flag but I haven't tested that out.
This appears to fix a problem that everybody ran into when compiling with GCC >= 4.6.
- Has duplicate Bug #9754: grub: recent gcc needs -fno-reorder-functions added
- Status changed from Feedback to Closed
This is fixed as of #9754.
Also available in: Atom