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

Wolfgang Denk wd at denx.de
Tue Dec 11 17:16:47 CET 2007


In message <1197385758-13786-1-git-send-email-hskinnemoen at atmel.com> you wrote:
> 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
> explicitly disable it on all architectures that support the option.

Which toolchain is doing this?

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
"Anyone attempting to generate random numbers by deterministic  means
is, of course, living in a state of sin."          - John Von Neumann




More information about the U-Boot mailing list