[U-Boot-Users] [PATCH RESEND] Conditionally add -fno-stack-protector to CFLAGS

Wolfgang Denk wd at denx.de
Sun Jul 6 00:32:00 CEST 2008


In message <1211192798-14178-1-git-send-email-haavard.skinnemoen at atmel.com> you wrote:
> From: Haavard Skinnemoen <hskinnemoen at atmel.com>
> 
> When compile-testing on powerpc, I get errors like this:
> 
> /home/hskinnemoen/work/git/u-boot/net/nfs.c:422: undefined reference to `__stack_chk_fail_local'
> 
> This seems to be because -fstack-protector is on by default, so
> let's explicitly disable it on all architectures that support the
> option.

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Where humor is concerned there are no standards -- no  one  can  say
what is good or bad, although you can be sure that everyone will.
- John Kenneth Galbraith




More information about the U-Boot mailing list