Details

    • 3
    • 17388

    Description

      Upon building Lustre for ppc64 the following error breaks the build in Jenkins Job 'lustre-ppc':

      libtool: link: mpicc -g -Wall -fPIC -D_GNU_SOURCE -g -O2 -Werror -m64 -o mdsrate mdsrate.o  -L/var/lib/jenkins/workspace/lustre-ppc/arch/ppc64/build_type/client/distro/el6/ib_stack/inkernel/BUILD/BUILD/lustre-2.6.93/lustre/utils -llustreapi ../../../libcfs/libcfs/libcfs.a -lkeyutils
      libtool: link: mpicc -g -Wall -fPIC -D_GNU_SOURCE -g -O2 -Werror -m64 -o cascading_rw cascading_rw.o lp_utils.o  -L/var/lib/jenkins/workspace/lustre-ppc/arch/ppc64/build_type/client/distro/el6/ib_stack/inkernel/BUILD/BUILD/lustre-2.6.93/lustre/utils -llustreapi ../../../libcfs/libcfs/libcfs.a -lkeyutils
      cc1: warnings being treated as errors
      llapi_hsm_test.c: In function 'test101_progress':
      llapi_hsm_test.c:563: error: format '%llu' expects type 'long long unsigned int', but argument 8 has type '__u64'
      llapi_hsm_test.c: In function 'test102_progress':
      llapi_hsm_test.c:599: error: format '%llu' expects type 'long long unsigned int', but argument 8 has type '__u64'
      llapi_hsm_test.c: In function 'test103_progress':
      llapi_hsm_test.c:631: error: format '%llu' expects type 'long long unsigned int', but argument 8 has type '__u64'
      llapi_hsm_test.c: In function 'test104_progress':
      llapi_hsm_test.c:669: error: format '%llu' expects type 'long long unsigned int', but argument 8 has type '__u64'
      llapi_hsm_test.c: In function 'test105_progress':
      llapi_hsm_test.c:704: error: format '%llu' expects type 'long long unsigned int', but argument 8 has type '__u64'
      llapi_hsm_test.c: In function 'test106_progress':
      llapi_hsm_test.c:736: error: format '%llu' expects type 'long long unsigned int', but argument 8 has type '__u64'
      llapi_hsm_test.c: In function 'test107_progress':
      llapi_hsm_test.c:768: error: format '%llu' expects type 'long long unsigned int', but argument 8 has type '__u64'
      llapi_hsm_test.c: In function 'test108_progress':
      llapi_hsm_test.c:803: error: format '%llu' expects type 'long long unsigned int', but argument 8 has type '__u64'
      llapi_hsm_test.c: In function 'test109_progress':
      llapi_hsm_test.c:835: error: format '%llu' expects type 'long long unsigned int', but argument 8 has type '__u64'
      llapi_hsm_test.c: In function 'test110_progress':
      llapi_hsm_test.c:869: error: format '%llu' expects type 'long long unsigned int', but argument 9 has type '__u64'
      llapi_hsm_test.c: In function 'test111_progress':
      llapi_hsm_test.c:905: error: format '%llu' expects type 'long long unsigned int', but argument 9 has type '__u64'
      llapi_hsm_test.c: In function 'test112_progress':
      llapi_hsm_test.c:942: error: format '%llu' expects type 'long long unsigned int', but argument 9 has type '__u64'
      llapi_hsm_test.c:961: error: format '%llu' expects type 'long long unsigned int', but argument 9 has type '__u64'
      make[4]: *** [llapi_hsm_test.o] Error 1
      

      Build log can be accessed via:
      https://build.hpdd.intel.com/job/lustre-ppc/138/arch=ppc64,build_type=client,distro=el6,ib_stack=inkernel/consoleFull

      Attachments

        Activity

          [LU-6216] Compilation error libtool on ppc64

          Totally agree. We need to add ppc64 to the mix since places like ORNL are picking up ppc64 machines.

          simmonsja James A Simmons added a comment - Totally agree. We need to add ppc64 to the mix since places like ORNL are picking up ppc64 machines.
          fzago Frank Zago (Inactive) added a comment - - edited

          BTW, can the PPC build be accessible in the regular build page? I only see i386 and x86_64 builds.

          fzago Frank Zago (Inactive) added a comment - - edited BTW, can the PPC build be accessible in the regular build page? I only see i386 and x86_64 builds.

          I'll take that one. I have some other changes in that file too.

          fzago Frank Zago (Inactive) added a comment - I'll take that one. I have some other changes in that file too.

          The llapi_hsm_test.c file was only just added in 2.6.92. It makes sense to change these printf lines to cast the arguments into (unsigned long long) to avoid the use of LPU64 in userspace.

          adilger Andreas Dilger added a comment - The llapi_hsm_test.c file was only just added in 2.6.92. It makes sense to change these printf lines to cast the arguments into (unsigned long long) to avoid the use of LPU64 in userspace.
          ys Yang Sheng added a comment -

          We have ever build Lustre on ppc64 successful before. But maybe lost some thing in cleanup works.

          ys Yang Sheng added a comment - We have ever build Lustre on ppc64 successful before. But maybe lost some thing in cleanup works.

          Yang Sheng,
          Could you please take this one?
          Thank you!

          jlevi Jodi Levi (Inactive) added a comment - Yang Sheng, Could you please take this one? Thank you!

          People

            ys Yang Sheng
            heckes Frank Heckes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: