Follow-up Comment #2, bug #25220 (project grub):

According to the following bug, people were getting an unbootable grub after
stripping binaries:
http://bugs.gentoo.org/show_bug.cgi?id=231935

However, I also found during the course of debugging, from using the
following page describing Executable Stacks (ie trampoline warnings), I found
using "append-ldflags -Wl,-z,noexecstack" and then stripping provided a
successfully booting grub2 install (ie. grub-setup /dev/sda).

Causes of/ Fixes for executable stack markings
http://www.gentoo.org/proj/en/hardened/gnu-stack.xml

(However, package maintainers believe leaving things unstripped is safer.)

The only prominent warning, after adding ldflags, is:
commands/lsmmap.c:36: warning: implicit declaration of function
'grub_machine_mmap_iterate'


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?25220>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-grub mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to