[PATCH 2.6.17] Add -fno-stack-protector to BOOTCFLAGS in arch/powerpc/boot/Makefile.

Niels Kristian Bech Jensen nkbj at mail.tele.dk
Sun Jul 2 21:02:27 EST 2006


I got some undefined references to __stack_chk_fail in
arch/powerpc/boot/stdio.o and arch/powerpc/boot/prom.o when I was trying
to build a kernel on Ubuntu Edgy Eft - which includes Stack Smashing
Protection.

This patch adds -fno-stack-protector to BOOTCFLAGS in
arch/powerpc/boot/Makefile (why does BOOTCFLAGS depend on HOSTCFLAGS and
not CFLAGS?).

Regards,
Niels Kristian Bech Jensen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: powerpc-2.6.17.diff
Type: text/x-patch
Size: 492 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20060702/487ed8a4/attachment.bin>


More information about the Linuxppc-dev mailing list