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

server build for sles11sp2 is broken

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.4.0
    • Lustre 2.4.0
    • None
    • sles11sp2
    • 3
    • 7433

    Description

      While building with the latest recipe for sles11sp2 server from LU-1812, I discovered a new build failure. Errors look like:

        CC [M]  /home/bogl/lustre-release/lustre/mdt/mdt_handler.o
      cc1: warnings being treated as errors
      /home/bogl/lustre-release/lustre/mdt/mdt_handler.c: In function ‘mdt_path_current’:
      /home/bogl/lustre-release/lustre/mdt/mdt_handler.c:5550: error: ‘rc’ may be used uninitialized in this function
      make[6]: *** [/home/bogl/lustre-release/lustre/mdt/mdt_handler.o] Error 1
      make[5]: *** [/home/bogl/lustre-release/lustre/mdt] Error 2
      make[4]: *** [/home/bogl/lustre-release/lustre] Error 2
      make[3]: *** [_module_/home/bogl/lustre-release] Error 2
      make[3]: Leaving directory `/home/bogl/linux-3.0.58-0.6.6'
      make[2]: *** [modules] Error 2
      make[2]: Leaving directory `/home/bogl/lustre-release'
      make[1]: *** [all-recursive] Error 1
      make[1]: Leaving directory `/home/bogl/lustre-release'
      make: *** [all] Error 2
      

      I believe this failure came from code added in recent commit a19f706ebef23a5778572553256df78abb81e1a4, LU-2801 mdt: checking remote object in mdt_swap_layouts. It isn't an issue in normal lustre builds in Centos. It hasn't been seen in routine lustre builds for sles11sp2 since those are currently client only.

      I will push a trivial patch for this soon.

      Attachments

        Issue Links

          Activity

            People

              bogl Bob Glossman (Inactive)
              bogl Bob Glossman (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: