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

build broken by latest spl

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • None
    • None
    • 3
    • 17176

    Description

      this looks a bit like LU-5826. It may be a dup or being addressed by changes for LU-6038. I'm seeing builds failing in osd-zfs if I try to use the latest master version spl/zfs. example errors, seen in current lustre master built for el6.6

      make[3]: Entering directory `/home/bogl/rb/BUILD/kernel-2.6.32.504.3.3.l1216'
        LD      /home/bogl/lustre-release/lustre/osd-zfs/built-in.o
        CC [M]  /home/bogl/lustre-release/lustre/osd-zfs/osd_handler.o
        CC [M]  /home/bogl/lustre-release/lustre/osd-zfs/osd_lproc.o
        CC [M]  /home/bogl/lustre-release/lustre/osd-zfs/osd_quota.o
        CC [M]  /home/bogl/lustre-release/lustre/osd-zfs/osd_object.o
      cc1: warnings being treated as errors
      /home/bogl/lustre-release/lustre/osd-zfs/osd_object.c: In function 'osd_object_alloc':
      /home/bogl/lustre-release/lustre/osd-zfs/osd_object.c:285: error: passing argument 1 of 'spl_kmem_cache_alloc' from incompatible pointer type
      /home/bogl/spl/include/sys/kmem_cache.h:218: note: expected 'struct spl_kmem_cache_t *' but argument is of type 'struct kmem_cache *'
      /home/bogl/lustre-release/lustre/osd-zfs/osd_object.c:285: error: passing argument 1 of 'spl_kmem_cache_free' from incompatible pointer type
      /home/bogl/spl/include/sys/kmem_cache.h:219: note: expected 'struct spl_kmem_cache_t *' but argument is of type 'struct kmem_cache *'
      /home/bogl/lustre-release/lustre/osd-zfs/osd_object.c: In function 'osd_object_free':
      /home/bogl/lustre-release/lustre/osd-zfs/osd_object.c:432: error: passing argument 1 of 'spl_kmem_cache_free' from incompatible pointer type
      /home/bogl/spl/include/sys/kmem_cache.h:219: note: expected 'struct spl_kmem_cache_t *' but argument is of type 'struct kmem_cache *'
      make[6]: *** [/home/bogl/lustre-release/lustre/osd-zfs/osd_object.o] Error 1
      make[5]: *** [/home/bogl/lustre-release/lustre/osd-zfs] 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/rb/BUILD/kernel-2.6.32.504.3.3.l1216'
      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
      

      This isn't a problem when building with known, good, tagged versions of spl/zfs like 0.6.3. It is a problem with the latest master spl/zfs. It could become a blocker for moving to a later tag for spl/zfs.

      Attachments

        Issue Links

          Activity

            People

              wc-triage WC Triage
              bogl Bob Glossman (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: