Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.13.0, Lustre 2.12.3
    • Lustre 2.13.0, Lustre 2.12.3
    • None
    • master branch, b2_12
    • 3
    • 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);
      

      Attachments

        Issue Links

          Activity

            [LU-12705] build fails on power9 client

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36207/
            Subject: LU-12705 build: fix building fail against Power9 little endian
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set:
            Commit: 45f9e02c2fa07d9a94228990cf87d460241d5e01

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36207/ Subject: LU-12705 build: fix building fail against Power9 little endian Project: fs/lustre-release Branch: b2_12 Current Patch Set: Commit: 45f9e02c2fa07d9a94228990cf87d460241d5e01

            Gu Zheng (gzheng@ddn.com) uploaded a new patch: https://review.whamcloud.com/36224
            Subject: LU-12705 utils: cleanup unnecessary typecasting
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 6795d55ae1260982530f64728607fe3c0b2b01d7

            gerrit Gerrit Updater added a comment - Gu Zheng (gzheng@ddn.com) uploaded a new patch: https://review.whamcloud.com/36224 Subject: LU-12705 utils: cleanup unnecessary typecasting Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 6795d55ae1260982530f64728607fe3c0b2b01d7

            Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/36207
            Subject: LU-12705 build: fix building fail against Power9 little endian
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set: 1
            Commit: 94662d1cce7ffcc5bfffab74aabc4f45b7bddd73

            gerrit Gerrit Updater added a comment - Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/36207 Subject: LU-12705 build: fix building fail against Power9 little endian Project: fs/lustre-release Branch: b2_12 Current Patch Set: 1 Commit: 94662d1cce7ffcc5bfffab74aabc4f45b7bddd73
            pjones Peter Jones added a comment -

            Landed for 2.13

            pjones Peter Jones added a comment - Landed for 2.13

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36007/
            Subject: LU-12705 build: fix building fail against Power9 little endian
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 4eddf36ac3607c66c172668b30eb5dcf921e3de4

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36007/ Subject: LU-12705 build: fix building fail against Power9 little endian Project: fs/lustre-release Branch: master Current Patch Set: Commit: 4eddf36ac3607c66c172668b30eb5dcf921e3de4

            Gu Zheng (gzheng@ddn.com) uploaded a new patch: https://review.whamcloud.com/36007
            Subject: LU-12705 build: fix building fail against Power9 little endian
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 89cf428dc530217a5e5bee838121e4dfe964a83f

            gerrit Gerrit Updater added a comment - Gu Zheng (gzheng@ddn.com) uploaded a new patch: https://review.whamcloud.com/36007 Subject: LU-12705 build: fix building fail against Power9 little endian Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 89cf428dc530217a5e5bee838121e4dfe964a83f

            I think one difference is big endian (ppc64 client on jenkins) vs little endian on my client.

            sihara Shuichi Ihara added a comment - I think one difference is big endian (ppc64 client on jenkins) vs little endian on my client.

            I thought we build every patch on Power, how is your build different from what is done by Jenkins?

            adilger Andreas Dilger added a comment - I thought we build every patch on Power, how is your build different from what is done by Jenkins?
            simmonsja James A Simmons added a comment - - edited

            Yes I saw this some time ago but haven't got around to it. Its the return of PRi64 handling.

            simmonsja James A Simmons added a comment - - edited Yes I saw this some time ago but haven't got around to it. Its the return of PRi64 handling.
            sihara Shuichi Ihara added a comment - full build log is attached. https://jira.whamcloud.com/secure/attachment/33420/build-fail.log

            People

              guzheng Gu Zheng (Inactive)
              sihara Shuichi Ihara
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: