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

LU-11023 (quota pools) breaks building with gcc9

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.14.0
    • Upstream
    • None
    • 3
    • 9223372036854775807

    Description

      gcc9 fails to build with errors like this:

      In file included from /home/lustre/master-mine/lustre/quota/qmt_entry.c:33:
      /home/lustre/master-mine/lustre/quota/qmt_entry.c: In function ‘qmt_seed_glbe_all’:
      /home/lustre/master-mine/lustre/quota/qmt_internal.h:461:12: error: inlining failed in call to always_inline ‘qmt_sarr_get_idx’: function body not available
        461 | inline int qmt_sarr_get_idx(struct qmt_pool_info *qpi, int arr_idx);
            |            ^~~~~~~~~~~~~~~~
      /home/lustre/master-mine/lustre/quota/qmt_entry.c:1089:10: note: called from here
       1089 |    idx = qmt_sarr_get_idx(qpi, j);
            |          ^~~~~~~~~~~~~~~~~~~~~~~~
       

      Attachments

        Activity

          [LU-13557] LU-11023 (quota pools) breaks building with gcc9
          pjones Peter Jones added a comment -

          Landed for 2.14

          pjones Peter Jones added a comment - Landed for 2.14

          Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38595/
          Subject: LU-13557 quota: remove inline declarations
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: c6249b88a2adf2b4f0d661c4286812e9eae0c18a

          gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38595/ Subject: LU-13557 quota: remove inline declarations Project: fs/lustre-release Branch: master Current Patch Set: Commit: c6249b88a2adf2b4f0d661c4286812e9eae0c18a

          Alex Zhuravlev (bzzz@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/38595
          Subject: LU-13557 quota: remove inline declarations
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 8952f0e19fa695cf01c3801bcbcce0b72d0179ae

          gerrit Gerrit Updater added a comment - Alex Zhuravlev (bzzz@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/38595 Subject: LU-13557 quota: remove inline declarations Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 8952f0e19fa695cf01c3801bcbcce0b72d0179ae

          People

            bzzz Alex Zhuravlev
            bzzz Alex Zhuravlev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: