← Back to team overview

kernel-packages team mailing list archive

[Bug 1545330] Re: [wily][regression] systemtap script compilation broken by new kernels

 

** Tags removed: verification-needed-wily
** Tags added: verification-done-wily

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1545330

Title:
  [wily][regression] systemtap script compilation broken by new kernels

Status in linux package in Ubuntu:
  Fix Released
Status in systemtap package in Ubuntu:
  Confirmed
Status in linux source package in Wily:
  Fix Committed
Status in systemtap source package in Wily:
  New
Status in linux source package in Xenial:
  Fix Released
Status in systemtap source package in Xenial:
  Confirmed
Status in systemtap package in Fedora:
  Unknown

Bug description:
  The following errors appear when compiling any systemtap script:

  In file included from include/linux/mutex.h:15:0,
                   from /tmp/stapbdpxn3/stap_a0ec17f995e8f89d672d8c2eb7fe7c24_1693_src.c:25:
  include/linux/spinlock_types.h:55:14: error: ‘__ARCH_SPIN_LOCK_UNLOCKED’ undeclared here (not in a function)
    .raw_lock = __ARCH_SPIN_LOCK_UNLOCKED, \
                ^
  include/linux/spinlock_types.h:79:15: note: in expansion of macro ‘__RAW_SPIN_LOCK_INITIALIZER’
    { { .rlock = __RAW_SPIN_LOCK_INITIALIZER(lockname) } }
                 ^
  include/linux/spinlock_types.h:82:16: note: in expansion of macro ‘__SPIN_LOCK_INITIALIZER’
    (spinlock_t ) __SPIN_LOCK_INITIALIZER(lockname)
                  ^
  include/linux/mutex.h:111:18: note: in expansion of macro ‘__SPIN_LOCK_UNLOCKED’
     , .wait_lock = __SPIN_LOCK_UNLOCKED(lockname.wait_lock) \
                    ^
  include/linux/mutex.h:117:27: note: in expansion of macro ‘__MUTEX_INITIALIZER’
    struct mutex mutexname = __MUTEX_INITIALIZER(mutexname)

  Upstream fix:
  https://www.sourceware.org/git/gitweb.cgi?p=systemtap.git;a=commitdiff;h=320e1ecb16427b5769f0f5a097d80823ee1fb765

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1545330/+subscriptions