[OpenAFS] gcc-4.2.1, afs-client not working

Hans-Werner Paulsen hans@MPA-Garching.MPG.DE
Tue, 9 Oct 2007 12:23:44 +0200


On Fri, Oct 05, 2007 at 10:12:10AM -0400, Derrick Brashear wrote:
> If you can tell us which file or files when compiled with 4.2.1 are scr=
ewing
> up, it would make it easier to be able to figure out what's going on.
Of course, but I did not understand how the different Makefiles work to
compile the kernel module, and how to specify different compiler flags
for different source files.
Now I have some results:
Garance A Drosihn suggested to try the gcc option -fno-tree-vrp, and yes
the kernel module compiled with this option runs fine.
In addition only the source file src/libafs/MODLOAD-2.6.22.9-MP/afs_dir.c=
,
which is src/dir/dir.c, needs to be compiled with this option.

HW

--=20
Hans-Werner Paulsen		hans@MPA-Garching.MPG.DE
MPI f=FCr Astrophysik		Tel 089-30000-2602
Karl-Schwarzschild-Str. 1	Fax 089-30000-2235=09
D-85741 Garching