[LU-12898] building lustre utils on ppc64le fails with error format expects llu but argument is __u64 Created: 22/Oct/19 Updated: 13/Jan/20 Resolved: 03/Jan/20 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.12.3 |
| Fix Version/s: | Lustre 2.14.0, Lustre 2.12.4 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Olaf Faaland | Assignee: | Olaf Faaland |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | llnl, llnlfixready | ||
| Issue Links: |
|
||||||||||||
| Severity: | 3 | ||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||
| Description |
|
Several utilities fail to build with errors like this one: BUILDSTDERR: libmount_utils_zfs.c: In function 'zfs_mkfs_opts': BUILDSTDERR: libmount_utils_zfs.c:573:5: error: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type '__u64' [-Werror=format=] BUILDSTDERR: mop->mo_device_kb * 1024); utilities affected: lustre/utils/ll_decode_filter_fid.c lustre/utils/llog_reader.c lustre/utils/lr_reader.c lustre/utils/lsnapshot.c lustre/utils/lustre_lfsck.c |
| Comments |
| Comment by Olaf Faaland [ 22/Oct/19 ] |
|
I am working through them and will have a patch, after I rebase on master. |
| Comment by Gerrit Updater [ 23/Oct/19 ] |
|
Olaf Faaland-LLNL (faaland1@llnl.gov) uploaded a new patch: https://review.whamcloud.com/36558 |
| Comment by Peter Jones [ 23/Oct/19 ] |
|
Thanks Olaf |
| Comment by Andreas Dilger [ 24/Oct/19 ] |
|
It looks like this is a dupe of |
| Comment by Andreas Dilger [ 24/Oct/19 ] |
|
Hmm, it looks like those patches are already backported to b2_12... Do the same compile problems exist on master, or only b2_12? Typically we do not accept patches for only LTS branches until they have been landed for master first, so that we don't lose fixes going forward. |
| Comment by Andreas Dilger [ 24/Oct/19 ] |
|
Doh! Your patch is for master... For some reason I thought the patch was pushed against b2_12 only. Too early I guess. |
| Comment by Andreas Dilger [ 27/Oct/19 ] |
|
I was trying to understand why we didn't see these problems with Olaf, are you trying to actually use PPC64le nodes for servers, or is this just because you are building both client+server packages normally and only the packages will only be used on the clients? We definitely haven't done much testing with large PAGE_SIZE on the server. |
| Comment by Olaf Faaland [ 28/Oct/19 ] |
That question has been bothering me, and I didn't connect the dots. Thanks for pointing that out.
We just build client+server packages as a routine practice; we're not trying to use PPCE64le servers. Thanks for the warning. |
| Comment by Gerrit Updater [ 03/Jan/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36558/ |
| Comment by Peter Jones [ 03/Jan/20 ] |
|
Landed for 2.14 |
| Comment by Gerrit Updater [ 03/Jan/20 ] |
|
Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/37130 |
| Comment by Gerrit Updater [ 10/Jan/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37130/ |