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

LU-13485 breaks Ubuntu build

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • None
    • None
    • 3
    • 9223372036854775807

    Description

       With patch https://review.whamcloud.com/c/ex/lustre-release/+/52655/
      "ldiskfs: Parallel configure tests for ldiskfs"  aarch64 Ubuntu 20.04 build fails with

      /home/ablagodarenko/workdir/lustre-ex/lustre/osd-ldiskfs/osd_iam_lvar.c:187:21: note: in definition of macro ‘e_ldiskfsfs_dirhash’
        187 |   ldiskfsfs_dirhash(name, len, info)
            |                     ^~~~
      In file included from /home/ablagodarenko/workdir/lustre-ex/lustre/osd-ldiskfs/osd_internal.h:54,
                       from /home/ablagodarenko/workdir/lustre-ex/lustre/osd-ldiskfs/osd_iam_lvar.c:40:
      /home/ablagodarenko/workdir/lustre-ex/ldiskfs/ldiskfs.h:2770:50: note: expected ‘const struct inode *’ but argument is of type ‘const char *’
       2770 | extern int ldiskfsfs_dirhash(const struct inode *dir, const char *name, int len,
            |                              ~~~~~~~~~~~~~~~~~~~~^~~
      /home/ablagodarenko/workdir/lustre-ex/lustre/osd-ldiskfs/osd_iam_lvar.c:210:29: warning: passing argument 2 of ‘ldiskfsfs_dirhash’ makes pointer from integer without a cast [-Wint-conversion]
        210 |   e_ldiskfsfs_dirhash(name, namelen, &hinfo);
            |                             ^~~~~~~
            |                             |
            |                             int
       

      HAVE_LDISKFSFS_GETHASH_INODE_ARG macros have been excluded, but still used in osd_iam_lvar.c

      Attachments

        Issue Links

          Activity

            People

              ablagodarenko Artem Blagodarenko
              ablagodarenko Artem Blagodarenko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: