Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-5205

Recent commit for exception entry check break a Xeon Phi build

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.6.0
    • Lustre 2.6.0
    • None
    • 3
    • 14530

    Description

      The Lustre commit c394068ee148595711c661651368b91373bcc78a break a Xeon Phi build.
      Reviewed-on: http://review.whamcloud.com/10709

      /var/lib/jenkins/workspace/lustre-master/arch/xeonphi/build_type/client/distro/el6/ib_stack/inkernel/BUILD/BUILD/lustre-2.5.60/lustre/mdc/mdc_request.c: In function 'mdc_page_locate':
      /var/lib/jenkins/workspace/lustre-master/arch/xeonphi/build_type/client/distro/el6/ib_stack/inkernel/BUILD/BUILD/lustre-2.5.60/lustre/mdc/mdc_request.c:1184:2: error: implicit declaration of function 'radix_tree_exceptional_entry' [-Werror=implicit-function-declaration]
      cc1: some warnings being treated as errors
      

      Attachments

        Activity

          [LU-5205] Recent commit for exception entry check break a Xeon Phi build
          pjones Peter Jones added a comment -

          Landed for 2.6

          pjones Peter Jones added a comment - Landed for 2.6
          dmiter Dmitry Eremin (Inactive) added a comment - - edited

          It's strange but now I have troubles with dependency of libcfsutils.a from libcfs.a. For example, the following error:

          k1om-mpss-linux-libtool: link: k1om-mpss-linux-gcc -g -Wall -fPIC -D_GNU_SOURCE -m64 --sysroot=/opt/mpss/3.1.2/sysroots/k1om-mpss-linux -rdynamic --sysroot=/opt/mpss/3.1.2/sysroots/k1om-mpss-linux -Wl,--build-id -o mount.lustre mount_lustre-mount_lustre.o mount_lustre-mount_utils.o  -ldl ../../lnet/utils/libptlctl.a ../../libcfs/libcfs/libcfs.a ../../libcfs/libcfs/libcfsutil.a
          ../../libcfs/libcfs/libcfsutil.a(libcfsutil_a-nidstrings.o): In function `cfs_parse_nidlist':
          /home/lustre/lustre-release/libcfs/libcfs/nidstrings.c:906: undefined reference to `libcfs_log_return'
          /home/lustre/lustre-release/libcfs/libcfs/nidstrings.c:911: undefined reference to `libcfs_log_return'
          /home/lustre/lustre-release/libcfs/libcfs/nidstrings.c:914: undefined reference to `libcfs_log_return'
          ../../libcfs/libcfs/libcfsutil.a(libcfsutil_a-nidstrings.o): In function `cfs_match_nid':
          /home/lustre/lustre-release/libcfs/libcfs/nidstrings.c:954: undefined reference to `libcfs_log_return'
          /home/lustre/lustre-release/libcfs/libcfs/nidstrings.c:958: undefined reference to `libcfs_log_return'
          ../../libcfs/libcfs/libcfsutil.a(libcfsutil_a-nidstrings.o):/home/lustre/lustre-release/libcfs/libcfs/nidstrings.c:960: more undefined references to `libcfs_log_return' follow
          collect2: ld returned 1 exit status
          make[4]: *** [mount.lustre] Error 1
          
          dmiter Dmitry Eremin (Inactive) added a comment - - edited It's strange but now I have troubles with dependency of libcfsutils.a from libcfs.a. For example, the following error: k1om-mpss-linux-libtool: link: k1om-mpss-linux-gcc -g -Wall -fPIC -D_GNU_SOURCE -m64 --sysroot=/opt/mpss/3.1.2/sysroots/k1om-mpss-linux -rdynamic --sysroot=/opt/mpss/3.1.2/sysroots/k1om-mpss-linux -Wl,--build-id -o mount.lustre mount_lustre-mount_lustre.o mount_lustre-mount_utils.o -ldl ../../lnet/utils/libptlctl.a ../../libcfs/libcfs/libcfs.a ../../libcfs/libcfs/libcfsutil.a ../../libcfs/libcfs/libcfsutil.a(libcfsutil_a-nidstrings.o): In function `cfs_parse_nidlist': /home/lustre/lustre-release/libcfs/libcfs/nidstrings.c:906: undefined reference to `libcfs_log_return' /home/lustre/lustre-release/libcfs/libcfs/nidstrings.c:911: undefined reference to `libcfs_log_return' /home/lustre/lustre-release/libcfs/libcfs/nidstrings.c:914: undefined reference to `libcfs_log_return' ../../libcfs/libcfs/libcfsutil.a(libcfsutil_a-nidstrings.o): In function `cfs_match_nid': /home/lustre/lustre-release/libcfs/libcfs/nidstrings.c:954: undefined reference to `libcfs_log_return' /home/lustre/lustre-release/libcfs/libcfs/nidstrings.c:958: undefined reference to `libcfs_log_return' ../../libcfs/libcfs/libcfsutil.a(libcfsutil_a-nidstrings.o):/home/lustre/lustre-release/libcfs/libcfs/nidstrings.c:960: more undefined references to `libcfs_log_return' follow collect2: ld returned 1 exit status make[4]: *** [mount.lustre] Error 1
          adilger Andreas Dilger added a comment - http://review.whamcloud.com/10734
          pjones Peter Jones added a comment - http://review.whamcloud.com/#/c/10734/
          ys Yang Sheng added a comment -

          So can we just add some predefine condition for Xeon Phi special or add a config check?

          ys Yang Sheng added a comment - So can we just add some predefine condition for Xeon Phi special or add a config check?

          Xeon Phi based on 2.6.38 Linux kernel with additional patches for MIC architecture. The sources you can get from MPSS distributive.

          1. Download SOURCE tarball from https://software.intel.com/en-us/articles/intel-manycore-platform-software-stack-mpss
          2. Unpack linux-2.6.38+mpss*.tar.bz2 from it (this archive is source of Linux kernel from Xeon Phi)

          I found commit 6328650bb4d854a7dc1498d1c0048b838b0d340c
          Author: Hugh Dickins <hughd@google.com>
          Date: Wed Aug 3 16:21:18 2011 -0700

          radix_tree: exceptional entries and indices

          It looks it was included in v3.1 kernel but back ported into RHEL kernel.

          dmiter Dmitry Eremin (Inactive) added a comment - Xeon Phi based on 2.6.38 Linux kernel with additional patches for MIC architecture. The sources you can get from MPSS distributive. Download SOURCE tarball from https://software.intel.com/en-us/articles/intel-manycore-platform-software-stack-mpss Unpack linux-2.6.38+mpss*.tar.bz2 from it (this archive is source of Linux kernel from Xeon Phi) I found commit 6328650bb4d854a7dc1498d1c0048b838b0d340c Author: Hugh Dickins <hughd@google.com> Date: Wed Aug 3 16:21:18 2011 -0700 radix_tree: exceptional entries and indices It looks it was included in v3.1 kernel but back ported into RHEL kernel.
          simmonsja James A Simmons added a comment - - edited

          What kernel does the phi use and where is the source tree?

          simmonsja James A Simmons added a comment - - edited What kernel does the phi use and where is the source tree?

          People

            ys Yang Sheng
            dmiter Dmitry Eremin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: