[OpenAFS] Compilation problems

Benjamin Kaduk kaduk@MIT.EDU
Fri, 20 Feb 2015 16:27:43 -0500 (EST)


On Thu, 19 Feb 2015, Kenan Avdic wrote:

> Hi,
>
> I'm having some strange problems compiling openafs from git master. I
> am on gentoo hardened, kernel 3.2.65 and gcc 4.8.3 hardened.
>
> Compilation of the kernel module fails with:
> Building in directory: MODLOAD-3.2.65-hardened-r2-MP
> make[4]: Entering directory
> '/home/xyko/openafs/openafs-git/src/libafs/MODLOAD-3.2.65-hardened-r2-MP'
> env EXTRA_CFLAGS=""
> /home/xyko/openafs/openafs-git/src/libafs/make_kbuild_makefile.pl
> MODLOAD-3.2.65-hardened-r2-MP libafs.ko
> /home/xyko/openafs/openafs-git/src/config/Makefile.config Makefile.afs
> Makefile.common
> ( env EXTRA_CFLAGS="" \
>         make -C /lib/modules/3.2.65-hardened-r2/build
> M=/home/xyko/openafs/openafs-git/src/libafs/MODLOAD-3.2.65-hardened-r2-MP
> modules 2>&1 \
>         || echo "FAILURE: make exit code $?" ) | tee .makelog
> make[5]: Entering directory '/usr/src/linux-3.2.65-hardened-r2'
>   CC [M]  /home/xyko/openafs/openafs-git/src/libafs/MODLOAD-3.2.65-hardened-r2-MP/rand-fortuna-kernel.o

Can you get the full compiler invocation (i.e., V=0 or similar)?

I do not see anything obviously out of place, either.
(I do note that clang's error messages tend to be a bit more helpful than
gcc's, but maybe clang would not error out here, either.)

-Ben Kaduk