[ofa-general] Build failures on current 1.4.1 dailies

Gennadiy Nerubayev parakie at gmail.com
Tue Apr 28 22:37:25 PDT 2009


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().

Thanks,

-Gennadiy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20090429/aa65a455/attachment.html>


More information about the general mailing list