Details
-
Bug
-
Resolution: Not a Bug
-
Minor
-
Lustre 2.5.3
-
None
-
3
-
9223372036854775807
Description
I was able to build lustre 2.5.3 in b2_5 FE under rhel6.6 and Mellanox 3.0.
To resolve a production system issue we were asked to upgrade HCA firmware which requires Mellanox OFED 3.1.
The configuration failed with Mellanox 3.1:
configure:15719: checking whether to use Compat RDMA
configure:15785: result: yes
configure:15818: checking whether to use any OFED backport headers
configure:15826: result: no
configure:15830: checking whether to enable OpenIB gen2 support
configure:15875: cp conftest.c build && make -d modules LD=/usr/bin/ld -m elf_x86_64 CC=gcc -f /tmp.chroot/nas-2.5.3-fe/build/Makefile LUSTRE_LINUX_CONFIG=/usr/src/kernels/2.6.32-504.30.3.el6.20151008.x86_64.nasa/.config LINUXINCLUDE= -DCONFIG_COMPAT_RHEL_6_4 -DCONFIG_COMPAT_RHEL_6_5 -DCONFIG_COMPAT_RHEL_6_6 -I/usr/src/ofa_kernel/nasa/include -I/usr/src/kernels/2.6.32-504.30.3.el6.20151008.x86_64.nasa/arch/x86/include -I/usr/src/kernels/2.6.32-504.30.3.el6.20151008.x86_64.nasa/arch/x86/include/generated -Iinclude -I/usr/src/kernels/2.6.32-504.30.3.el6.20151008.x86_64.nasa/include -Iinclude2 -I/usr/src/kernels/2.6.32-504.30.3.el6.20151008.x86_64.nasa/include/uapi -I/usr/src/kernels/2.6.32-504.30.3.el6.20151008.x86_64.nasa/include/generated -I/usr/src/kernels/2.6.32-504.30.3.el6.20151008.x86_64.nasa/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/kernels/2.6.32-504.30.3.el6.20151008.x86_64.nasa/include/uapi -Iinclude/generated/uapi -include include/linux/kconfig.h -o tmp_include_depends -o scripts -o include/config/MARKER -C /usr/src/kernels/2.6.32-504.30.3.el6.20151008.x86_64.nasa EXTRA_CFLAGS=-Werror-implicit-function-declaration -g -I/tmp.chroot/nas-2.5.3-fe/libcfs/include -I/tmp.chroot/nas-2.5.3-fe/lnet/include -I/tmp.chroot/nas-2.5.3-fe/lustre/include M=/tmp.chroot/nas-2.5.3-fe/build
In file included from /usr/src/ofa_kernel/nasa/include/linux/compat-2.6.h:68,
from /usr/src/ofa_kernel/nasa/include/linux/pci.h:5,
from /tmp.chroot/nas-2.5.3-fe/build/conftest.c:41:
/usr/src/ofa_kernel/nasa/include/linux/compat-3.3.h:36: error: conflicting types for 'netdev_features_t'
include/linux/netdevice.h:990: note: previous declaration of 'netdev_features_t' was here
In file included from /usr/src/ofa_kernel/nasa/include/linux/compat-2.6.h:70,
from /usr/src/ofa_kernel/nasa/include/linux/pci.h:5,
from /tmp.chroot/nas-2.5.3-fe/build/conftest.c:41:
/usr/src/ofa_kernel/nasa/include/linux/compat-3.5.h:141: error: redefinition of 'struct ieee_maxrate'
In file included from /usr/src/ofa_kernel/nasa/include/linux/compat-2.6.h:76,
from /usr/src/ofa_kernel/nasa/include/linux/pci.h:5,
from /tmp.chroot/nas-2.5.3-fe/build/conftest.c:41:
/usr/src/ofa_kernel/nasa/include/linux/compat-3.11.h:22: error: redeclaration of enumerator 'IFLA_VF_LINK_STATE_AUTO'
include/linux/if_link.h:353: note: previous definition of 'IFLA_VF_LINK_STATE_AUTO' was here
/usr/src/ofa_kernel/nasa/include/linux/compat-3.11.h:23: error: redeclaration of enumerator 'IFLA_VF_LINK_STATE_ENABLE'
include/linux/if_link.h:354: note: previous definition of 'IFLA_VF_LINK_STATE_ENABLE' was here
/usr/src/ofa_kernel/nasa/include/linux/compat-3.11.h:24: error: redeclaration of enumerator 'IFLA_VF_LINK_STATE_DISABLE'
include/linux/if_link.h:355: note: previous definition of 'IFLA_VF_LINK_STATE_DISABLE' was here
/usr/src/ofa_kernel/nasa/include/linux/compat-3.11.h:25: error: redeclaration of enumerator '__IFLA_VF_LINK_STATE_MAX'
include/linux/if_link.h:356: note: previous definition of '__IFLA_VF_LINK_STATE_MAX' was here
In file included from /usr/src/ofa_kernel/nasa/include/linux/compat-2.6.h:77,
from /usr/src/ofa_kernel/nasa/include/linux/pci.h:5,
from /tmp.chroot/nas-2.5.3-fe/build/conftest.c:41:
/usr/src/ofa_kernel/nasa/include/linux/compat-3.12.h:56: warning: 'enum pci_bus_speed' declared inside parameter list
/usr/src/ofa_kernel/nasa/include/linux/compat-3.12.h:56: warning: its scope is only this definition or declaration, which is probably not what you want
make[1]: *** [/tmp.chroot/nas-2.5.3-fe/build/conftest.o] Error 1
make: *** [_module_/tmp.chroot/nas-2.5.3-fe/build] Error 2