Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
3
-
9223372036854775807
Description
[zam@rocky utils]$ make wirecheck gcc -DHAVE_CONFIG_H -I. -I../.. -DCC="\"gcc\"" -include /home/zam/work/git/lustre-wc-rel/undef.h -include /home/zam/work/git/lustre-wc-rel/config.h -I/home/zam/work/git/lustre-wc-rel/lnet/include/uapi -I/home/zam/work/git/lustre-wc-rel/lustre/include/uapi -I/home/zam/work/git/lustre-wc-rel/libcfs/include -I/home/zam/work/git/lustre-wc-rel/lnet/utils/ -I/home/zam/work/git/lustre-wc-rel/lustre/include -fPIC -D_GNU_SOURCE -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DLUSTRE_UTILS=1 -g -O2 -Wall -Werror -MT wirecheck-wirecheck.o -MD -MP -MF .deps/wirecheck-wirecheck.Tpo -c -o wirecheck-wirecheck.o `test -f 'wirecheck.c' || echo './'`wirecheck.c wirecheck.c: In function 'check_lustre_msg_v2': wirecheck.c:419:30: error: 'struct lustre_msg_v2' has no member named 'lm_padding_2'; did you mean 'lm_padding_3'? CHECK_MEMBER(lustre_msg_v2, lm_padding_2); ^~~~~~~~~~~~ wirecheck.c:97:38: note: in definition of macro 'CHECK_VALUE' " (long long)"#a");\n", (long long)a); \ ^ wirecheck.c:156:2: note: in expansion of macro 'CHECK_MEMBER_OFFSET' CHECK_MEMBER_OFFSET(s, m); \ ^~~~~~~~~~~~~~~~~~~ wirecheck.c:419:2: note: in expansion of macro 'CHECK_MEMBER' CHECK_MEMBER(lustre_msg_v2, lm_padding_2); ^~~~~~~~~~~~ wirecheck.c:419:30: error: 'struct lustre_msg_v2' has no member named 'lm_padding_2'; did you mean 'lm_padding_3'? CHECK_MEMBER(lustre_msg_v2, lm_padding_2); ^~~~~~~~~~~~ wirecheck.c:97:38: note: in definition of macro 'CHECK_VALUE' " (long long)"#a");\n", (long long)a); \ ^ wirecheck.c:157:2: note: in expansion of macro 'CHECK_MEMBER_SIZEOF' CHECK_MEMBER_SIZEOF(s, m); \ ^~~~~~~~~~~~~~~~~~~ wirecheck.c:419:2: note: in expansion of macro 'CHECK_MEMBER' CHECK_MEMBER(lustre_msg_v2, lm_padding_2); ^~~~~~~~~~~~ wirecheck.c: In function 'check_nodemap_cluster_rec': wirecheck.c:2648:15: error: attempt to take address of bit-field structure member 'ncr_flags' CHECK_MEMBER(nodemap_cluster_rec, ncr_flags); ^~~~~~~~~~~~~~~~~~~ wirecheck.c:97:38: note: in definition of macro 'CHECK_VALUE' " (long long)"#a");\n", (long long)a); \ ^ wirecheck.c:156:2: note: in expansion of macro 'CHECK_MEMBER_OFFSET' CHECK_MEMBER_OFFSET(s, m); \ ^~~~~~~~~~~~~~~~~~~ wirecheck.c:2648:2: note: in expansion of macro 'CHECK_MEMBER' CHECK_MEMBER(nodemap_cluster_rec, ncr_flags); ^~~~~~~~~~~~ wirecheck.c:140:25: error: 'sizeof' applied to a bit-field CHECK_VALUE((int)sizeof(((struct s *)0)->m)); \ ^ wirecheck.c:97:38: note: in definition of macro 'CHECK_VALUE' " (long long)"#a");\n", (long long)a); \ ^ wirecheck.c:157:2: note: in expansion of macro 'CHECK_MEMBER_SIZEOF' CHECK_MEMBER_SIZEOF(s, m); \ ^~~~~~~~~~~~~~~~~~~ wirecheck.c:2648:2: note: in expansion of macro 'CHECK_MEMBER' CHECK_MEMBER(nodemap_cluster_rec, ncr_flags); ^~~~~~~~~~~~ wirecheck.c:2649:15: error: attempt to take address of bit-field structure member 'ncr_flags2' CHECK_MEMBER(nodemap_cluster_rec, ncr_flags2); ^~~~~~~~~~~~~~~~~~~ wirecheck.c:97:38: note: in definition of macro 'CHECK_VALUE' " (long long)"#a");\n", (long long)a); \ ^ wirecheck.c:156:2: note: in expansion of macro 'CHECK_MEMBER_OFFSET' CHECK_MEMBER_OFFSET(s, m); \ ^~~~~~~~~~~~~~~~~~~ wirecheck.c:2649:2: note: in expansion of macro 'CHECK_MEMBER' CHECK_MEMBER(nodemap_cluster_rec, ncr_flags2); ^~~~~~~~~~~~ wirecheck.c:140:25: error: 'sizeof' applied to a bit-field CHECK_VALUE((int)sizeof(((struct s *)0)->m)); \ ^ wirecheck.c:97:38: note: in definition of macro 'CHECK_VALUE' " (long long)"#a");\n", (long long)a); \ ^ wirecheck.c:157:2: note: in expansion of macro 'CHECK_MEMBER_SIZEOF' CHECK_MEMBER_SIZEOF(s, m); \ ^~~~~~~~~~~~~~~~~~~ wirecheck.c:2649:2: note: in expansion of macro 'CHECK_MEMBER' CHECK_MEMBER(nodemap_cluster_rec, ncr_flags2); ^~~~~~~~~~~~ make: *** [Makefile:2165: wirecheck-wirecheck.o] Error 1 [zam@rocky utils]$
Attachments
Issue Links
- is related to
-
LU-16655 Files not accessible after 2.12 -> 2.14/2.15 upgrade
- Resolved