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

Haavard Skinnemoen hskinnemoen at atmel.com
Tue Dec 11 17:42:55 CET 2007


On Tue, 11 Dec 2007 17:16:47 +0100
Wolfgang Denk <wd at denx.de> wrote:

> 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?

gcc 4.2.1-5ubuntu4 compiled for x86_64 host and powerpc target.

Haavard




More information about the U-Boot mailing list