[Bug 1054274] Re: stap fails with "error: ‘cpu_possible_map’ undeclared" in function ‘_stp_stat_get’
Chris J Arges
1054274 at bugs.launchpad.net
Fri Sep 21 20:43:27 UTC 2012
Also see this in dmesg:
stap_3704 can't resolve register_uprobe!
Figured it out, we needed another patch.
Attaching the debdiff.
I have tested and this fixes the issue!
** Patch added: "systemtap_lp1054274_quantal_fix2.debdiff"
https://bugs.launchpad.net/ubuntu/+source/systemtap/+bug/1054274/+attachment/3329709/+files/systemtap_lp1054274_quantal_fix2.debdiff
--
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
Status in “systemtap” source package in Quantal:
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