Quantcast
Channel: Intel® Many Integrated Core Architecture
Viewing all articles
Browse latest Browse all 1347

Error getting OFED to compile when mic is selected.

$
0
0
Compiling OFED with with phi and --all fails when compiling compat-rdma.
Compile without the "--with-xeon-phi" option works.


./install.pl --with-xeon-phi --all

# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.1 (Maipo)

# uname -r
3.10.0-229.1.2.el7.x86_64

rpm -qi mpss-sdk-k1om-3.5-1.x86_64
Name        : mpss-sdk-k1om
Version     : 3.5
Release     : 1
Architecture: x86_64
Install Date: Thu 09 Apr 2015 10:00:28 PM CDT
Group       : base
Size        : 484359036
License     : various
Signature   : DSA/SHA1, Thu 02 Apr 2015 06:57:59 AM CDT, Key ID
718a1696ef328191
Source RPM  : mpss-sdk-k1om-3.5-1.src.rpm
Build Date  : Thu 02 Apr 2015 06:57:59 AM CDT
Build Host  : yocto-182-62
Relocations : (not relocatable)
Packager    : Intel Corporation
URL         : http://software.intel.com/xeonphi
Summary     : SDK package for MPSS on Intel MIC co-processors
Description :
A self-contained cross-toolchain for building programs for k1om co-
processors running MPSS.




compat-rdma.rpmbuild.log contains the following errors

CC [M]
/var/tmp/OFED_topdir/BUILD/compat-rdma-3.18/drivers/infiniband/hw/qib/qib_cq.o
  CC [M]
/var/tmp/OFED_topdir/BUILD/compat-rdma-3.18/drivers/infiniband/hw/qib/qib_diag.o
In file included from include/asm-generic/bug.h:13:0,
                 from
/usr/src/kernels/3.10.0-229.1.2.el7.x86_64/arch/x86/include/asm/bug.h:38,
                 from include/linux/bug.h:4,
                 from include/linux/thread_info.h:11,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from include/linux/wait.h:7,
                 from include/linux/fs.h:6,
                 from
/var/tmp/OFED_topdir/BUILD/compat-rdma-3.18/include/linux/compat-3.5.h:5,
                 from
/var/tmp/OFED_topdir/BUILD/compat-rdma-3.18/include/linux/compat-2.6.h:64,
                 from <command-line>:0:
/var/tmp/OFED_topdir/BUILD/compat-rdma-3.18/drivers/infiniband/hw/mthca/mthca_memfree.c:
In function 'mthca_map_user_db':
include/linux/kernel.h:844:27: error: dereferencing pointer to incomplete type
  const typeof( ((type *)0)->member ) *__mptr = (ptr); \
                           ^
include/linux/list.h:351:2: note: in expansion of macro 'container_of'
  container_of(ptr, type, member)
  ^
/var/tmp/OFED_topdir/BUILD/compat-rdma-3.18/drivers/infiniband/hw/mthca/mthca_memfree.c:500:10:
note: in expansion of macro 'list_entry'
  chunk = list_entry(db_tab->page[i].umem->chunk_list.next,
          ^
/var/tmp/OFED_topdir/BUILD/compat-rdma-3.18/drivers/infiniband/hw/mthca/mthca_memfree.c:500:41:
error: 'struct ib_umem' has no member named 'chunk_list'
  chunk = list_entry(db_tab->page[i].umem->chunk_list.next,
                                         ^
include/linux/kernel.h:844:49: note: in definition of macro 'container_of'
  const typeof( ((type *)0)->member ) *__mptr = (ptr); \
                                                 ^
/var/tmp/OFED_topdir/BUILD/compat-rdma-3.18/drivers/infiniband/hw/mthca/mthca_memfree.c:500:10:
note: in expansion of macro 'list_entry'
  chunk = list_entry(db_tab->page[i].umem->chunk_list.next,
          ^
In file included from include/linux/compiler-gcc.h:103:0,
                 from include/linux/compiler.h:54,
                 from include/uapi/linux/stddef.h:1,
                 from include/linux/stddef.h:4,
                 from include/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,

Viewing all articles
Browse latest Browse all 1347

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>