From: Mike Frysinger Date: Tue, 11 Dec 2007 14:51:49 -0500 Subject: [U-Boot-Users] [PATCH] Conditionally add -fno-stack-protector to CFLAGS In-Reply-To: <20071211161647.8A400246C2@gemini.denx.de> References: <20071211161647.8A400246C2@gemini.denx.de> Message-ID: <200712111451.50219.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tuesday 11 December 2007, Wolfgang Denk wrote: > In message <1197385758-13786-1-git-send-email-hskinnemoen@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? 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. -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 827 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20071211/dfa74aa1/attachment.pgp