[Buildroot] [PATCH 1/1] grub2: force -fno-stack-protector in CFLAGS

Peter Korsgaard peter at korsgaard.com
Wed Sep 6 11:30:00 UTC 2017


>>>>> "Erico" == Erico Nunes <nunes.erico at gmail.com> writes:

 > grub2 fails to configure when BR2_SSP_ALL is enabled, with the following
 > configure error:

 >   checking whether -fno-asynchronous-unwind-tables works... yes
 >   checking whether -fno-unwind-tables works... yes
 >   checking for target linking format... unknown
 >   configure: error: no suitable link format found

 > This can be worked around by enforcing -fno-stack-protector in the
 > package CFLAGS in a way that overrides the SSP flag, as is already done
 > for the valgrind package.

 > Fixes bug #10261.

 > Signed-off-by: Erico Nunes <nunes.erico at gmail.com>
 > Reported-by: Dr I J Ormshaw <ian_ormshaw at waters.com>

Committed to 2017.02.x, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list