The patch titled fix stack protector gcc spewage has been added to the -mm tree. Its filename is fstack-protector-feature-enable-the-compiler-flags-fix.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: fix stack protector gcc spewage From: Arjan van de Ven <arjan@xxxxxxxxxxxxxxx> installed gcc 4.0.2 and reproduced your warning.. patch below fixes it for me. divert stderr to /dev/null in the stackprotector check; we're only interested in the stdout assembly, while gcc's that don't grok some of the options we provide would spew to stderr... Signed-off-by: Arjan van de Ven <arjan@xxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- scripts/gcc-x86_64-has-stack-protector.sh | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN scripts/gcc-x86_64-has-stack-protector.sh~fstack-protector-feature-enable-the-compiler-flags-fix scripts/gcc-x86_64-has-stack-protector.sh --- a/scripts/gcc-x86_64-has-stack-protector.sh~fstack-protector-feature-enable-the-compiler-flags-fix +++ a/scripts/gcc-x86_64-has-stack-protector.sh @@ -1,6 +1,6 @@ #!/bin/sh -echo "int foo(void) { char X[200]; return 3; }" | $1 -S -xc -c -O0 -mcmodel=kernel -fstack-protector - -o - | grep -q "%gs" +echo "int foo(void) { char X[200]; return 3; }" | $1 -S -xc -c -O0 -mcmodel=kernel -fstack-protector - -o - 2> /dev/null | grep -q "%gs" if [ "$?" -eq "0" ] ; then echo $2 fi _ Patches currently in -mm which might be from arjan@xxxxxxxxxxxxxxx are git-netdev-all.patch fstack-protector-feature-annotate-the-pda-offsets.patch fstack-protector-feature-add-the-kconfig-option.patch fstack-protector-feature-add-the-canary-field-to-the.patch fstack-protector-feature-add-the-__stack_chk_fail.patch fstack-protector-feature-enable-the-compiler-flags.patch fstack-protector-feature-enable-the-compiler-flags-fix.patch slab-fix-lockdep-warnings.patch slab-fix-lockdep-warnings-fix.patch slab-fix-lockdep-warnings-fix-2.patch sleazy-fpu-feature-i386-support.patch make-prot_write-imply-prot_read.patch lockdep-dont-pull-in-includes-when-lockdep-disabled.patch lockdep-print-kernel-version.patch lockdep-core-add-enable-disable_irq_irqsave-irqrestore-apis.patch maximum-latency-tracking-infrastructure.patch maximum-latency-tracking-infrastructure-tidy.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html