[LU-5317] master build of Xeon Phi client RPMs is broken Created: 10/Jul/14  Updated: 25/Sep/14  Resolved: 10/Jul/14

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.6.0

Type: Bug Priority: Major
Reporter: Dmitry Eremin (Inactive) Assignee: Dmitry Eremin (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 14854

 Description   

After commit babd429f5b35e608113403611de26af2f3a18537:

Building Lustre DKMS RPMs for:  x86_64...
configure: loading site script /opt/mpss/3.2.3/site-config-k1om-mpss-linux
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for gcc... k1om-mpss-linux-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... configure: error: in `/home/lustre/build/lustre':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
An unexpected error has occurred at lbuild:962.
Unfortunately the above line number in the message may or may not be correct,
but details have been send to the lbuild maintainer.  Attempting to continue.
Untrapped error

After commit 122aaddbf14fd89aa86b0595774695fb96d661e7:

../../k1om-mpss-linux-libtool --tag=CC   --mode=link k1om-mpss-linux-gcc -g -Wall -fPIC -D_GNU_SOURCE -m64  --sysroot=/opt/mpss/3.2.3/sysroots/k1om-mpss-linux -rdynamic -ldl --sysroot=/opt/mpss/3.2.3/sysroots/k1om-mpss-linux -Wl,--build-id -o mount.lustre mount_lustre-mount_lustre.o mount_lustre-mount_utils.o ../../lnet/utils/libptlctl.a ../../libcfs/libcfs/libcfs.a ../../libcfs/libcfs/libcfsutil.a  
k1om-mpss-linux-libtool: link: k1om-mpss-linux-gcc -g -Wall -fPIC -D_GNU_SOURCE -m64 --sysroot=/opt/mpss/3.2.3/sysroots/k1om-mpss-linux -rdynamic --sysroot=/opt/mpss/3.2.3/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
make[4]: *** Waiting for unfinished jobs....


 Comments   
Comment by Dmitry Eremin (Inactive) [ 10/Jul/14 ]

The patch is http://review.whamcloud.com/11044

Comment by Jodi Levi (Inactive) [ 10/Jul/14 ]

Patch landed to master.

Comment by John Fuchs-Chesney (Inactive) [ 11/Jul/14 ]

Hi Dmitry,
May I mark this as resolved?
Or does the patch need to be landed elsewhere first?
Thanks,
~ jfc.

Comment by Dmitry Eremin (Inactive) [ 14/Jul/14 ]

Yes, it's resolved.

Generated at Sat Feb 10 01:50:26 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.