[OpenAFS-devel] Re: Linux kernel 2.2.19 incompatible with AFS?
Atro Tossavainen
Atro.Tossavainen@helsinki.fi
Tue, 17 Apr 2001 17:36:08 +0300 (EET DST)
Hello,
> Sounds like a good idea to me... What is the check that needs made to
> determine if the compiler is stackguard'ed?
This is what's in Immunix' kernel-2.2.x-Makefile.patch for compiling the
kernel on Immunix OS.
CFLAGS += $(shell if $(CC) -fno-canary-all-functions -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-fno-canary-all-functions"; fi)
CFLAGS += $(shell if $(CC) -mno-terminator-canary -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-mno-terminator-canary"; fi)
The whole patch file is at the
<URL:http://immunix.org/ImmunixOS/6.2/i386/extras/kernel-2.2.x-Makefile.patch>
--
Atro Tossavainen (Mr.) / The Institute of Biotechnology at
Systems Analyst, Techno-Amish & / the University of Helsinki, Finland,
+358-9-19158939 UNIX Dinosaur / employs me, but my opinions are my own.
< URL : http : / / www . iki . fi / atro . tossavainen / >