Actions
Bug #9754
closedgrub: recent gcc needs -fno-reorder-functions
Start date:
2018-08-17
Due date:
% Done:
100%
Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
External Bug:
Description
Recent gcc do reorder functions (when there is a main() ?) and this does break the special builds like grub stage2 (or loader for that matter). Use -fno-reorder-functions to stop it (the alternate is to use linker map).
Related issues
Updated by Electric Monk over 5 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
git commit e153cda9f9660e385e8f468253f80e59f5d454d7
commit e153cda9f9660e385e8f468253f80e59f5d454d7 Author: Toomas Soome <tsoome@me.com> Date: 2018-08-20T17:36:29.000Z 9754 grub: recent gcc needs -fno-reorder-functions Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: Yuri Pankov <yuripv@yuripv.net> Approved by: Dan McDonald <danmcd@joyent.com>
Updated by Andrew Stormont almost 5 years ago
- Is duplicate of Bug #6482: [PATCH] GRUB won't boot when built with GCC 5 added
Actions