[OpenAFS-devel] RE: Linux kernel 2.2.19 incompatible with AFS?

Neulinger, Nathan nneul@umr.edu
Tue, 17 Apr 2001 09:38:43 -0500


Looks like you should be able to add that in as-is down to the bottom of
MakefileProto.LINUX right after CFLAGS is set.

-- Nathan

> -----Original Message-----
> From: Atro Tossavainen [mailto:atossava@cc.helsinki.fi]
> Sent: Tuesday, April 17, 2001 9:36 AM
> To: Neulinger, Nathan
> Cc: 'Atro.Tossavainen@helsinki.fi'; 'openafs-devel@openafs.org'
> Subject: Re: Linux kernel 2.2.19 incompatible with AFS?
> 
> 
> 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 / >
>