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

some version of gcc fails to compile liblustre_util.c

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • Lustre 2.7.0
    • gcc with attribute warn_unused_result set.
    • 3
    • 17482

    Description

      One of my build boxes has gcc set warn_ununsed_result set. This causes liblustre_util.c to fail to build since read() return value is ignored.

      Attachments

        Issue Links

          Activity

            [LU-6242] some version of gcc fails to compile liblustre_util.c
            yujian Jian Yu added a comment -

            The issue is resolved in LU-6081.

            yujian Jian Yu added a comment - The issue is resolved in LU-6081 .
            simmonsja James A Simmons added a comment - - edited

            Yes please mark it as a duplicate. Thank you.

            simmonsja James A Simmons added a comment - - edited Yes please mark it as a duplicate. Thank you.
            yujian Jian Yu added a comment -

            Hi James,
            The patch http://review.whamcloud.com/13654 (ready to land) from Frank fixed the same issue. May I close this ticket and mark it to be resolved in LU-6081 ?

            yujian Jian Yu added a comment - Hi James, The patch http://review.whamcloud.com/13654 (ready to land) from Frank fixed the same issue. May I close this ticket and mark it to be resolved in LU-6081 ?

            James Simmons (uja.ornl@gmail.com) uploaded a new patch: http://review.whamcloud.com/13752
            Subject: LU-6242 utils: avoid gcc build errors for liblustre_util.c
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 11f190b8efb10a90c5f1e005d6025f26f65f1723

            gerrit Gerrit Updater added a comment - James Simmons (uja.ornl@gmail.com) uploaded a new patch: http://review.whamcloud.com/13752 Subject: LU-6242 utils: avoid gcc build errors for liblustre_util.c Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 11f190b8efb10a90c5f1e005d6025f26f65f1723

            People

              yujian Jian Yu
              simmonsja James A Simmons
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: