Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-12705

build fails on power9 client

    XMLWordPrintable

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

            People

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

              Dates

                Created:
                Updated:
                Resolved: