[OpenAFS-devel] fair warning: Redhat 7.0 base compiler may harmfully miscompile kernel module

Derrick J Brashear shadow@dementia.org
Thu, 19 Apr 2001 12:36:37 -0400


One of the 2 bugs that had me gravely concerned turned out to be "apply the 
gcc updates for Redhat 7.0 instead of using the included not-a-gcc-version 
to compile the kernel module"

Details:
-whether a PAG existed or not, running klog caused a new pag to be gotten.
-changing PSetToken to print the value of flags before doing if (flags & 
0x8000) made the bogus behavior go away
-updating to gcc-2.96-69 made the problem go away regardless

A note to this effect will be included with future versions.

-D