Details
-
Bug
-
Resolution: Duplicate
-
Blocker
-
Lustre 2.13.0
-
None
-
3
-
9223372036854775807
Description
We got hit by a time bomb again it looks like.
This time LMV_HASH_FLAG_DEAD is only defined until 2.12.52 or below.
In file included from /tmp/rpmbuild-lustre-jenkins-VTQiYiSB/BUILD/lustre-2.12.53/libcfs/include/libcfs/libcfs.h:45:0,
from /tmp/rpmbuild-lustre-jenkins-VTQiYiSB/BUILD/lustre-2.12.53/lustre/include/obd_support.h:42,
from /tmp/rpmbuild-lustre-jenkins-VTQiYiSB/BUILD/lustre-2.12.53/lustre/ptlrpc/wiretest.c:40:
/tmp/rpmbuild-lustre-jenkins-VTQiYiSB/BUILD/lustre-2.12.53/lustre/ptlrpc/wiretest.c: In function 'lustre_assert_wire_constants':
/tmp/rpmbuild-lustre-jenkins-VTQiYiSB/BUILD/lustre-2.12.53/lustre/ptlrpc/wiretest.c:1854:11: error: 'LMV_HASH_FLAG_DEAD' undeclared (first use in this function)
CLASSERT(LMV_HASH_FLAG_DEAD == 0x40000000);
^
/tmp/rpmbuild-lustre-jenkins-VTQiYiSB/BUILD/lustre-2.12.53/libcfs/include/libcfs/libcfs_private.h:363:46: note: in definition of macro 'CLASSERT'
#define CLASSERT(cond) do {switch (1) {case (cond): case 0: break; } } while (0)
^
/tmp/rpmbuild-lustre-jenkins-VTQiYiSB/BUILD/lustre-2.12.53/lustre/ptlrpc/wiretest.c:1854:11: note: each undeclared identifier is reported only once for each function it appears in
CLASSERT(LMV_HASH_FLAG_DEAD == 0x40000000);
^
/tmp/rpmbuild-lustre-jenkins-VTQiYiSB/BUILD/lustre-2.12.53/libcfs/include/libcfs/libcfs_private.h:363:46: note: in definition of macro 'CLASSERT'
#define CLASSERT(cond) do {switch (1) {case (cond): case 0: break; } } while (0)
^
/tmp/rpmbuild-lustre-jenkins-VTQiYiSB/BUILD/lustre-2.12.53/lustre/ptlrpc/wiretest.c: At top level:
cc1: error: unrecognized command line option "-Wno-format-truncation" [-Werror]
cc1: all warnings being treated as errors
make[7]: *** [/tmp/rpmbuild-lustre-jenkins-VTQiYiSB/BUILD/lustre-2.12.53/lustre/ptlrpc/wiretest.o] Error 1
make[7]: *** Waiting for unfinished jobs....
make[6]: *** [/tmp/rpmbuild-lustre-jenkins-VTQiYiSB/BUILD/lustre-2.12.53/lustre/ptlrpc] Error 2
make[5]: *** [/tmp/rpmbuild-lustre-jenkins-VTQiYiSB/BUILD/lustre-2.12.53/lustre] Error 2
make[4]: *** [_module_/tmp/rpmbuild-lustre-jenkins-VTQiYiSB/BUILD/lustre-2.12.53] Error 2
make[3]: *** [modules] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2