[PATCH] Makefile: unconditionally disable SSP
Bin Meng
bmeng.cn at gmail.com
Sat May 15 12:27:00 BST 2021
On Sat, May 15, 2021 at 4:30 PM Fabrice Fontaine
<fontaine.fabrice at gmail.com> wrote:
>
> Though -nostdlib is passed in CFLAGS, -fno-stack-protector must also be
> passed to avoid linking errors related to undefined references to
> '__stack_chk_guard' and '__stack_chk_fail' if toolchain enforces
> -fstack-protector.
>
> Fixes:
> - https://gitlab.com/kubu93/buildroot/-/jobs/1247043359
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
> ---
> Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
More information about the opensbi
mailing list