Fix for Bug 5403
cover Fix for Bug 5403
This fixes a problem seen when accessing function params in systemtap on certain platforms, due to flaky debuginfo.
Tested on the following machines with various systemtap scripts:
qemuppc
qemuarm
qemux86
qemux86-64
crownbay
nuc
The following changes since commit 005af45191ded6185c618c708181b31281e43092:
bitbake: fetch2: avoid printing "no checksum" error message twice (2013-12-22 14:29:13 +0000)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib.git tzanussi/systemtap-bug-5403-master
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=tzanussi/systemtap-bug-5403-master
Tom Zanussi (1):
systemtap: Add --enable-prologues to configuration
meta/recipes-kernel/systemtap/systemtap_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
1.8.3.1
PATCH 1/1 systemtap: Add --enable-prologues to configuration
In some cases, the debuginfo generated by the compiler is insufficient for systemtap to figure out function param locations; using -P allows it to use prologue searching to find the correct locations.
Enable prologue searching in the configuration so the user doesn't have to specify it manually.
Fixes [YOCTO #5403].
--- meta/recipes-kernel/systemtap/systemtap_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-kernel/systemtap/systemtap_git.bb +1 -1
@@ -12,7 +12,7 @@ RDEPENDS_${PN}_class-nativesdk += "python-native" EXTRA_OECONF += "--with-libelf=${STAGING_DIR_TARGET} --without-rpm \ --without-nss --without-avahi --without-dyninst \ - --disable-server --disable-grapher \ + --disable-server --disable-grapher --enable-prologues \ ac_cv_prog_have_javac=no \ ac_cv_prog_have_jar=no "
Signature · 1 line
1.8.3.1