[Pkg-zfsonlinux-devel] Bug#849331: fails to build with linux-rt kernel

YD wavexx at thregr.org
Sun Dec 25 17:13:53 UTC 2016


Package: spl-dkms
Version: 0.6.5.8-2
Severity: normal

Build fails during compilation of spl-rwlock:

  CC [M]  /var/lib/dkms/spl/0.6.5.8/build/module/splat/splat-thread.o
In file included from /usr/src/linux-headers-4.8.0-2-common-rt/include/linux/spinlock.h:290:0,
                 from /usr/src/linux-headers-4.8.0-2-common-rt/include/linux/seqlock.h:35,
                 from /usr/src/linux-headers-4.8.0-2-common-rt/include/linux/time.h:5,
                 from /usr/src/linux-headers-4.8.0-2-common-rt/include/linux/stat.h:18,
                 from /usr/src/linux-headers-4.8.0-2-common-rt/include/linux/module.h:10,
                 from /var/lib/dkms/spl/0.6.5.8/build/include/sys/sysmacros.h:28,
                 from /var/lib/dkms/spl/0.6.5.8/build/include/sys/types.h:29,
                 from /var/lib/dkms/spl/0.6.5.8/build/include/sys/rwlock.h:28,
                 from /var/lib/dkms/spl/0.6.5.8/build/module/spl/spl-rwlock.c:27:
/var/lib/dkms/spl/0.6.5.8/build/include/sys/rwlock.h: In function ‘spl_rw_set_owner’:
/var/lib/dkms/spl/0.6.5.8/build/include/sys/rwlock.h:55:41: error: ‘struct rw_semaphore’ has no     
member named ‘wait_lock’
         spl_rwsem_lock_irqsave(&SEM(rwp)->wait_lock, flags);
                                         ^
/usr/src/linux-headers-4.8.0-2-common-rt/include/linux/spinlock_rt.h:45:40: note: in definition of  
macro ‘spin_lock’                       
 #define spin_lock(lock)   rt_spin_lock(lock)
                                        ^     
/var/lib/dkms/spl/0.6.5.8/build/include/linux/rwsem_compat.h:55:46: note: in expansion of macro     
‘spin_lock_irqsave’
 #define spl_rwsem_lock_irqsave(lk, fl)       spin_lock_irqsave(lk, fl)
                                              ^
/var/lib/dkms/spl/0.6.5.8/build/include/sys/rwlock.h:55:9: note: in expansion of macro              
‘spl_rwsem_lock_irqsave’
         spl_rwsem_lock_irqsave(&SEM(rwp)->wait_lock, flags);
         ^
....

and so on.


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (800, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-rc8-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages spl-dkms depends on:
ii  dkms                  2.3-1
ii  file                  1:5.29-2
ii  libc6-dev [libc-dev]  2.24-8
ii  lsb-release           9.20161125

Versions of packages spl-dkms recommends:
pn  spl  <none>

spl-dkms suggests no packages.



More information about the Pkg-zfsonlinux-devel mailing list