[LU-5205] Recent commit for exception entry check break a Xeon Phi build Created: 16/Jun/14 Updated: 22/Feb/16 Resolved: 20/Jun/14 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.6.0 |
| Fix Version/s: | Lustre 2.6.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Dmitry Eremin (Inactive) | Assignee: | Yang Sheng |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||
| Severity: | 3 | ||||
| Rank (Obsolete): | 14530 | ||||
| Description |
|
The Lustre commit c394068ee148595711c661651368b91373bcc78a break a Xeon Phi build. /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 |
| Comments |
| Comment by James A Simmons [ 16/Jun/14 ] |
|
What kernel does the phi use and where is the source tree? |
| Comment by Dmitry Eremin (Inactive) [ 16/Jun/14 ] |
|
Xeon Phi based on 2.6.38 Linux kernel with additional patches for MIC architecture. The sources you can get from MPSS distributive.
I found commit 6328650bb4d854a7dc1498d1c0048b838b0d340c radix_tree: exceptional entries and indices It looks it was included in v3.1 kernel but back ported into RHEL kernel. |
| Comment by Yang Sheng [ 17/Jun/14 ] |
|
So can we just add some predefine condition for Xeon Phi special or add a config check? |
| Comment by Peter Jones [ 17/Jun/14 ] |
| Comment by Andreas Dilger [ 17/Jun/14 ] |
| Comment by Dmitry Eremin (Inactive) [ 17/Jun/14 ] |
|
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 |
| Comment by Peter Jones [ 20/Jun/14 ] |
|
Landed for 2.6 |