On Thu, Jul 13, 2006 at 06:17:06PM +0200, Marcel Holtmann wrote:
>
> see my previous email. This patch fixed it for me:
>
> diff --git a/Makefile b/Makefile
> index 7c010f3..b4a2a80 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -308,7 +308,7 @@ LINUXINCLUDE := -Iinclude \
> CPPFLAGS := -D__KERNEL__ $(LINUXINCLUDE)
>
> CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
> - -fno-strict-aliasing -fno-common
> + -fno-strict-aliasing -fno-common -fno-stack-protector
> # Force gcc to behave correct even for buggy distributions
> CFLAGS += $(call cc-option, -fno-stack-protector-all \
> -fno-stack-protector)
>
> > Also could you try executing:
> > if gcc -fno-stack-protector-all -S -o /dev/null -xc /dev/null; then \
> > echo "y"; else echo "n"; fi
> > And see if this gives a "y" or a "n".
> > Try with -fno-stack-protector-all and with -fno-stack-protector.
>
> With -fno-stack-protector I get a "y" and with -fno-stack-protector-all
> I get an error:
>
> cc1: error: unrecognized command line option "-fno-stack-protector-all"
OK. I changed it to apply only -fno-stack-protector (not the -all
version).
Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]