Re: linux-next: WARNING: at kernel/panic.c:375 __stack_chk_test+0x50/0x54()

From: Arjan van de Ven
Date: Tue May 06 2008 - 19:38:53 EST


Kevin Winchester wrote:
-march=k8 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DGCC_HAS_SP -fstack-protector-all -pipe -Wno-sign-compare
^^^^^^^^^^^^^^^^^^^^^^
-fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Iinclude/asm-x86/mach-default -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -pg -Wdeclaration-after-statement -Wno-pointer-sign -D"KBUILD_STR(s)=#s"


the kernel makefiles are doing exactly the right things....
yet your previous data showed that something adds a -fstack-protector
after it.... grrr.

Sounds like I need to figure how to make a testcase for this that we
can then use to, at build time, detect this b0rked gcc behavior.

thanks a lot for helping me diagnosing this so far!

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/