[RESEND PATCH] ppc64/purgatory: Disabling GCC's stack protection
Simon Horman
horms at verge.net.au
Wed Apr 9 16:07:21 PDT 2014
On Tue, Apr 08, 2014 at 04:44:45PM +0200, Laurent Dufour wrote:
> Some Linux distributions, like Suse, are turning on the GCC's stack
> protection mechanism by default (-fstack-protector). When building the
> purgatory with this option, this leads to link issues that are revealed at
> runtime when the purgatory is loaded because symbols like __stack_chk_fail
> are unresolved.
>
> This patch forces this stack protection mechanism to be turned off when
> building the purgatory on ppc64 BE and LE.
>
> Signed-off-by: Laurent Dufour <ldufour at linux.vnet.ibm.com>
Thanks, applied.
More information about the kexec
mailing list