[LU-12764] ubuntu16 client build failure Created: 16/Sep/19 Updated: 04/Oct/19 Resolved: 04/Oct/19 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.13.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Wang Shilong (Inactive) | Assignee: | Wang Shilong (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
NAME="Ubuntu" wangsl@ubuntu:~/lustre-release$ gcc --version |
||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
In file included from include/linux/kernel.h:10:0,
from include/linux/list.h:9,
from include/linux/random.h:10,
from /home/wangsl/lustre-release/lnet/lnet/router.c:25:
/home/wangsl/lustre-release/lnet/lnet/router.c: In function ‘lnet_del_route’:
include/linux/compiler.h:177:26: error: ‘lp’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
case 8: *(__u64 *)res = *(volatile __u64 *)p; break; \
^
/home/wangsl/lustre-release/lnet/lnet/router.c:754:20: note: ‘lp’ was declared here
struct lnet_peer *lp;
^
/home/wangsl/lustre-release/lnet/lnet/router.c: At top level:
cc1: error: unrecognized command line option ‘-Wno-stringop-overflow’ [-Werror]
cc1: error: unrecognized command line option ‘-Wno-stringop-truncation’ [-Werror]
cc1: error: unrecognized command line option ‘-Wno-format-truncation’ [-Werror]
cc1: all warnings being treated as errors
|
| Comments |
| Comment by Gerrit Updater [ 16/Sep/19 ] |
|
Wang Shilong (wshilong@ddn.com) uploaded a new patch: https://review.whamcloud.com/36189 |
| Comment by Gerrit Updater [ 04/Oct/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36189/ |
| Comment by Peter Jones [ 04/Oct/19 ] |
|
Landed for 2.13 |