[U-Boot-Users] [PATCH] Conditionally add -fno-stack-protector to CFLAGS
vapier at gentoo.org
Tue Dec 11 20:51:49 CET 2007
On Tuesday 11 December 2007, Wolfgang Denk wrote:
> In message <1197385758-13786-1-git-send-email-hskinnemoen at atmel.com> you
> > 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?
it isnt uncommon for distros to default to ssp turned on now that it's in
mainline gcc. Gentoo has been doing it for years.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 827 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20071211/dfa74aa1/attachment.pgp
More information about the U-Boot