[LU-13557] LU-11023 (quota pools) breaks building with gcc9 Created: 14/May/20 Updated: 27/May/20 Resolved: 27/May/20 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Upstream |
| Fix Version/s: | Lustre 2.14.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Alex Zhuravlev | Assignee: | Alex Zhuravlev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
gcc9 fails to build with errors like this: In file included from /home/lustre/master-mine/lustre/quota/qmt_entry.c:33: /home/lustre/master-mine/lustre/quota/qmt_entry.c: In function ‘qmt_seed_glbe_all’: /home/lustre/master-mine/lustre/quota/qmt_internal.h:461:12: error: inlining failed in call to always_inline ‘qmt_sarr_get_idx’: function body not available 461 | inline int qmt_sarr_get_idx(struct qmt_pool_info *qpi, int arr_idx); | ^~~~~~~~~~~~~~~~ /home/lustre/master-mine/lustre/quota/qmt_entry.c:1089:10: note: called from here 1089 | idx = qmt_sarr_get_idx(qpi, j); | ^~~~~~~~~~~~~~~~~~~~~~~~ |
| Comments |
| Comment by Gerrit Updater [ 14/May/20 ] |
|
Alex Zhuravlev (bzzz@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/38595 |
| Comment by Gerrit Updater [ 27/May/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38595/ |
| Comment by Peter Jones [ 27/May/20 ] |
|
Landed for 2.14 |