[Bug 1545330] Re: [wily][regression] systemtap script compilation broken by new kernels
Frank Ch. Eigler
fche at redhat.com
Tue Apr 9 14:04:48 UTC 2019
By the way, a simple diagnostic for whether any particular version of
systemtap has been ported to a kernel is to run
% stap -V
Systemtap translator/driver (version 4.1/0.174, rpm 4.1-0.20190327git2ede4cecb20c.fc28)
Copyright (C) 2005-2019 Red Hat, Inc. and others
This is free software; see the source for copying conditions.
tested kernel versions: 2.6.18 ... 5.0-rc3
enabled features: AVAHI BOOST_STRING_REF DYNINST BPF JAVA PYTHON2 PYTHON3 LIBRPM LIBSQLITE3 LIBVIRT LIBXML2 NLS NSS READLINE
Note the "tested kernel versions" line. If your kernel is newer than
that, you'll need to switch to a fresher upstream systemtap version.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemtap 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:
Fix Released
Status in linux source package in Wily:
Fix Released
Status in systemtap source package in Wily:
Won't Fix
Status in linux source package in Xenial:
Fix Released
Status in systemtap source package in Xenial:
Fix Released
Status in systemtap package in Fedora:
Fix Released
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
More information about the foundations-bugs
mailing list