From: Wolfgang Denk Date: Tue, 11 Dec 2007 17:16:47 +0100 Subject: [U-Boot-Users] [PATCH] Conditionally add -fno-stack-protector to CFLAGS In-Reply-To: Your message of "Tue, 11 Dec 2007 16:09:18 +0100." <1197385758-13786-1-git-send-email-hskinnemoen@atmel.com> Message-ID: <20071211161647.8A400246C2@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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? 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