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

build with --enable-invariants is broken

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • Lustre 2.6.0
    • Lustre 2.6.0
    • None
    • 3
    • 12287

    Description

      Making all in .
      cc1: warnings being treated as errors
      /home/rpmbuild/BUILD/lustre-2.5.54/lustre/osc/osc_lock.c: In function 'osc_lock_has_pages':
      /home/rpmbuild/BUILD/lustre-2.5.54/lustre/osc/osc_lock.c:1487: error: passing argument 2 of 'osc_page_gang_lookup' from incompatible pointer type
      /home/rpmbuild/BUILD/lustre-2.5.54/lustre/osc/osc_cl_internal.h:691: note: expected 'struct cl_io *' but argument is of type 'struct osc_object *'
      /home/rpmbuild/BUILD/lustre-2.5.54/lustre/osc/osc_lock.c:1487: error: passing argument 3 of 'osc_page_gang_lookup' from incompatible pointer type
      /home/rpmbuild/BUILD/lustre-2.5.54/lustre/osc/osc_cl_internal.h:691: note: expected 'struct osc_object *' but argument is of type 'struct cl_io *'
      make[7]: *** [/home/rpmbuild/BUILD/lustre-2.5.54/lustre/osc/osc_lock.o] Error 1
      make[6]: *** [/home/rpmbuild/BUILD/lustre-2.5.54/lustre/osc] Error 2
      make[6]: *** Waiting for unfinished jobs....
      make[5]: *** [/home/rpmbuild/BUILD/lustre-2.5.54/lustre] Error 2
      make[4]: *** [_module_/home/rpmbuild/BUILD/lustre-2.5.54] Error 2
      make[3]: *** [modules] Error 2
      make[2]: *** [all-recursive] Error 1
      make[1]: *** [all] Error 2
      error: Bad exit status from /var/tmp/rpm-tmp.KuGV57 (%build)

      Attachments

        Activity

          People

            dmiter Dmitry Eremin (Inactive)
            dmiter Dmitry Eremin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: