[Bug 1054274] Re: stap fails with "error: ‘cpu_possible_map’ undeclared" in function ‘_stp_stat_get’
Ubuntu Foundation's Bug Bot
1054274 at bugs.launchpad.net
Fri Sep 21 20:18:31 UTC 2012
The attachment "systemtap_lp1054274_fix.debdiff" of this bug report has
been identified as being a patch in the form of a debdiff. The ubuntu-
sponsors team has been subscribed to the bug report so that they can
review and hopefully sponsor the debdiff. In the event that this is in
fact not a patch you can resolve this situation by removing the tag
'patch' from the bug report and editing the attachment so that it is not
flagged as a patch. Additionally, if you are member of the ubuntu-
sponsors team please also unsubscribe the team from this bug report.
[This is an automated message performed by a Launchpad user owned by
Brian Murray. Please contact him regarding any issues with the action
taken in this bug report.]
** Tags added: patch
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1054274
Title:
stap fails with "error: ‘cpu_possible_map’ undeclared" in function
‘_stp_stat_get’
Status in “systemtap” package in Ubuntu:
In Progress
Bug description:
[Test Case]
Install systemtap
Install linux-image-`uname -r`-dbgsym.
Download example stp: http://sourceware.org/systemtap/examples/general/helloworld.stp
Execute 'sudo stap hellowold.stp'
[What Is Expected]
'hello world' should be printed.
[What Happens]
In file included from /tmp/stapZsREjM/stap_94d698e878ba939284aed4cd44a7dc2a_738_src.c:21:0:
/usr/share/systemtap/runtime/stat.c: In function ‘_stp_stat_get’:
/usr/share/systemtap/runtime/stat.c:214:2: error: ‘cpu_possible_map’ undeclared (first use in this function)
/usr/share/systemtap/runtime/stat.c:214:2: note: each undeclared identifier is reported only once for each function it appears in
/usr/share/systemtap/runtime/stat.c: In function ‘_stp_stat_clear’:
/usr/share/systemtap/runtime/stat.c:249:2: error: ‘cpu_possible_map’ undeclared (first use in this function)
make[1]: *** [/tmp/stapZsREjM/stap_94d698e878ba939284aed4cd44a7dc2a_738_src.o] Error 1
make: *** [_module_/tmp/stapZsREjM] Error 2
WARNING: make exited with status: 2
Pass 4: compilation failed. Try again with another '--vp 0001' option.
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: systemtap 1.7-1
ProcVersionSignature: Ubuntu 3.5.0-15.22-generic 3.5.4
Uname: Linux 3.5.0-15-generic x86_64
ApportVersion: 2.5.2-0ubuntu4
Architecture: amd64
Date: Fri Sep 21 13:35:43 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120807.2)
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: systemtap
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemtap/+bug/1054274/+subscriptions
More information about the Ubuntu-sponsors
mailing list