grub2 fails to boot when built using binutils 2.27
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub |
Unknown
|
Unknown
|
|||
grub2 (Ubuntu) |
Fix Released
|
High
|
Mathieu Trudel-Lapierre |
Bug Description
grub2 images built using binutils 2.27 fail to boot or otherwise delay boot by showing an error message that requires pressing a key to continue.
Specifically; "no symbol table" and "Aborted. Press any key to continue".
On EFI system, this means no booting, on BIOS/MBR systems, boot can still continue after pressing a key.
Specifically, 'strip --strip-unneeded' used to include a section symbols anyway for each existing section, even if it stipped away all symbols. This was considered a bug and removed in later versions (apparently, at least starting at 2.27; with 2.26.1 the last version with this side-effect). This was fixed in binutils 14f2c699.
Grub2 has some modules without any code or data and that are used only to pull in dependencies via .moddeps sections; which would make all symbols unneeded and thus stripped.
A fix exists upstream as http://
Changed in grub2 (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Mathieu Trudel-Lapierre (cyphermox) |
Changed in grub2 (Ubuntu): | |
status: | In Progress → Fix Released |
I have the same problem under yakkety / 2.02~beta2- 36ubuntu11: message "error: no symbol table".
Solved in
https:/ /lists. gnu.org/ archive/ html/grub- devel/2016- 02/msg00011. html
which probably refers to the same commit that Mathieu cites.