[ofa-general] Build failures on current 1.4.1 dailies

Tziporet Koren tziporet at dev.mellanox.co.il
Sun May 3 03:48:32 PDT 2009


Jon/Steve
I see the issue is with nfs - please look at this

Thanks
Tziporet

Gennadiy Nerubayev wrote:
> Hi all,
>
> Running on 2.6.27.21 x64. ofa_kernel build error as follows:
>
> -I/usr/src/redhat/BUILD/kernel-2.6.27.21/arch/x86_64/include \
>  -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing 
> -fno-common -Werror-implicit-function-declaration -Os -m64 
> -mtune=generic -mno-red-zone -mc
> model=kernel -funit-at-a-time -maccumulate-outgoing-args 
> -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe 
> -Wno-sign-compare -fno-asynchronous-unwind-tables
> -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Iinclude/asm-x86/mach-default 
> -fno-stack-protector -fomit-frame-pointer -g 
> -Wdeclaration-after-statement -Wno-pointer-sign
>  -fwrapv -DMODULE -D"KBUILD_STR(s)=#s" 
> -D"KBUILD_BASENAME=KBUILD_STR(file)"  
> -D"KBUILD_MODNAME=KBUILD_STR(nfs)" -c -o 
> /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.1/
> fs/nfs/.tmp_file.o 
> /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.1/fs/nfs/file.c
> /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.1/fs/nfs/file.c: In function 
> 'nfs_write_begin':
> /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.1/fs/nfs/file.c:354: error: 
> implicit declaration of function '__grab_cache_page'
> /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.1/fs/nfs/file.c:354: 
> warning: assignment makes pointer from integer without a cast
> make[3]: *** 
> [/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.1/fs/nfs/file.o] Error 1
> make[2]: *** [/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.1/fs/nfs] Error 2
> make[1]: *** [_module_/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.1] Error 2
> make[1]: Leaving directory `/usr/src/redhat/BUILD/kernel-2.6.27.21'
> make: *** [kernel] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.2461 (%build)
>
> Assuming we turn off nfs stuff to go further, error number two is from 
> infiniband-diags:
> <snip>
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> checking for sys_read_string in -libcommon... yes
> checking for umad_init in -libumad... yes
> checking for mad_dump_int in -libmad... no
> configure: error: mad_dump_int() not found. diags require libibmad.
> error: Bad exit status from /var/tmp/rpm-tmp.42050 (%build)
>
> I confirmed that pulling management git and compiling libs and diags 
> from there does not have this issue, and that the libibmad.so.1 that 
> gets compiled in the daily OFED does not have mad_dump_int().
>
>




More information about the general mailing list