[ewg] OFED 1.4.1 RC1 compilation error on RHEL5.2 i686
Tung, Chien Tin
chien.tin.tung at intel.com
Thu Mar 5 08:36:32 PST 2009
Our QA found a problem compiling OFED 1.4.1 RC1 on RHEL5U2 i686.
Anyone else testing in 32bit environment?
Here is the relevant log:
gcc -m32 -Wp,-MD,/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.1/drivers/infiniband/core/.addr.o.d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.2/include -D__KERNEL__ \
-include include/linux/autoconf.h \
-include /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.1/include/linux/autoconf.h \
-I/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.1/kernel_addons/backport/2.6.18-EL5.2/include/ \
\
\
-I/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.1/include \
-I/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.1/drivers/infiniband/debug \
-I/usr/local/include/scst \
-I/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.1/drivers/infiniband/ulp/srpt \
-I/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.1/drivers/net/cxgb3 \
-Iinclude \
\
-I/usr/src/kernels/2.6.18-92.el5-i686/arch/i386/include \
-Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Wstrict-prototypes -Wundef -Werror-implicit-function-declaration -Os -pipe -msoft-float -fno-builtin-sprintf -fno-builtin-log2 -fno-builtin-puts -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -mtune=generic -mregparm=3 -ffreestanding -Iinclude/asm-i386/mach-generic -Iinclude/asm-i386/mach-default -fomit-frame-pointer -g -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(addr)" -D"KBUILD_MODNAME=KBUILD_STR(ib_addr)" -c -o /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.1/drivers/infiniband/core/.tmp_addr.o /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.1/drivers/infiniband/core/addr.c
In file included from include/asm/atomic.h:256,
from include/linux/mutex.h:18,
from /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.1/drivers/infiniband/core/addr.c:36:
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.1/kernel_addons/backport/2.6.18-EL5.2/include/asm-generic/atomic.h: In function 'atomic_long_inc_return':
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.1/kernel_addons/backport/2.6.18-EL5.2/include/asm-generic/atomic.h:8: error: 'atomic64_t' undeclared (first use in this function)
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.1/kernel_addons/backport/2.6.18-EL5.2/include/asm-generic/atomic.h:8: error: (Each undeclared identifier is reported only once
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.1/kernel_addons/backport/2.6.18-EL5.2/include/asm-generic/atomic.h:8: error: for each function it appears in.)
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.1/kernel_addons/backport/2.6.18-EL5.2/include/asm-generic/atomic.h:8: error: 'v' undeclared (first use in this function)
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.1/kernel_addons/backport/2.6.18-EL5.2/include/asm-generic/atomic.h:8: error: expected expression before ')' token
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.1/kernel_addons/backport/2.6.18-EL5.2/include/asm-generic/atomic.h:10: error: implicit declaration of function 'atomic64_inc_return'
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.1/kernel_addons/backport/2.6.18-EL5.2/include/asm-generic/atomic.h: In function 'atomic_long_dec_return':
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.1/kernel_addons/backport/2.6.18-EL5.2/include/asm-generic/atomic.h:15: error: 'atomic64_t' undeclared (first use in this function)
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.1/kernel_addons/backport/2.6.18-EL5.2/include/asm-generic/atomic.h:15: error: 'v' undeclared (first use in this function)
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.1/kernel_addons/backport/2.6.18-EL5.2/include/asm-generic/atomic.h:15: error: expected expression before ')' token
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.1/kernel_addons/backport/2.6.18-EL5.2/include/asm-generic/atomic.h:17: error: implicit declaration of function 'atomic64_dec_return'
make[4]: *** [/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.1/drivers/infiniband/core/addr.o] Error 1
make[3]: *** [/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.1/drivers/infiniband/core] Error 2
make[2]: *** [/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.1/drivers/infiniband] Error 2
make[1]: *** [_module_/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.1] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.18-92.el5-i686'
make: *** [kernel] Error 2
--
Chien Tung | chien.tin.tung at intel.com
More information about the ewg
mailing list