[LU-12705] build fails on power9 client Created: 27/Aug/19 Updated: 24/Oct/19 Resolved: 16/Sep/19 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.13.0, Lustre 2.12.3 |
| Fix Version/s: | Lustre 2.13.0, Lustre 2.12.3 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Shuichi Ihara | Assignee: | Gu Zheng (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
master branch, b2_12 |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
build fails on power9 client (littile endian) due to 'long long unsigned int'. not only ll_decode_linkea.c, but also llsom_sync.c, lfs.c so on. both master and b2_12 gets same roblems. ll_decode_linkea.c: In function 'decode_linkea': ll_decode_linkea.c:89:4: error: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type '__u64' [-Werror=format=] fname, leh->leh_len, size); ^ ll_decode_linkea.c:102:5: error: format '%lld' expects argument of type 'long long int', but argument 4 has type '__u64' [-Werror=format=] fname, leh->leh_len, length); ^ ll_decode_linkea.c:102:5: error: format '%lld' expects argument of type 'long long int', but argument 5 has type '__u64' [-Werror=format=] ll_decode_linkea.c:116:4: error: format '%lld' expects argument of type 'long long int', but argument 4 has type '__u64' [-Werror=format=] fname, leh->leh_len, length); |
| Comments |
| Comment by Shuichi Ihara [ 27/Aug/19 ] |
|
full build log is attached. https://jira.whamcloud.com/secure/attachment/33420/build-fail.log |
| Comment by James A Simmons [ 27/Aug/19 ] |
|
Yes I saw this some time ago but haven't got around to it. Its the return of PRi64 handling. |
| Comment by Andreas Dilger [ 27/Aug/19 ] |
|
I thought we build every patch on Power, how is your build different from what is done by Jenkins? |
| Comment by Shuichi Ihara [ 28/Aug/19 ] |
|
I think one difference is big endian (ppc64 client on jenkins) vs little endian on my client. |
| Comment by Gerrit Updater [ 30/Aug/19 ] |
|
Gu Zheng (gzheng@ddn.com) uploaded a new patch: https://review.whamcloud.com/36007 |
| Comment by Gerrit Updater [ 16/Sep/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36007/ |
| Comment by Peter Jones [ 16/Sep/19 ] |
|
Landed for 2.13 |
| Comment by Gerrit Updater [ 17/Sep/19 ] |
|
Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/36207 |
| Comment by Gerrit Updater [ 18/Sep/19 ] |
|
Gu Zheng (gzheng@ddn.com) uploaded a new patch: https://review.whamcloud.com/36224 |
| Comment by Gerrit Updater [ 23/Sep/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36207/ |
| Comment by Gerrit Updater [ 27/Sep/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36224/ |
| Comment by Gerrit Updater [ 28/Sep/19 ] |
|
Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/36313 |
| Comment by Gerrit Updater [ 04/Oct/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36313/ |