[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #25220] Lots of Grub2 Compiler Warnings
From: |
Roger |
Subject: |
[bug #25220] Lots of Grub2 Compiler Warnings |
Date: |
Thu, 01 Jan 2009 23:28:55 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.5) Gecko/2008122102 Gentoo Firefox/3.0.5 |
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 #25220] Lots of Grub2 Compiler Warnings,
Roger <=